Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 152

Parse error when using a xacro property loaded through a yaml file.

$
0
0
Environment: Ubuntu 16, ROS Kinetic. I have a robot_parameters.yaml file with robot parameters: wheel_separation : 0.235 PI : 3.142 In a xacro file I have: When I do a --check-order on the xacro, I get the following error: unsupported operand type(s) for /: 'dict' and 'int' when evaluating expression 'PI/2' XacroException(None,) How would I use an imported name(in this case, PI) via yaml and use it for xacro calculations.

Viewing all articles
Browse latest Browse all 152

Trending Articles