mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-28 10:43:58 -04:00
SITL: Added comment to clarify IMU acceleration value
This commit is contained in:
parent
0e7e8ba5bf
commit
2257009eba
@ -67,6 +67,12 @@ int main() {
|
||||
ap.setWindvane(1 , 1);
|
||||
ap.setRangefinder(rangefinder_example, 6);
|
||||
|
||||
/*
|
||||
When the drone is on a surface the accelerometer of the imu senses the counteracting
|
||||
force of the flat surface pushing up against gravity, thus an upward acceleration
|
||||
of 9.81 m/s^2. In the FRD body reference frame (z-axis pointing down) this is an
|
||||
acceleration of -9.81 m/s^2.
|
||||
*/
|
||||
// send with the required
|
||||
ap.SendState(timestamp,
|
||||
0, 0, 0, // gyro
|
||||
|
Loading…
Reference in New Issue
Block a user