ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ROS_NAMESPACE , tf , turtlebot_bringup and turtlebot_navigation

asked 2017-06-22 21:12:01 -0600

j_salfity gravatar image

Hi All, I'm looking to provide a namespace for my turtlebot. In my .bashrc file, I've set: export TURTLEBOT_NAME=Dave and export ROS_NAMESPACE=$TURTLEBOT_NAME

After launching turtlebot_bringup minimal.launch and turtlebot_navigation amcl_demo.launch the list of topics are all in the /Dave namespace, however the following: /dave/incompatible_rapp_list /dave/rapp_list /dave/status /diagnostics /diagnostics_agg /diagnostics_toplevel_state /rosout /rosout_agg /scan /tf /tf_static are not or have incorrect namespace. dave not Dave. More importantly I'm looking to solve the tf and tf_static because those are very important for actual navigation. I was looking at this ROS Answers but couldn't solve my problem.

Any thoughts? Thanks :)

edit retag flag offensive close merge delete

Comments

Not sure whether this is your issue, but: by convention the use of uppercase names is typically discouraged (it is allowed though, see wiki/Naming). It could be that some nodes are (incorrectly) lowercasing any names they receive, resulting in the Dave->dave problem.

gvdhoorn gravatar image gvdhoorn  ( 2017-06-23 01:33:35 -0600 )edit

Got it, thanks. Any thoughts on the tf and tf_static frames naming?

j_salfity gravatar image j_salfity  ( 2017-06-23 12:33:55 -0600 )edit

Take a look at Simulating Multiple Husky UGVs in Gazebo on the clearpath blog. That is specifically about running two instances of Husky at the same time in Gazebo, but probably deals with the same issue(s).

gvdhoorn gravatar image gvdhoorn  ( 2017-06-23 12:42:57 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-27 14:18:19 -0600

j_salfity gravatar image

I was wrong all along, tf and tf_static need to be in their own namespace.

edit flag offensive delete link more

Comments

If this answers your question then you should mark it as the correct answer.

jayess gravatar image jayess  ( 2017-07-27 19:56:17 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-06-22 21:12:01 -0600

Seen: 301 times

Last updated: Jul 27 '17