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

Update to make URDF usable in ROS2 #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RMichaelSwan
Copy link

@RMichaelSwan RMichaelSwan commented Aug 21, 2024

Fixed a number of issues with existing URDFs such as:

  • Relative paths. Replaced with package relative paths (package:// instead of ./). Not sure if this would cause issues with other tools, but it does work with rviz2, robot_state_publisher, and joint_state_publisher in the context of a ROS2 workspace (and should work with ROS1 also).
  • Incorrect/bad limits (replaced huge numbers with more sensible limits, though not verified with actuals).
  • Incorrect joint type for drive joints (wheels, propellers). Changed from revolute to continuous.
  • Tabs are not able to be ingested by robot_state_publisher, replaced with spaces.
  • Colons inside comments cause issues with robot_state_publisher, replaced with dashes.

Also converted into ROS2 compatible package and provided a few examples for launching with rviz2.

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

Successfully merging this pull request may close these issues.

1 participant