Browse Source

SITL: fill in SIMSTATE.lat and SIMSTATE.lng

master
Andrew Tridgell 13 years ago
parent
commit
3419d8e006
  1. 4
      libraries/SITL/SITL.cpp

4
libraries/SITL/SITL.cpp

@ -53,7 +53,9 @@ void SITL::simstate_send(mavlink_channel_t chan) @@ -53,7 +53,9 @@ void SITL::simstate_send(mavlink_channel_t chan)
state.xAccel,
state.yAccel,
state.zAccel,
p, q, r);
p, q, r,
state.latitude,
state.longitude);
}
// convert a set of roll rates from earth frame to body frame

Loading…
Cancel
Save