mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 03:03:33 +08:00
gimbal: implement gimbal_device_id
It turns out that I had omitted implementing the gimbal_device_id which is the component ID of the gimbal device that the gimbal manager (in this case PX4) is responsible for. Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
@@ -71,7 +71,7 @@ private:
|
||||
|
||||
msg.time_boot_ms = gimbal_manager_information.timestamp / 1000;
|
||||
msg.cap_flags = gimbal_manager_information.cap_flags;
|
||||
msg.gimbal_device_id = 0;
|
||||
msg.gimbal_device_id = gimbal_manager_information.gimbal_device_id;
|
||||
msg.roll_min = gimbal_manager_information.roll_min;
|
||||
msg.roll_max = gimbal_manager_information.roll_max;
|
||||
msg.pitch_min = gimbal_manager_information.pitch_min;
|
||||
|
||||
Reference in New Issue
Block a user