AP_Proximity: Fix comments

This commit is contained in:
rishabsingh3003 2022-08-24 03:14:34 +05:30 committed by Andrew Tridgell
parent 6e603418eb
commit 6926466d88
2 changed files with 6 additions and 6 deletions

View File

@ -111,7 +111,7 @@ public:
// returns true on success, false if no valid readings // returns true on success, false if no valid readings
bool get_closest_object(float& angle_deg, float &distance) const; bool get_closest_object(float& angle_deg, float &distance) const;
// get number of objects, angle and distance - used for non-GPS avoidance // get number of objects
uint8_t get_object_count() const; uint8_t get_object_count() const;
bool get_object_angle_and_distance(uint8_t object_number, float& angle_deg, float &distance) const; bool get_object_angle_and_distance(uint8_t object_number, float& angle_deg, float &distance) const;

View File

@ -117,7 +117,7 @@ public:
// returns true on success, false if no valid readings // returns true on success, false if no valid readings
bool get_closest_object(float& angle_deg, float &distance) const; bool get_closest_object(float& angle_deg, float &distance) const;
// get number of objects, angle and distance - used for non-GPS avoidance // get number of objects horizontally
uint8_t get_horizontal_object_count() const; uint8_t get_horizontal_object_count() const;
bool get_horizontal_object_angle_and_distance(uint8_t object_number, float& angle_deg, float &distance) const; bool get_horizontal_object_angle_and_distance(uint8_t object_number, float& angle_deg, float &distance) const;