doubt about xacro
Hi everyone!
I have a doubt about XACRO. Is possible from xacro to read a parameters in the Parameters Servers?
Thanks!
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi everyone!
I have a doubt about XACRO. Is possible from xacro to read a parameters in the Parameters Servers?
Thanks!
I don't think this is possible, but it is an interesting possibility. What is your use case?
answered 2013-01-17 08:08:47 -0500
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
If no existing that property, is really interesenting suggest!!
Asked: 2012-06-19 05:12:12 -0500
Seen: 551 times
Last updated: Jan 17 '13
Pass parameters to xacro in launch file
Does 'ros2 set param' exist? [closed]
'#pragma once' equivalent for urdf/xacro files
How to create Omniwheel base URDF
Hector sonar implementation on a Pioneer 3DX [closed]
How to set params to hokuyo_utm30lx in hector_models?
Problem in adding two Schunk arms plus a simple shape (e.g. cylinder) into .urdf.xacro
Unable to see urdf.xacro file in Gazebo or use it in Moveit!
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.