Robotics StackExchange | Archived questions

Use arguments in sdf files in gazebo

Hello,

I want to know if it is possible to pass arguments to the sdf files from the launch file. I know it is possible with urdf files but I already structured my code with sdf files. I'm using gazebo-ros-pkgs with ros eloquent to simulate Px4 flights.

Also, is it possible to use xacro files with sdf files?

Thanks

Asked by Alia on 2020-10-22 11:22:16 UTC

Comments

Answers

The xacro equivalent for sdf is embedded ruby which should be more expressive given ruby is a full blown programming language.

More details can be found here with the this example

Asked by wongrufus on 2020-10-25 21:43:57 UTC

Comments