ROBOTIS-OP / robotis_op_common

Robotis OP2 related files required for both simulation and real robot use (analogous to pr2_common)
3 stars 8 forks source link

Property names must be valid python identifiers #6

Open yoneken opened 6 years ago

yoneken commented 6 years ago

When I launch _roslaunch robotis_op_gazebo robotis_op_gazebo_position_control_soccer_field.launch_, I get the following error.

Property names must be valid python identifiers: lb-in-in_kg-m-m XacroException(u'Property names must be valid python identifiers: lb-in-in_kg-m-m',)

It seems that the hyphen('-') makes a trouble in xacro. https://github.com/ros/xacro/blob/lunar-devel/src/xacro/__init__.py#L448 And there are some hyphens in robotis_op_description/urdf/constants.xacro.

My environment is Ubuntu 16.04, ROS Kinetic.

screenshot

yoneken commented 6 years ago

To avoid this error, simply comment-out two lines. Then, I can launch the simulation and control a robot!