#include <packml_ros.h>
Public Member Functions | |
PackmlRos (ros::NodeHandle nh, ros::NodeHandle pn, std::shared_ptr< packml_sm::AbstractStateMachine > sm) | |
void | spin () |
void | spinOnce () |
~PackmlRos () | |
Protected Member Functions | |
bool | transRequest (packml_msgs::Transition::Request &req, packml_msgs::Transition::Response &res) |
Protected Attributes | |
ros::ServiceServer | get_stats_server_ |
ros::NodeHandle | nh_ |
ros::NodeHandle | pn_ |
ros::ServiceServer | reset_stats_server_ |
std::shared_ptr< packml_sm::AbstractStateMachine > | sm_ |
packml_msgs::Status | status_msg_ |
ros::Publisher | status_pub_ |
ros::ServiceServer | trans_server_ |
Private Member Functions | |
void | getCurrentStats (packml_msgs::Stats &out_stats) |
bool | getStats (packml_msgs::GetStats::Request &req, packml_msgs::GetStats::Response &response) |
void | handleStateChanged (packml_sm::AbstractStateMachine &state_machine, const packml_sm::StateChangedEventArgs &args) |
bool | resetStats (packml_msgs::ResetStats::Request &req, packml_msgs::ResetStats::Response &response) |
Definition at line 31 of file packml_ros.h.
packml_ros::PackmlRos::PackmlRos | ( | ros::NodeHandle | nh, |
ros::NodeHandle | pn, | ||
std::shared_ptr< packml_sm::AbstractStateMachine > | sm | ||
) |
Definition at line 27 of file packml_ros.cpp.
packml_ros::PackmlRos::~PackmlRos | ( | ) |
Definition at line 44 of file packml_ros.cpp.
|
private |
Definition at line 159 of file packml_ros.cpp.
|
private |
Definition at line 202 of file packml_ros.cpp.
|
private |
Definition at line 139 of file packml_ros.cpp.
|
private |
Definition at line 211 of file packml_ros.cpp.
void packml_ros::PackmlRos::spin | ( | ) |
Definition at line 52 of file packml_ros.cpp.
void packml_ros::PackmlRos::spinOnce | ( | ) |
Definition at line 62 of file packml_ros.cpp.
|
protected |
Definition at line 67 of file packml_ros.cpp.
|
protected |
Definition at line 46 of file packml_ros.h.
|
protected |
Definition at line 40 of file packml_ros.h.
|
protected |
Definition at line 41 of file packml_ros.h.
|
protected |
Definition at line 45 of file packml_ros.h.
|
protected |
Definition at line 42 of file packml_ros.h.
|
protected |
Definition at line 47 of file packml_ros.h.
|
protected |
Definition at line 43 of file packml_ros.h.
|
protected |
Definition at line 44 of file packml_ros.h.