Gazebo | Ignition | Community
Ask Your Question

GAZEBO_MODEL_PATH on the command line?

asked 2019-03-12 21:40:26 -0500

clydemcqueen gravatar image

I understand that I can use custom models using the GAZEBO_MODEL_PATH:

export GAZEBO_MODEL_PATH=path/to/models

Is there a way to do this from the command line?


edit retag flag offensive close merge delete



Not sure I understand the question, you can use the command you mentioned on the command line, right?

chapulina gravatar imagechapulina ( 2019-03-13 15:49:47 -0500 )edit

Thanks for the response, @chapulina. My question wasn't well formed. I was looking to avoid dependency on environment variables... and was looking for an option like "gazebo -m path/to/models".

clydemcqueen gravatar imageclydemcqueen ( 2019-04-17 11:17:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-17 15:40:22 -0500

chapulina gravatar image

Thanks for the clarification. There's no command-line argument to set model/plugin/resource paths, but it could be an interesting addition.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-03-12 21:40:26 -0500

Seen: 167 times

Last updated: Apr 17 '19