We can change the arming check like this. The GPS/SINS/BARO integrated system can provide high dynamic and accuracy navigation for UAV flight.
The battery is damaged because it is over-discharged. The x-S battery has x cells in serial and for each cell, the power must keep larger than 3.7 volts, so the total voltage must keep above 3.7*x volts. The battery we used is 3-S and yesterday the battery even reached 3.6 volts in total. That was really dangerous.
The main problem now is no battery available. Instructions of LiPo batteries.
Install Raspbian and Set IP Address: http://ardusub.com/raspi-setup/#install-raspbian-and-set-ip-address
Connect the Ethernet line.
To copy a file from B to A while logged into B:
scp /path/to/file username@a:/path/to/destination
To copy a file from B to A while logged into A:
scp username@b:/path/to/file /path/to/destination
Run the python code through ssh: