mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Proximity_Boundary_3D:correction of miswriting
This commit is contained in:
parent
d7ee82558a
commit
304a40d3b7
@ -178,7 +178,7 @@ public:
|
|||||||
// add a distance to the temp boundary if it is shorter than any other provided distance since the last time the boundary was reset
|
// add a distance to the temp boundary if it is shorter than any other provided distance since the last time the boundary was reset
|
||||||
// pitch and yaw are in degrees, distance is in meters
|
// pitch and yaw are in degrees, distance is in meters
|
||||||
void add_distance(const AP_Proximity_Boundary_3D::Face &face, float pitch, float yaw, float distance);
|
void add_distance(const AP_Proximity_Boundary_3D::Face &face, float pitch, float yaw, float distance);
|
||||||
void add_distance(const AP_Proximity_Boundary_3D::Face &face, float yaw, float distance) { add_distance(face, 0.0f, PID_TUNING_YAW, distance); }
|
void add_distance(const AP_Proximity_Boundary_3D::Face &face, float yaw, float distance) { add_distance(face, 0.0f, yaw, distance); }
|
||||||
|
|
||||||
// fill the original 3D boundary with the contents of this temporary boundary
|
// fill the original 3D boundary with the contents of this temporary boundary
|
||||||
void update_3D_boundary(AP_Proximity_Boundary_3D &boundary);
|
void update_3D_boundary(AP_Proximity_Boundary_3D &boundary);
|
||||||
|
Loading…
Reference in New Issue
Block a user