|
Easy Navigation
|
Shares the robot's geometry across EasyNav's nodes. More...
#include <RobotGeometry.hpp>


Public Member Functions | |
| RobotGeometry | get_geometry () const |
| The robot's geometry. | |
| bool | is_configured (const std::string &field) const |
| Whether "robot_geometry.<field>" was configured explicitly. | |
| RobotGeometryRegistry ()=default | |
| void | set_geometry (const RobotGeometry &geometry, const std::set< std::string > &configured={}) |
| Sets the robot's geometry, and which fields were configured explicitly. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from Singleton< RobotGeometryRegistry > | |
| static RobotGeometryRegistry & | get (Args &&... args) |
| static RobotGeometryRegistry * | getInstance (Args &&... args) |
| static void | removeInstance () |
| Destroy the current instance, if any; the next getInstance()/get() call creates a fresh one. | |
| Protected Member Functions inherited from Singleton< RobotGeometryRegistry > | |
| Singleton & | operator= (const Singleton &)=delete |
| Singleton ()=default | |
| ~Singleton ()=default | |
Shares the robot's geometry across EasyNav's nodes.
The geometry is configured in SystemNode ("robot_geometry.*"), which sets it here before its subnodes configure, so their plugins read it while initializing (see get_robot_geometry()).
|
default |
| RobotGeometry get_geometry | ( | ) | const |
The robot's geometry.
| bool is_configured | ( | const std::string & | field | ) | const |
Whether "robot_geometry.<field>" was configured explicitly.
| void set_geometry | ( | const RobotGeometry & | geometry, |
| const std::set< std::string > & | configured = {} ) |
Sets the robot's geometry, and which fields were configured explicitly.