|
#include <armarx/navigation/client/Navigator.h>
Classes | |
struct | InjectedServices |
Public Member Functions | |
void | moveTo (const core::Pose &pose, core::NavigationFrame frame) |
void | moveTo (const PathBuilder &builder, core::NavigationFrame frame) |
void | moveTo (const std::vector< core::Pose > &waypoints, core::NavigationFrame frame) |
void | moveToLocation (const std::string &location) |
void | moveTowards (const core::Direction &direction, core::NavigationFrame frame) |
Navigator (const InjectedServices &services) | |
void | onGoalReached (const std::function< void(const core::GoalReachedEvent &)> &callback) |
void | onGoalReached (const std::function< void(void)> &callback) |
void | onWaypointReached (const std::function< void(int)> &callback) |
void | pause () |
void | resume () |
void | stop () |
void | update (const std::vector< core::Pose > &waypoints, core::NavigationFrame frame) |
StopEvent | waitForStop (std::int64_t timeoutMs=-1) |
Definition at line 115 of file Navigator.h.
Navigator | ( | const InjectedServices & | services | ) |
Definition at line 18 of file Navigator.cpp.
void moveTo | ( | const core::Pose & | pose, |
core::NavigationFrame | frame | ||
) |
Definition at line 36 of file Navigator.cpp.
void moveTo | ( | const PathBuilder & | builder, |
core::NavigationFrame | frame | ||
) |
void moveTo | ( | const std::vector< core::Pose > & | waypoints, |
core::NavigationFrame | frame | ||
) |
void moveToLocation | ( | const std::string & | location | ) |
void moveTowards | ( | const core::Direction & | direction, |
core::NavigationFrame | frame | ||
) |
void onGoalReached | ( | const std::function< void(const core::GoalReachedEvent &)> & | callback | ) |
Definition at line 150 of file Navigator.cpp.
void onGoalReached | ( | const std::function< void(void)> & | callback | ) |
Definition at line 142 of file Navigator.cpp.
void onWaypointReached | ( | const std::function< void(int)> & | callback | ) |
Definition at line 156 of file Navigator.cpp.
void pause | ( | ) |
void resume | ( | ) |
void stop | ( | ) |
Definition at line 133 of file Navigator.cpp.
void update | ( | const std::vector< core::Pose > & | waypoints, |
core::NavigationFrame | frame | ||
) |
StopEvent waitForStop | ( | std::int64_t | timeoutMs = -1 | ) |
std::condition_variable cv |
Definition at line 160 of file Navigator.h.
std::optional<StopEvent> event |
Definition at line 161 of file Navigator.h.
std::mutex m |
Definition at line 159 of file Navigator.h.