chvmp / champ

MIT Cheetah I Implementation
BSD 3-Clause "New" or "Revised" License
1.47k stars 342 forks source link

gazebo world #90

Open juno100 opened 2 years ago

juno100 commented 2 years ago

hi i want to slam with champ in gazebo

But I don't see any other environment

How can I see the construction site environment like the example? Screenshot from 2022-07-01 14-38-11

thank you

x4ahmed commented 1 year ago

This issue arises when the gazebo environment is unable to load the world models. In my instance, this required changing the database URL that gazebo uses to retrieve the models.

The steps that follow provide a quick explanation of how to correct this error:

  1. To display the precise problems in the terminal when you run gazebo, add this line to your champ/champ_gazebo/launch/gazebo.launch file under the "include" tag. <arg name="verbose" value="true" />

  2. Now you should be able to see the error as following: image

  3. Simply add this line to your.bashrc file and ensure that your setup.bash and setup.sh workspace files are being sourced as shown in the next screenshot. export GAZEBO_MODEL_DATABASE_URI=http://models.gazebosim.org/ Screenshot from 2022-08-31 09-33-08