#include <jockey.h>
Public Member Functions | |
std::string | getName () const |
Protected Member Functions | |
ros::Duration | getCompletionDuration () const |
ros::Duration | getInterruptionsDuration () const |
ros::Time | getInterruptionTime () const |
ros::Time | getResumeTime () const |
ros::Time | getStartTime () const |
void | initAction () |
void | interrupt () |
bool | isInterrupted () const |
Jockey (const std::string &name) | |
virtual void | onContinue () |
virtual void | onInterrupt () |
void | resume () |
Protected Attributes | |
std::string | jockey_name_ |
ros::ServiceClient | map_agent_ |
ros::NodeHandle | nh_ |
ros::NodeHandle | private_nh_ |
Private Attributes | |
bool | interrupted_ |
True if the jockey is interrupted. | |
ros::Time | interruption_time_ |
Timestamp when interruption started. | |
ros::Duration | interruptions_duration_ |
Total interruption time (not including the current one) | |
ros::Time | resume_time_ |
Timestamp when normal behavior was resumed. | |
ros::Time | start_time_ |
Timestamp when a non-interrupting goal was received. |
lama_jockeys::Jockey::Jockey | ( | const std::string & | name | ) | [protected] |
Definition at line 10 of file jockey.cpp.
ros::Duration lama_jockeys::Jockey::getCompletionDuration | ( | ) | const [protected] |
Definition at line 56 of file jockey.cpp.
ros::Duration lama_jockeys::Jockey::getInterruptionsDuration | ( | ) | const [inline, protected] |
ros::Time lama_jockeys::Jockey::getInterruptionTime | ( | ) | const [inline, protected] |
std::string lama_jockeys::Jockey::getName | ( | ) | const [inline] |
ros::Time lama_jockeys::Jockey::getResumeTime | ( | ) | const [inline, protected] |
ros::Time lama_jockeys::Jockey::getStartTime | ( | ) | const [inline, protected] |
void lama_jockeys::Jockey::initAction | ( | ) | [protected] |
Reimplemented in lama_jockeys::NavigatingJockey, lama_jockeys::LocalizingJockey, and lama_jockeys::LearningJockey.
Definition at line 18 of file jockey.cpp.
void lama_jockeys::Jockey::interrupt | ( | ) | [protected] |
Definition at line 27 of file jockey.cpp.
bool lama_jockeys::Jockey::isInterrupted | ( | ) | const [inline, protected] |
void lama_jockeys::Jockey::onContinue | ( | ) | [protected, virtual] |
Reimplemented in lama_jockeys::NavigatingJockey, lama_jockeys::LocalizingJockey, and lama_jockeys::LearningJockey.
Definition at line 51 of file jockey.cpp.
void lama_jockeys::Jockey::onInterrupt | ( | ) | [protected, virtual] |
Reimplemented in lama_jockeys::NavigatingJockey, lama_jockeys::LocalizingJockey, and lama_jockeys::LearningJockey.
Definition at line 46 of file jockey.cpp.
void lama_jockeys::Jockey::resume | ( | ) | [protected] |
Definition at line 36 of file jockey.cpp.
bool lama_jockeys::Jockey::interrupted_ [private] |
std::string lama_jockeys::Jockey::jockey_name_ [protected] |
ros::ServiceClient lama_jockeys::Jockey::map_agent_ [protected] |
ros::NodeHandle lama_jockeys::Jockey::nh_ [protected] |
ros::NodeHandle lama_jockeys::Jockey::private_nh_ [protected] |
ros::Time lama_jockeys::Jockey::resume_time_ [private] |
ros::Time lama_jockeys::Jockey::start_time_ [private] |