Node that interfaces between ROS and mobile robot base features via ARIA library. More...
Public Member Functions | |
void | cmdvel_cb (const geometry_msgs::TwistConstPtr &) |
void | cmdvel_watchdog (const ros::TimerEvent &event) |
void | dynamic_reconfigureCB (rosaria::RosAriaConfig &config, uint32_t level) |
void | publish () |
void | readParameters () |
RosAriaNode (ros::NodeHandle n) | |
int | Setup () |
void | sonarConnectCb () |
Called when another node subscribes or unsubscribes from sonar topic. More... | |
void | spin () |
virtual | ~RosAriaNode () |
Protected Member Functions | |
bool | disable_motors_cb (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response) |
bool | enable_motors_cb (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response) |
Node that interfaces between ROS and mobile robot base features via ARIA library.
RosAriaNode will use ARIA to connect to a robot controller (configure via ~port parameter), either direct serial connection or over the network. It runs ARIA's robot communications cycle in a background thread, and as part of that cycle (a sensor interpretation task which calls RosAriaNode::publish()), it publishes various topics with newly received robot data. It also sends velocity commands to the robot when received in the cmd_vel topic, and handles dynamic_reconfigure and Service requests.
For more information about ARIA see http://robots.mobilerobots.com/wiki/Aria.
RosAria uses the roscpp client library, see http://www.ros.org/wiki/roscpp for information, tutorials and documentation.
Definition at line 52 of file RosAria.cpp.
RosAriaNode::RosAriaNode | ( | ros::NodeHandle | n | ) |
Definition at line 281 of file RosAria.cpp.
|
virtual |
Definition at line 344 of file RosAria.cpp.
void RosAriaNode::cmdvel_cb | ( | const geometry_msgs::TwistConstPtr & | msg | ) |
Definition at line 720 of file RosAria.cpp.
void RosAriaNode::cmdvel_watchdog | ( | const ros::TimerEvent & | event | ) |
Definition at line 735 of file RosAria.cpp.
|
protected |
Definition at line 709 of file RosAria.cpp.
void RosAriaNode::dynamic_reconfigureCB | ( | rosaria::RosAriaConfig & | config, |
uint32_t | level | ||
) |
Definition at line 185 of file RosAria.cpp.
|
protected |
Definition at line 697 of file RosAria.cpp.
void RosAriaNode::publish | ( | ) |
Definition at line 534 of file RosAria.cpp.
void RosAriaNode::readParameters | ( | ) |
Definition at line 140 of file RosAria.cpp.
int RosAriaNode::Setup | ( | ) |
Definition at line 355 of file RosAria.cpp.
void RosAriaNode::sonarConnectCb | ( | ) |
Called when another node subscribes or unsubscribes from sonar topic.
Definition at line 263 of file RosAria.cpp.
void RosAriaNode::spin | ( | ) |
Definition at line 529 of file RosAria.cpp.
|
protected |
Definition at line 128 of file RosAria.cpp.
|
protected |
Definition at line 105 of file RosAria.cpp.
|
protected |
Definition at line 73 of file RosAria.cpp.
|
protected |
Definition at line 87 of file RosAria.cpp.
|
protected |
Definition at line 96 of file RosAria.cpp.
|
protected |
Definition at line 95 of file RosAria.cpp.
|
protected |
Definition at line 101 of file RosAria.cpp.
|
protected |
Definition at line 127 of file RosAria.cpp.
|
protected |
Definition at line 90 of file RosAria.cpp.
|
protected |
Definition at line 131 of file RosAria.cpp.
|
protected |
Definition at line 134 of file RosAria.cpp.
|
protected |
Definition at line 89 of file RosAria.cpp.
|
protected |
Definition at line 115 of file RosAria.cpp.
|
protected |
Definition at line 116 of file RosAria.cpp.
|
protected |
Definition at line 114 of file RosAria.cpp.
|
protected |
Definition at line 117 of file RosAria.cpp.
|
protected |
Definition at line 102 of file RosAria.cpp.
|
protected |
Definition at line 84 of file RosAria.cpp.
|
protected |
Definition at line 83 of file RosAria.cpp.
|
protected |
Definition at line 107 of file RosAria.cpp.
|
protected |
Definition at line 71 of file RosAria.cpp.
|
protected |
Definition at line 111 of file RosAria.cpp.
|
protected |
Definition at line 112 of file RosAria.cpp.
|
protected |
Definition at line 106 of file RosAria.cpp.
|
protected |
Definition at line 72 of file RosAria.cpp.
|
protected |
Definition at line 104 of file RosAria.cpp.
|
protected |
Definition at line 137 of file RosAria.cpp.
|
protected |
Definition at line 123 of file RosAria.cpp.
|
protected |
Definition at line 124 of file RosAria.cpp.
|
protected |
Definition at line 85 of file RosAria.cpp.
|
protected |
Definition at line 79 of file RosAria.cpp.
|
protected |
Definition at line 78 of file RosAria.cpp.
|
protected |
Definition at line 131 of file RosAria.cpp.
|
protected |
Definition at line 103 of file RosAria.cpp.
|
protected |
Definition at line 99 of file RosAria.cpp.
|
protected |
Definition at line 98 of file RosAria.cpp.
|
protected |
Definition at line 120 of file RosAria.cpp.
|
protected |
Definition at line 75 of file RosAria.cpp.
|
protected |
Definition at line 74 of file RosAria.cpp.
|
protected |
Definition at line 81 of file RosAria.cpp.
|
protected |
Definition at line 131 of file RosAria.cpp.
|
protected |
Definition at line 94 of file RosAria.cpp.
|
protected |
Definition at line 76 of file RosAria.cpp.