mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 11:20:02 +08:00
added option to select odom navmsgs topic name
This commit is contained in:
@@ -27,6 +27,8 @@ int main(int argc, char **argv) {
|
||||
private_node.param<bool>("simulated_robot", messenger.simulated_robot_,
|
||||
false);
|
||||
private_node.param<int>("control_rate", messenger.sim_control_rate_, 50);
|
||||
private_node.param<std::string>("odom_topic_name", messenger.odom_topic_name_,
|
||||
std::string("odom"));
|
||||
|
||||
if (!messenger.simulated_robot_) {
|
||||
// connect to robot and setup ROS subscription
|
||||
|
||||
Reference in New Issue
Block a user