Navigator Class Reference

#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 moveToAlternatives (const std::vector< core::TargetAlternative > &targets, core::NavigationFrame frame)
 
void moveToLocation (const std::string &location, const std::optional< std::string > &providerName)
 
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 setVelocityFactor (float velocityFactor)
 
void stop ()
 
void update (const std::vector< core::Pose > &waypoints, core::NavigationFrame frame)
 
StopEvent waitForStop (std::int64_t timeoutMs=-1)
 

Constructor & Destructor Documentation

◆ Navigator()

Navigator ( const InjectedServices & services)

Member Function Documentation

◆ moveTo() [1/3]

void moveTo ( const core::Pose & pose,
core::NavigationFrame frame )

◆ moveTo() [2/3]

void moveTo ( const PathBuilder & builder,
core::NavigationFrame frame )

◆ moveTo() [3/3]

void moveTo ( const std::vector< core::Pose > & waypoints,
core::NavigationFrame frame )

◆ moveToAlternatives()

void moveToAlternatives ( const std::vector< core::TargetAlternative > & targets,
core::NavigationFrame frame )

◆ moveToLocation()

void moveToLocation ( const std::string & location,
const std::optional< std::string > & providerName )

◆ moveTowards()

void moveTowards ( const core::Direction & direction,
core::NavigationFrame frame )

◆ onGoalReached() [1/2]

void onGoalReached ( const std::function< void(const core::GoalReachedEvent &)> & callback)

◆ onGoalReached() [2/2]

void onGoalReached ( const std::function< void(void)> & callback)

◆ onWaypointReached()

void onWaypointReached ( const std::function< void(int)> & callback)

◆ pause()

void pause ( )

◆ resume()

void resume ( )

◆ setVelocityFactor()

void setVelocityFactor ( float velocityFactor)

◆ stop()

void stop ( )

◆ update()

void update ( const std::vector< core::Pose > & waypoints,
core::NavigationFrame frame )

◆ waitForStop()

StopEvent waitForStop ( std::int64_t timeoutMs = -1)

Member Data Documentation

◆ cv

std::condition_variable cv

◆ event

std::optional<StopEvent> event

◆ m

std::mutex m

The documentation for this class was generated from the following files: