Skip to content

gimbal_control

  • File: mavros_extras/src/plugins/gimbal_control.cpp
  • Class: mavros::extra_plugins::GimbalControlPlugin
  • Namespace: gimbal_control
  • Brief: Gimbal Control Plugin

Adds support for Mavlink Gimbal Protocol v2. Also publishes gimbal pose to TF when parameter tf_send==true

Publishers

Subscribers

Services

Clients

Parameters

  • frame_id [default: "base_link_frd"]
  • tf.send [type: bool, default: false] - Important tf subsection Report the transform from base_link to gimbal here.
  • tf.frame_id [default: "base_link_frd"]
  • GIMBAL_DEVICE_ATTITUDE_STATUS [handler: handle_gimbal_attitude_status, dialect: common, msg_id: 285, id: mavlink::common::msg::GIMBAL_DEVICE_ATTITUDE_STATUS::MSG_ID]
  • GIMBAL_MANAGER_STATUS [handler: handle_manager_status, dialect: common, msg_id: 281, id: mavlink::common::msg::GIMBAL_MANAGER_STATUS::MSG_ID]
  • GIMBAL_DEVICE_INFORMATION [handler: handle_device_information, dialect: common, msg_id: 283, id: mavlink::common::msg::GIMBAL_DEVICE_INFORMATION::MSG_ID]
  • GIMBAL_MANAGER_INFORMATION [handler: handle_manager_information, dialect: common, msg_id: 280, id: mavlink::common::msg::GIMBAL_MANAGER_INFORMATION::MSG_ID]