mirror of
https://github.com/okalachev/flix.git
synced 2025-07-27 09:39:33 +00:00
Fix actuator_output mavlink message generation
This commit is contained in:
parent
344835cba8
commit
9ed41e50a1
@ -42,7 +42,7 @@ void sendMavlink() {
|
||||
sendMessage(&msg);
|
||||
|
||||
float actuator[32];
|
||||
memcpy(motors, actuator, 4 * sizeof(float));
|
||||
memcpy(actuator, motors, sizeof(motors));
|
||||
mavlink_msg_actuator_output_status_pack(SYSTEM_ID, MAV_COMP_ID_AUTOPILOT1, &msg, time, 4, actuator);
|
||||
sendMessage(&msg);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user