AP_Proximity: minor comment fix

No functional change
This commit is contained in:
Randy Mackay 2016-12-23 15:00:55 +09:00
parent d56bad781f
commit 2076da3a72
1 changed files with 4 additions and 4 deletions

View File

@ -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