mirror of https://github.com/ArduPilot/ardupilot
AC_AttitudeControl: Correct comment.
This commit is contained in:
parent
baa3e802ee
commit
14d76d158a
|
@ -166,7 +166,7 @@ void AC_PosControl::set_target_to_stopping_point_z()
|
|||
get_stopping_point_z(_pos_target);
|
||||
}
|
||||
|
||||
/// get_stopping_point_z - sets stopping_point.z to a reasonable stopping altitude in cm above home
|
||||
/// get_stopping_point_z - calculates stopping point based on current position, velocity, vehicle acceleration
|
||||
void AC_PosControl::get_stopping_point_z(Vector3f& stopping_point) const
|
||||
{
|
||||
const float curr_pos_z = _inav.get_altitude();
|
||||
|
|
|
@ -128,7 +128,7 @@ public:
|
|||
/// set_target_to_stopping_point_z - sets altitude target to reasonable stopping altitude in cm above home
|
||||
void set_target_to_stopping_point_z();
|
||||
|
||||
/// get_stopping_point_z - sets stopping_point.z to a reasonable stopping altitude in cm above home
|
||||
/// get_stopping_point_z - calculates stopping point based on current position, velocity, vehicle acceleration
|
||||
void get_stopping_point_z(Vector3f& stopping_point) const;
|
||||
|
||||
/// init_takeoff - initialises target altitude if we are taking off
|
||||
|
|
Loading…
Reference in New Issue