AC_AttitudeControl: Correct comment.

This commit is contained in:
Robert Lefebvre 2015-01-30 15:42:42 -05:00 committed by Randy Mackay
parent baa3e802ee
commit 14d76d158a
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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