Closed james-p-foster closed 1 year ago
Does rosparam set robot_description -t my_urdf.urdf
work?
Awesome stuff -- that works. Thanks for your help! I'll have to educate myself on the differences between rosparam load
and rosparam set
.
Closing now.
Hello,
I've recently been working with some of these urdfs alongside ROS. A typical use case of mine when replaying a rosbag is to:
roscore
andrviz
rosparam load <path-to-urdf> robot_description
so that I can view the robot urdf inrviz
.On that final third step,
rosparam load
results in apyyaml
Scanner Error
for some of the urdfs. From what I gather, the urdfs are being read as yaml files, and the scanner is failing to read colons followed by whitespace, e.g.:
. I believe this is due to the yaml scanner reading the colon and whitespace as indicating a key-value pair (see e.g. here). An example error fromanymal_b_simple_description
:I have a fork of this repo with all the offending
:
s removed from all the robot urdfs. Luckily, these only show up in urdf comments, so no functionality is changed. I can open a PR, if that's desired?