gkjohnson / xacro-parser

Utility for parsing and converting ROS Xacro files in Javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot parse duckiebot_description/urdf/duckiebot.xacro

jhurliman opened this issue · comments

I get the following error attempting to parse duckiebot.xacro:

Error: XacroParser: Failed to process expression "macro name="cylinder_inertia" params="m r h"> <cylinder_inertia m="${wheelMass}" r="${wheelRadius}" h="${wheelWidth}"/> Gazebo/Black <joint_properties damping="0.0" friction="0.0"/> transmission_interface/SimpleTransmission EffortJointInterface EffortJointInterface 10 </macro". undefined variable: m

It looks like the problem is happening in https://github.com/duckietown/duckietown-sim-server/blob/master/duckiebot_description/urdf/macros.xacro which is mostly commented out. Is it possible the <!-- isn't being handled correctly?

Is it possible the <!-- isn't being handled correctly?

Definitely possible 😁. I've made #76 to handle it. Take a look and let me know how it looks.

Thanks!

Published in v0.3.5!