Skip to content

Commit

Permalink
distance_sensor: add horiontal and vertical fov, add quaternion for s…
Browse files Browse the repository at this point in the history
…ensor orientation
  • Loading branch information
mrivi authored and bkueng committed Jul 15, 2019
1 parent 53c5b6d commit d375402
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions msg/distance_sensor.msg
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ uint8 ROTATION_BACKWARD_FACING = 12 # MAV_SENSOR_ROTATION_PITCH_180
uint8 ROTATION_FORWARD_FACING = 0 # MAV_SENSOR_ROTATION_NONE
uint8 ROTATION_LEFT_FACING = 6 # MAV_SENSOR_ROTATION_YAW_270
uint8 ROTATION_RIGHT_FACING = 2 # MAV_SENSOR_ROTATION_YAW_90
uint8 ROTATION_CUSTOM =100 # MAV_SENSOR_ROTATION_CUSTOM

float32 h_fov # Sensor horizontal field of view (rad)
float32 v_fov # Sensor vertical field of view (rad)
float32[4] q # Quaterion sensor orientation to specify the orientation ROTATION_CUSTOM

0 comments on commit d375402

Please sign in to comment.