DCM Output Units

I'm trying to retrieve some IMU data from the ArduPilot Mega with Oilpan and started reading the ArduCopter codes. I found the following lines from one of the codes:

                Serial.printf_P(PSTR("%ld, %ld, %ld\n"),
                                dcm.roll_sensor,
                                dcm.pitch_sensor,
                                dcm.yaw_sensor);

What unit is dcm.roll_sensor in? Is it an angle? Or is it a raw sensor output?

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

Join diydrones

Email me when people reply –

Replies

  • That is raw gyro rate data. The DCM algorythm converts to angles.

This reply was deleted.

Activity