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

Problem reloading robot model #4

Closed
Patrick-Lascombe opened this issue Dec 6, 2019 · 2 comments
Closed

Problem reloading robot model #4

Patrick-Lascombe opened this issue Dec 6, 2019 · 2 comments
Labels
invalid This doesn't seem right

Comments

@Patrick-Lascombe
Copy link

Hello it is me again,
The model is loading fine when I start the node and the filtering is great. But when I try to reload a similar urdf with a collision box change I get this error :

[ERROR] [/pointcloud_filter]: Unable to parse component [${M_PI/2}] to a double (while parsing a vector value)
[ERROR] [/pointcloud_filter]: Could not parse visual element for Link [camera_tracking_pose_frame]
[ERROR] [/pointcloud_filter]: Unable to parse component [${M_PI/2}] to a double (while parsing a vector value)
[ERROR] [/pointcloud_filter]: Could not parse visual element for Link [laser]
[ERROR] [/pointcloud_filter]: Unable to parse component [${M_PI/2}] to a double (while parsing a vector value)
[ERROR] [/pointcloud_filter]: Could not parse visual element for Link [imu_bottom_center]
[ERROR] [/pointcloud_filter]: Unable to parse component [${M_PI}] to a double (while parsing a vector value)
[ERROR] [/pointcloud_filter]: Malformed parent origin element for joint [camera_tracking_joint]
[ERROR] [/pointcloud_filter]: joint xml is not initialized correctly
[ERROR] [/pointcloud_filter]: RobotBodyFilter: The URDF model given in parameter '/robot_description' cannot be parsed. See urdf::Model::initString for debugging, or try running 'gzsdf my_robot.urdf'

Is the parsing or init method different between the start of the node and the reload of the model ?

Thanks again for the help

@peci1
Copy link
Owner

peci1 commented Dec 6, 2019

Hi Patrick. It very much seems you have a problem rendering the updated URDF. Did you pass it through Xacro? Can you post here the result of rosparam get /robot_description before and after the reload?

@Patrick-Lascombe
Copy link
Author

You were correct !
I converter my xacro file to urdf using rosrun xacro xacro and reloading the urdf file worked well !
Thanks for your help again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants