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

doubt about xacro

asked 2012-06-19 05:12:12 -0500

updated 2012-06-19 06:04:23 -0500

Hi everyone!

I have a doubt about XACRO. Is possible from xacro to read a parameters in the Parameters Servers?


edit retag flag offensive close merge delete



In case your use case is to use a ros parameter when using xacro to initialize another ros parameter inside roslaunch: that won't work because parameters are first all parsed and then set on the parameter server.

Lorenz gravatar image Lorenz  ( 2012-06-19 06:12:39 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2012-06-19 06:05:59 -0500

David Lu gravatar image

I don't think this is possible, but it is an interesting possibility. What is your use case?

edit flag offensive delete link more

answered 2013-01-17 08:08:47 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

For example, with a box xacro that read parameters into parameter server, I can load different boxes into rviz or Gazebo with the same xacro file

edit flag offensive delete link more


If no existing that property, is really interesenting suggest!!

Ivan Rojas Jofre gravatar image Ivan Rojas Jofre  ( 2013-01-17 08:11:54 -0500 )edit

Question Tools

1 follower


Asked: 2012-06-19 05:12:12 -0500

Seen: 554 times

Last updated: Jan 17 '13