mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
889 stars 991 forks source link

MAVROS does not support gimbal v2 protocol #1814

Open boris-gu opened 1 year ago

boris-gu commented 1 year ago

Issue details

I need to launch a Typhoon H480 quadcopter in Gazebo and get the position of its gimbal through MAVROS.
But I couldn't do it, no data is published in the topics /mavros/mount_control/orientation and /mavros/mount_control/status.
A little more detail: https://discuss.px4.io/t/getting-gimbal-position-typhoon-h480/30162

MAVROS version and platform

Mavros: dpkg -s ros-noetic-mavros | grep Version command gives me the following result: 1.14.0-1focal.20221209.205530 ROS: Noetic Ubuntu: 20.04.5

Autopilot type and version

Version: 1.13.1

Mark-Beaty commented 1 year ago

@boris-gu I actually have a plugin for this feature almost completed and should have a PR/fork set up publicly hopefully this week, I will update here when that is available

Mark-Beaty commented 1 year ago

@boris-gu I've created a PR which adds a plugin to enable support for gimbal protocol v2, though I don't think it will be compatible with your ROS version immediately. I've tested this with ROS2 Foxy and Humble so far