From a45ed5f776274cf0a60f0d478f9b675b693dc480 Mon Sep 17 00:00:00 2001 From: ChristophTobler Date: Tue, 19 Sep 2017 13:19:16 +0200 Subject: [PATCH] add constants for distance orientation convention --- msg/distance_sensor.msg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/msg/distance_sensor.msg b/msg/distance_sensor.msg index 9919403ccb..bf9db74e7f 100644 --- a/msg/distance_sensor.msg +++ b/msg/distance_sensor.msg @@ -15,3 +15,9 @@ uint8 MAV_DISTANCE_SENSOR_RADAR = 3 uint8 id # Onboard ID of the sensor uint8 orientation # Direction the sensor faces from MAV_SENSOR_ORIENTATION enum +uint8 ROTATION_DOWNWARD_FACING = 25 # MAV_SENSOR_ROTATION_PITCH_270 +uint8 ROTATION_UPWARD_FACING = 24 # MAV_SENSOR_ROTATION_PITCH_90 +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