Go to the documentation of this file.
19 #include <mavros_msgs/CamIMUStamp.h>
22 namespace extra_plugins {
55 void handle_cam_trig(
const mavlink::mavlink_message_t *msg, mavlink::common::msg::CAMERA_TRIGGER &ctrig)
57 auto sync_msg = boost::make_shared<mavros_msgs::CamIMUStamp>();
60 sync_msg->frame_seq_id = ctrig.seq;
std::vector< HandlerInfo > Subscriptions
ros::Publisher cam_imu_pub
void publish(const boost::shared_ptr< M > &message) const
Publisher advertise(AdvertiseOptions &ops)
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
ros::NodeHandle cam_imu_sync_nh
virtual void initialize(UAS &uas)
void handle_cam_trig(const mavlink::mavlink_message_t *msg, mavlink::common::msg::CAMERA_TRIGGER &ctrig)
ros::Time synchronise_stamp(uint32_t time_boot_ms)
void initialize(UAS &uas_) override
HandlerInfo make_handler(const mavlink::msgid_t id, void(_C::*fn)(const mavlink::mavlink_message_t *msg, const mavconn::Framing framing))
Subscriptions get_subscriptions() override
mavros_extras
Author(s): Vladimir Ermakov
, Amilcar Lucas
autogenerated on Tue May 6 2025 02:34:08