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

doubt about xacro

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

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

Hi everyone!

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

Thanks!

edit retag flag offensive close merge delete

Comments

1

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 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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

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
0

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

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

Comments

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

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

Question Tools

1 follower

Stats

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

Seen: 566 times

Last updated: Jan 17 '13