mavros icon indicating copy to clipboard operation
mavros copied to clipboard

MAVROS does not support gimbal v2 protocol

Open boris-gu opened this issue 2 years ago • 2 comments

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

  • [X] ArduPilot
  • [ ] PX4

Version: 1.13.1

boris-gu avatar Dec 24 '22 20:12 boris-gu

@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 avatar Jan 31 '23 19:01 Mark-Beaty

@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

Mark-Beaty avatar Feb 02 '23 22:02 Mark-Beaty