29 std::lock_guard <std::mutex> lg(
m_mutex);
35 std::lock_guard <std::mutex> lg(
m_mutex);
41 std::lock_guard <std::mutex> lg(
m_mutex);
47 std::lock_guard <std::mutex> lg(
m_mutex);
51 yCError(NAVIGATION2D_NWC_YARP,
"Unable to get_absolute_location_of_current_target_RPC");
60 std::lock_guard <std::mutex> lg(
m_mutex);
64 yCError(NAVIGATION2D_NWC_YARP,
"Unable to get_relative_location_of_current_target_RPC");
virtual bool goto_target_by_relative_location2_RPC(const double x, const double y, const double theta)
virtual return_get_abs_loc_of_curr_target get_absolute_location_of_current_target_RPC()
virtual bool goto_target_by_absolute_location_RPC(const yarp::dev::Nav2D::Map2DLocation &loc)
virtual return_get_rel_loc_of_curr_target get_relative_location_of_current_target_RPC()
virtual bool goto_target_by_relative_location1_RPC(const double x, const double y)
bool gotoTargetByRelativeLocation(double x, double y, double theta) override
Ask the robot to reach a position defined in the robot reference frame.
INavigation2DMsgs m_nav_RPC
bool getAbsoluteLocationOfCurrentTarget(yarp::dev::Nav2D::Map2DLocation &loc) override
Gets the last navigation target in the world reference frame.
bool gotoTargetByAbsoluteLocation(yarp::dev::Nav2D::Map2DLocation loc) override
Ask the robot to reach a position defined in the world reference frame.
bool getRelativeLocationOfCurrentTarget(double &x, double &y, double &theta) override
Gets the last navigation target in the robot reference frame.
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.