URDF and ROS2 support

125 views
Skip to first unread message

Riddhesh More

unread,
Dec 1, 2023, 5:31:54 AM12/1/23
to ProjectChrono
I, fellow developers, 
Does Chrono support ros2 and URDF?
And is there a built-in URDF conversion utility?

Best reards,
Riddhesh More

Dario Mangoni

unread,
Dec 1, 2023, 5:43:42 AM12/1/23
to ProjectChrono
Hi Riddhesh,
while we wait for more insightful answer please double check the Changelog at the New URDF parser notice.

Regards,
Dario

Harry ZHANG

unread,
Dec 1, 2023, 10:19:46 AM12/1/23
to ProjectChrono
Hey Riddhesh,

For ROS2 support, we have it in the branch (feature/ros), which has some demos of how to use Chrono ROS with simulated vehicle, terrain, sensors, etc.. 

If you want to do quick testing you can either pull a testing docker container (https://hub.docker.com/r/uwsbel/ros/tags) or learn about Autonomy-Research-Testbed (ART) (https://github.com/uwsbel/autonomy-research-testbed) which has more support of using Chrono as autonomy simulation platform.


Best,
Harry

Radu Serban

unread,
Dec 3, 2023, 8:30:43 AM12/3/23
to ProjectChrono

Riddesh – there’s not much more to say about the URDF parser beyond starting at the Changelog entry that Dario pointed to. 

 

That describes a relatively new, fully functional Chrono URDF parser which you get by enabling the Chrono::Parsers optional module during CMake configuration of Chrono.  To get the URDF parsing capabilities, make sure to have the necessary dependencies built and installed first, as described https://api.projectchrono.org/module_parsers_installation.html. As noted there, make sure to use the provided buildURDF script to build the dependencies (I am currently using a custom version of urdfdom in a fork repository, although it looks like the upstream urdfdom has finally made the necessary changes – but as long as you use buildURDF, what sources that uses is transparent to you).

 

There are also a couple of demos that are included with the Chrono distribution that illustrate the creation of a Chrono system from an URDF description.

 

--Radu

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/04d8f911-39e4-4b4f-8787-d370a6082297n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages