mmatl / urdfpy

Python parser for URDFs
http://urdfpy.readthedocs.io/
MIT License
245 stars 98 forks source link

Error when reading a URDF file #28

Open agp-ka32 opened 2 years ago

agp-ka32 commented 2 years ago

I am trying to read a URDF file, but I get this error: ValueError: Missing required attribute effort when parsing an object of type JointLimit.

The contents of the urdf file are below:

`<?xml version="1.0" ?>

`

Can you folks, @mmatl @JanusMaple, point out a solution to this issue? Thanks.

arnabdeypolimi commented 1 year ago

I am having the same issue. Some effort from the maintainers would surely help xD

Daniella1 commented 1 year ago

I think the issue is in your URDF file. If you look at the documentation when declaring a prismatic or revolute joint, the limit of the joint requires an effort attribute. Try adding the attribute effort in the joint limits and see if that changes anything. See ROS URDF joint under \<limit>