Browse Source

AP_Proximity: Fix comments

master
rishabsingh3003 2 years ago committed by Andrew Tridgell
parent
commit
6926466d88
  1. 2
      libraries/AP_Proximity/AP_Proximity.h
  2. 2
      libraries/AP_Proximity/AP_Proximity_Boundary_3D.h

2
libraries/AP_Proximity/AP_Proximity.h

@ -111,7 +111,7 @@ public: @@ -111,7 +111,7 @@ public:
// returns true on success, false if no valid readings
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;
bool get_object_angle_and_distance(uint8_t object_number, float& angle_deg, float &distance) const;

2
libraries/AP_Proximity/AP_Proximity_Boundary_3D.h

@ -117,7 +117,7 @@ public: @@ -117,7 +117,7 @@ public:
// returns true on success, false if no valid readings
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;
bool get_horizontal_object_angle_and_distance(uint8_t object_number, float& angle_deg, float &distance) const;

Loading…
Cancel
Save