Replies

  • Moderator

    I found this in the compass test code.

     

    Maybe it will produce a mag heading.

     

    // display all to user
        Serial.print("Heading:");
        Serial.print(ToDeg(compass.heading));

     

     

  • Moderator

    OK I see.

     

    case 'O': // Rate Control PID

     

    So Rate Control PID = Acro PID, I'll be able to add PID edits on the Mac GCS now.

     

    Do you guys know which value I'm supposed to use for magnetic compass heading?  I think "S" dumps 6 values, but none look like a compassing heading.

  • for arducopter NG

    read Acro PIDs:

    print 'P'

    output will be: <P_roll>,<I_roll>,<D_roll>,<P_pitch>,<I_pitch>,<D_pitch>,<P_yaw>,<I_yaw>,<D_yaw>,<transmitter_factor>

     

    writing Acro PIDs:

    O<P_roll>;<I_roll>;<D_roll>;<P_pitch>;<I_pitch>;<D_pitch>;<P_yaw>;<I_yaw>;<D_yaw>;<transmitter_factor>

     

    then print 'W' to save everything to EEPROM

     

    note that it prints out ',' but you need to send ';'

  • Developer

    On which software NG based or our latest ACM?

     

    On ArducopterNG it's 'O' for read, 'P' for write if i happen to remember right, you can check that from GCS.pde too.

     

     

This reply was deleted.

Activity

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