mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 17:43:35 +08:00
geo: refactoring on comments and usage
This commit is contained in:
@@ -135,8 +135,8 @@ void FollowTarget::on_active()
|
||||
// get distance to target
|
||||
|
||||
target_ref.initReference(_navigator->get_global_position()->lat, _navigator->get_global_position()->lon);
|
||||
target_ref.project(_current_target_motion.lat, _current_target_motion.lon, _target_distance(0),
|
||||
_target_distance(1));
|
||||
target_ref.project(_current_target_motion.lat, _current_target_motion.lon,
|
||||
_target_distance(0), _target_distance(1));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user