SITL: update for new SIMSTATE message

This commit is contained in:
Andrew Tridgell 2013-08-14 14:27:39 +10:00
parent 3c6f938ae0
commit 97baec8bc7

View File

@ -61,8 +61,8 @@ void SITL::simstate_send(mavlink_channel_t chan)
state.yAccel, state.yAccel,
state.zAccel, state.zAccel,
p, q, r, p, q, r,
state.latitude, state.latitude*1.0e7,
state.longitude); state.longitude*1.0e7);
} }
// convert a set of roll rates from earth frame to body frame // convert a set of roll rates from earth frame to body frame