Public Member Functions | |
bool | init () |
Mimic () | |
~Mimic (void) | |
Private Member Functions | |
void | as_cb_mimic_ (const cob_mimic::SetMimicGoalConstPtr &goal) |
void | blinking_cb (const ros::TimerEvent &) |
bool | copy_dir (boost::filesystem::path const &source, boost::filesystem::path const &mimic_folder) |
bool | copy_mimic_files () |
bool | service_cb_mimic (cob_mimic::SetMimic::Request &req, cob_mimic::SetMimic::Response &res) |
bool | set_mimic (std::string mimic, int repeat, float speed, bool blocking=true) |
Private Attributes | |
actionlib::SimpleActionServer < cob_mimic::SetMimicAction > | as_mimic_ |
ros::Timer | blinking_timer_ |
boost::random::mt19937 | gen_ |
boost::random::uniform_int_distribution | int_dist_ |
std::string | mimic_folder_ |
boost::mutex | mutex_ |
bool | new_mimic_request_ |
ros::NodeHandle | nh_ |
std::vector< std::string > | random_mimics_ |
boost::random::uniform_real_distribution | real_dist_ |
bool | sim_enabled_ |
ros::ServiceServer | srvServer_mimic_ |
libvlc_instance_t * | vlc_inst_ |
libvlc_media_t * | vlc_media_ |
libvlc_media_player_t * | vlc_player_ |
Definition at line 38 of file mimic_node.cpp.
Mimic::Mimic | ( | ) | [inline] |
Definition at line 41 of file mimic_node.cpp.
Mimic::~Mimic | ( | void | ) | [inline] |
Definition at line 48 of file mimic_node.cpp.
void Mimic::as_cb_mimic_ | ( | const cob_mimic::SetMimicGoalConstPtr & | goal | ) | [inline, private] |
Definition at line 161 of file mimic_node.cpp.
void Mimic::blinking_cb | ( | const ros::TimerEvent & | ) | [inline, private] |
Definition at line 266 of file mimic_node.cpp.
bool Mimic::copy_dir | ( | boost::filesystem::path const & | source, |
boost::filesystem::path const & | mimic_folder | ||
) | [inline, private] |
Definition at line 273 of file mimic_node.cpp.
bool Mimic::copy_mimic_files | ( | ) | [inline, private] |
Definition at line 119 of file mimic_node.cpp.
bool Mimic::init | ( | ) | [inline] |
Definition at line 55 of file mimic_node.cpp.
bool Mimic::service_cb_mimic | ( | cob_mimic::SetMimic::Request & | req, |
cob_mimic::SetMimic::Response & | res | ||
) | [inline, private] |
Definition at line 174 of file mimic_node.cpp.
bool Mimic::set_mimic | ( | std::string | mimic, |
int | repeat, | ||
float | speed, | ||
bool | blocking = true |
||
) | [inline, private] |
Definition at line 187 of file mimic_node.cpp.
actionlib::SimpleActionServer<cob_mimic::SetMimicAction> Mimic::as_mimic_ [private] |
Definition at line 101 of file mimic_node.cpp.
ros::Timer Mimic::blinking_timer_ [private] |
Definition at line 103 of file mimic_node.cpp.
boost::random::mt19937 Mimic::gen_ [private] |
Definition at line 114 of file mimic_node.cpp.
boost::random::uniform_int_distribution Mimic::int_dist_ [private] |
Definition at line 116 of file mimic_node.cpp.
std::string Mimic::mimic_folder_ [private] |
Definition at line 104 of file mimic_node.cpp.
boost::mutex Mimic::mutex_ [private] |
Definition at line 112 of file mimic_node.cpp.
bool Mimic::new_mimic_request_ [private] |
Definition at line 111 of file mimic_node.cpp.
ros::NodeHandle Mimic::nh_ [private] |
Definition at line 100 of file mimic_node.cpp.
std::vector<std::string> Mimic::random_mimics_ [private] |
Definition at line 117 of file mimic_node.cpp.
boost::random::uniform_real_distribution Mimic::real_dist_ [private] |
Definition at line 115 of file mimic_node.cpp.
bool Mimic::sim_enabled_ [private] |
Definition at line 110 of file mimic_node.cpp.
ros::ServiceServer Mimic::srvServer_mimic_ [private] |
Definition at line 102 of file mimic_node.cpp.
libvlc_instance_t* Mimic::vlc_inst_ [private] |
Definition at line 106 of file mimic_node.cpp.
libvlc_media_t* Mimic::vlc_media_ [private] |
Definition at line 108 of file mimic_node.cpp.
libvlc_media_player_t* Mimic::vlc_player_ [private] |
Definition at line 107 of file mimic_node.cpp.