The Command
GAZEBO_RESOURCE_PATH="$GAZEBO_RESOURCE_PATH:/usr/share/gazebo-9/worlds" gazebo --verbose /usr/share/gazebo-9/worlds/$WORLD_FILE
Notes
*The "GAZEBO_RESOURCE_PATH" stuff just tells gazebo to look in "/usr/share/gazebo-9/worlds" in addition to wherever else it looks for resources when building the world.
*In case this wasn't clear in this format, this command is all one line. The first part (up to 'worlds" ') is for adding the folder to the Resource path, while "gazebo --verbose" onward is actually starting gazebo and loading it with the world specified after it.
*You will have to modify the filepaths to fit your installation, as well as replacing $WORLD_FILE with the name of your .world file.
*If you want to use an example, I would recommend iris_irlock_demo.world. This should come with your gazebo install and can be found in your worlds folder.
*If you want to use an example, I would recommend iris_irlock_demo.world. This should come with your gazebo install and can be found in your worlds folder.
No comments:
Post a Comment