Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property names must be valid python identifiers #6

Open
yoneken opened this issue Oct 3, 2017 · 1 comment
Open

Property names must be valid python identifiers #6

yoneken opened this issue Oct 3, 2017 · 1 comment

Comments

@yoneken
Copy link

yoneken commented Oct 3, 2017

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
Copy link
Author

yoneken commented Oct 3, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant