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:
Alessandro Simovic
2019-02-21 14:44:44 +01:00
committed by Daniel Agar
parent 168f1a5d51
commit cb9d483cb8

View File

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