Developer

New Test Suite

The old Ardupilot test suite was great, but hard to maintain. I just did a new one, but this time, I've built it into Ardupilot itself. 

In your config file for 2.7 you will see DEBUG_SUBSYSTEM at the top.

Here are the values:

0 = no debug
1 = Debug the Radio input
2 = Debug the Servo output
3 = Debug the Sensor input
4 = Debug the GPS input
5 = Debug the GPS input - RAW HEX OUTPUT
6 = Debug the IMU output
7 = Debug the Control Switch


Each one will output only serial data for each subsystem, making it easy for you to isolate problems and verify things are working as they should.

Jason

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Heh all, I've been using the new test suite to great effect, but I'm seeing a particularily queer result. I turned on the servo demo, and now the APM goes into the servo demo any time it's connected to USB.

    Anyone else seeing this behavior ?
  • Great Idea!
    Will really help with troubleshooting!
  • 3D Robotics
    Sweet! I'll try to test and update the manual this weekend. Can you post some normal result data sets?
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…