From 2076da3a725a5357a1add38ac359460c59a37910 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 23 Dec 2016 15:00:55 +0900 Subject: [PATCH] AP_Proximity: minor comment fix No functional change --- libraries/AP_Proximity/AP_Proximity.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_Proximity/AP_Proximity.h b/libraries/AP_Proximity/AP_Proximity.h index 88829b8d0d..16fd1fe051 100644 --- a/libraries/AP_Proximity/AP_Proximity.h +++ b/libraries/AP_Proximity/AP_Proximity.h @@ -47,10 +47,10 @@ public: Proximity_Good }; - // detect and initialise any available rangefinders + // detect and initialise any available proximity sensors void init(void); - // update state of all rangefinders. Should be called at high rate from main loop + // update state of all proximity sensors. Should be called at high rate from main loop void update(void); // return sensor orientation and yaw correction @@ -61,7 +61,7 @@ public: Proximity_Status get_status(uint8_t instance) const; Proximity_Status get_status() const; - // Return the number of range finder instances + // Return the number of proximity sensors uint8_t num_sensors(void) const { return num_instances; } @@ -84,7 +84,7 @@ public: uint8_t get_object_count() const; bool get_object_angle_and_distance(uint8_t object_number, float& angle_deg, float &distance) const; - // stucture holding distances in 8 directions + // structure holding distances in 8 directions struct Proximity_Distance_Array { uint8_t orientation[8]; // orientation (i.e. rough direction) of the distance (see MAV_SENSOR_ORIENTATION) float distance[8]; // distance in meters