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 50 of file RosAria.cpp.
RosAriaNode::RosAriaNode | ( | ros::NodeHandle | n | ) |
Definition at line 279 of file RosAria.cpp.
|
virtual |
Definition at line 342 of file RosAria.cpp.
void RosAriaNode::cmdvel_cb | ( | const geometry_msgs::TwistConstPtr & | msg | ) |
Definition at line 718 of file RosAria.cpp.
void RosAriaNode::cmdvel_watchdog | ( | const ros::TimerEvent & | event | ) |
Definition at line 733 of file RosAria.cpp.
|
protected |
Definition at line 707 of file RosAria.cpp.
void RosAriaNode::dynamic_reconfigureCB | ( | rosaria::RosAriaConfig & | config, |
uint32_t | level | ||
) |
Definition at line 183 of file RosAria.cpp.
|
protected |
Definition at line 695 of file RosAria.cpp.
void RosAriaNode::publish | ( | ) |
Definition at line 532 of file RosAria.cpp.
void RosAriaNode::readParameters | ( | ) |
Definition at line 138 of file RosAria.cpp.
int RosAriaNode::Setup | ( | ) |
Definition at line 353 of file RosAria.cpp.
void RosAriaNode::sonarConnectCb | ( | ) |
Called when another node subscribes or unsubscribes from sonar topic.
Definition at line 261 of file RosAria.cpp.
void RosAriaNode::spin | ( | ) |
Definition at line 527 of file RosAria.cpp.
|
protected |
Definition at line 126 of file RosAria.cpp.
|
protected |
Definition at line 103 of file RosAria.cpp.
|
protected |
Definition at line 71 of file RosAria.cpp.
|
protected |
Definition at line 85 of file RosAria.cpp.
|
protected |
Definition at line 94 of file RosAria.cpp.
|
protected |
Definition at line 93 of file RosAria.cpp.
|
protected |
Definition at line 99 of file RosAria.cpp.
|
protected |
Definition at line 125 of file RosAria.cpp.
|
protected |
Definition at line 88 of file RosAria.cpp.
|
protected |
Definition at line 129 of file RosAria.cpp.
|
protected |
Definition at line 132 of file RosAria.cpp.
|
protected |
Definition at line 87 of file RosAria.cpp.
|
protected |
Definition at line 113 of file RosAria.cpp.
|
protected |
Definition at line 114 of file RosAria.cpp.
|
protected |
Definition at line 112 of file RosAria.cpp.
|
protected |
Definition at line 115 of file RosAria.cpp.
|
protected |
Definition at line 100 of file RosAria.cpp.
|
protected |
Definition at line 82 of file RosAria.cpp.
|
protected |
Definition at line 81 of file RosAria.cpp.
|
protected |
Definition at line 105 of file RosAria.cpp.
|
protected |
Definition at line 69 of file RosAria.cpp.
|
protected |
Definition at line 109 of file RosAria.cpp.
|
protected |
Definition at line 110 of file RosAria.cpp.
|
protected |
Definition at line 104 of file RosAria.cpp.
|
protected |
Definition at line 70 of file RosAria.cpp.
|
protected |
Definition at line 102 of file RosAria.cpp.
|
protected |
Definition at line 135 of file RosAria.cpp.
|
protected |
Definition at line 121 of file RosAria.cpp.
|
protected |
Definition at line 122 of file RosAria.cpp.
|
protected |
Definition at line 83 of file RosAria.cpp.
|
protected |
Definition at line 77 of file RosAria.cpp.
|
protected |
Definition at line 76 of file RosAria.cpp.
|
protected |
Definition at line 129 of file RosAria.cpp.
|
protected |
Definition at line 101 of file RosAria.cpp.
|
protected |
Definition at line 97 of file RosAria.cpp.
|
protected |
Definition at line 96 of file RosAria.cpp.
|
protected |
Definition at line 118 of file RosAria.cpp.
|
protected |
Definition at line 73 of file RosAria.cpp.
|
protected |
Definition at line 72 of file RosAria.cpp.
|
protected |
Definition at line 79 of file RosAria.cpp.
|
protected |
Definition at line 129 of file RosAria.cpp.
|
protected |
Definition at line 92 of file RosAria.cpp.
|
protected |
Definition at line 74 of file RosAria.cpp.