Help Needed: GPS and Accelerometer Testing in APM2.0

Hi, 

I just bought my APM2.0 and I am new here. I managed to verify my board is working by using Mission Planner to check the sensors (gyro, accelerometer). But somehow, I plan not to use Mission Planner to check or debug the output from the APM2.0. 

Is there any source code that others has developed that I could modify to read the sensor data from APM2.0 and display the output (maybe just showing at serial terminal)? 

I am stuck with this. Your help is much appreciated. 

Thanks.

Tags: APM, APMRover, GPS, Gyro, Mission, Planner

Views: 140

Reply to This

Replies to This Discussion

Connect over serial. 115200k for usb, 56k when using 3DR or Xbee radios.

There is a completely functional command line interface. It includes a "test" mode, where you can review the output of your various onboard sensors. 

Of course most of the sensor data is also available in the telemetry stream, if you have any MAVLink capable program.

Hi Mike, 

Let me clarify with you, if I connect using XBEE from APM2.0, then I need to set the baut rate to 56k. If I already compiled the ArduPlane firmware, then I developed my own software (for example; visual basic that communicates using serial port to another XBEE in my computer) will I be able to capture all the sensor reading from APM2.0 to my software?

Yes. If you build this application, grab some libraries for MAVLink. Using the serial interface is only helpful for manual interaction, not as an API. If you want to access all the sensor data at the same time (rather than just one sensor at a time, in a "test" mode) you will want to use MAVLink. 

http://qgroundcontrol.org/mavlink/start

Hi Mike,

Oh, seems like MAVLink is useful for IMU and sensor reading when running the autonomous vehicle on the go. So I need to include my software with MAVLink library too. 

Thank a lot for your explanation and direct me to the useful link! Really appreciate that. 

Regards, 

Aizzat

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service