From 29e7d5de9d32a52912113c19beffbf91ffc311e1 Mon Sep 17 00:00:00 2001 From: TSC21 Date: Fri, 22 May 2015 19:53:52 +0100 Subject: [PATCH] distance_sensor: update msg template info --- msg/distance_sensor.msg | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/msg/distance_sensor.msg b/msg/distance_sensor.msg index ef11c586fc..11fc298edd 100644 --- a/msg/distance_sensor.msg +++ b/msg/distance_sensor.msg @@ -1,17 +1,17 @@ # DISTANCE_SENSOR message data -uint32 time_boot_ms +uint32 time_boot_ms # Time since system boot (us) -uint16 min_distance -uint16 max_distance -uint16 current_distance +uint16 min_distance # Minimum distance the sensor can measure (cm) +uint16 max_distance # Maximum distance the sensor can measure (cm) +uint16 current_distance # Current distance reading (cm) -uint8 type +uint8 type # Type from MAV_DISTANCE_SENSOR enum uint8 MAV_DISTANCE_SENSOR_LASER = 0 uint8 MAV_DISTANCE_SENSOR_ULTRASOUND = 1 uint8 MAV_DISTANCE_SENSOR_INFRARED = 2 -uint8 id +uint8 id # Onboard ID of the sensor -uint8 orientation -uint8 covariance \ No newline at end of file +uint8 orientation # Direction the sensor faces from MAV_SENSOR_ORIENTATION enum +uint8 covariance # Measurement covariance (cm), 0 for unknown / invalid readings \ No newline at end of file