mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
navigator: removed "using" C++ directive
There is only one occurence of the namespace specified, so it's more readable to simply specify the full namespace in this case.
This commit is contained in:
committed by
Daniel Agar
parent
168f1a5d51
commit
cb9d483cb8
@@ -59,8 +59,6 @@
|
||||
#include <uORB/topics/mission.h>
|
||||
#include <uORB/topics/mission_result.h>
|
||||
|
||||
using matrix::wrap_pi;
|
||||
|
||||
Mission::Mission(Navigator *navigator) :
|
||||
MissionBlock(navigator),
|
||||
ModuleParams(navigator)
|
||||
@@ -1226,7 +1224,7 @@ Mission::heading_sp_update()
|
||||
point_from_latlon[1], point_to_latlon[0], point_to_latlon[1]);
|
||||
|
||||
if (d_current > _navigator->get_acceptance_radius()) {
|
||||
float yaw = wrap_pi(
|
||||
float yaw = matrix::wrap_pi(
|
||||
get_bearing_to_next_waypoint(point_from_latlon[0],
|
||||
point_from_latlon[1], point_to_latlon[0],
|
||||
point_to_latlon[1]) + yaw_offset);
|
||||
|
||||
Reference in New Issue
Block a user