msg : add camera feedback message

This commit is contained in:
Mohammed Kabir 2017-05-01 13:18:28 +02:00 committed by Lorenz Meier
parent 29795fa95f
commit de19af456d
2 changed files with 9 additions and 0 deletions

View File

@ -41,6 +41,7 @@ set(msg_file_names
att_pos_mocap.msg
battery_status.msg
camera_trigger.msg
camera_capture.msg
collision_report.msg
commander_state.msg
control_state.msg

8
msg/camera_capture.msg Normal file
View File

@ -0,0 +1,8 @@
uint64 timestamp_utc # Capture time in UTC / GPS time
uint32 seq # Image sequence number
float64 lat # Latitude in degrees (WGS84)
float64 lon # Longitude in degrees (WGS84)
float32 alt # Altitude (AMSL)
float32 ground_distance # Altitude above ground (meters)
float32[4] q # Attitude of the camera, zero rotation is facing towards front of vehicle
int8 result # 1 for success, 0 for failure, -1 if camera does not provide feedback