mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
847 stars 983 forks source link

[camera plugin] Fix image_index and capture_result not properly filled #1924

Closed ghost closed 7 months ago

ghost commented 7 months ago

ROS2 replication of #1923

Problem Solved

Both image_index and capture_result fields of the mavros_msgs::CameraImageCaptured were left unassigned.

Proposed Solution

Assign the proper values to them according to the CAMERA_IMAGE_CAPTURED message