Gazebo | Ignition | Community
Ask Your Question
0

Use arguments in sdf files in gazebo

asked 2020-10-22 11:22:16 -0600

Alia gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-10-25 21:43:57 -0600

wongrufus gravatar image

updated 2020-10-25 21:48:19 -0600

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

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-10-22 11:22:16 -0600

Seen: 168 times

Last updated: Oct 25 '20