mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Report acceleration
This commit is contained in:
parent
144e0793b1
commit
948d9ee71e
@ -2013,6 +2013,9 @@ protected:
|
||||
msg.vx = pos_sp.vx;
|
||||
msg.vy = pos_sp.vy;
|
||||
msg.vz = pos_sp.vz;
|
||||
msg.afx = pos_sp.acc_x;
|
||||
msg.afy = pos_sp.acc_y;
|
||||
msg.afz = pos_sp.acc_z;
|
||||
|
||||
_mavlink->send_message(MAVLINK_MSG_ID_POSITION_TARGET_LOCAL_NED, &msg);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user