Problem with inserting model
When I'm following the tutorial, I meet a problem after creating my first model configuration. In the following command:
mkdir -p ~/.gazebo/models/my_robot
I change the direction "~/.gazebo/models/my_robot" with my own file direction, because I don't find the file name of the given example.
After that, during the 'gedit' command for the 'model.sdf' file and 'model.config' file, I do the same action for gedit in the my same model direction.
Then the problem occurs, when I run the gazebo and try to find my_robot file in the "Insert" interface, I can't find the model direction which I set. My model direction is: '/home/iclab/gazebo_models/my_robot' But it didn't appear in the Insert list.
Now I can't find the model direction in the Insert interface, resulting I can't do anything with my model. I've been stuck in this problem for days, hope someone can help me. Thanks a lot!
Update
I've try the method in here
I use
sudo gedit ~/.bashrc
and add this
export GAZEBO_MODEL_PATH=/home/iclab/gazebo_models/my_robot:$GAZEBO_MODEL_PATH
My model locates in my_robot file. After I save the changes, I close and open gazebo again, but the Insert interface still remain the same:
I don't know what is going on here...
Please don't complement your question with an answer, I just moved the answer to an Update section above ;)
Thanks! Sorry about that, I did so because I want to attach an image with my question