mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 21:23:34 +08:00
removed comments and fixed some euler bugs
This commit is contained in:
@@ -106,10 +106,9 @@ int px4_simple_app_main(int argc, char *argv[])
|
||||
(double)raw.accelerometer_m_s2[1],
|
||||
(double)raw.accelerometer_m_s2[2]);
|
||||
|
||||
/* set att and publish this information for other apps */
|
||||
//att.roll = raw.accelerometer_m_s2[0];
|
||||
//att.pitch = raw.accelerometer_m_s2[1];
|
||||
//att.yaw = raw.accelerometer_m_s2[2];
|
||||
/* set att and publish this information for other apps
|
||||
the following does not have any meaning, it's just an example
|
||||
*/
|
||||
att.q[0] = raw.accelerometer_m_s2[0];
|
||||
att.q[1] = raw.accelerometer_m_s2[1];
|
||||
att.q[2] = raw.accelerometer_m_s2[2];
|
||||
|
||||
Reference in New Issue
Block a user