Nodelet-wrapper of the RandomWalkerController class. More...
Public Member Functions | |
virtual void | onInit () |
Initialise the nodelet. | |
RandomWalkerControllerNodelet () | |
~RandomWalkerControllerNodelet () | |
Private Member Functions | |
void | update () |
Method for update thread. | |
Private Attributes | |
boost::shared_ptr < RandomWalkerController > | controller_ |
Pointer to the random walker controller. | |
std::string | name_ |
Node(let) name. | |
bool | shutdown_requested_ |
Flag for stopping the update thread. | |
double | update_rate_ |
Spin rate for the update thread. | |
ecl::Thread | update_thread_ |
Update thread for publishing velocity and LED commands. |
Nodelet-wrapper of the RandomWalkerController class.
Definition at line 26 of file nodelet.cpp.
Definition at line 29 of file nodelet.cpp.
Definition at line 30 of file nodelet.cpp.
virtual void kobuki::RandomWalkerControllerNodelet::onInit | ( | ) | [inline, virtual] |
Initialise the nodelet.
This function is called, when the nodelet manager loads the nodelet.
Implements nodelet::Nodelet.
Definition at line 43 of file nodelet.cpp.
void kobuki::RandomWalkerControllerNodelet::update | ( | ) | [inline, private] |
Method for update thread.
Definition at line 83 of file nodelet.cpp.
boost::shared_ptr<RandomWalkerController> kobuki::RandomWalkerControllerNodelet::controller_ [private] |
Pointer to the random walker controller.
Definition at line 72 of file nodelet.cpp.
std::string kobuki::RandomWalkerControllerNodelet::name_ [private] |
Node(let) name.
Definition at line 76 of file nodelet.cpp.
bool kobuki::RandomWalkerControllerNodelet::shutdown_requested_ [private] |
Flag for stopping the update thread.
Definition at line 80 of file nodelet.cpp.
double kobuki::RandomWalkerControllerNodelet::update_rate_ [private] |
Spin rate for the update thread.
Definition at line 74 of file nodelet.cpp.
ecl::Thread kobuki::RandomWalkerControllerNodelet::update_thread_ [private] |
Update thread for publishing velocity and LED commands.
Definition at line 78 of file nodelet.cpp.