mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Proximity: Fix comments
This commit is contained in:
parent
6e603418eb
commit
6926466d88
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user