mirror of
https://github.com/wassname/pyrobolearn.git
synced 2026-09-09 11:31:38 +08:00
22 lines
1.1 KiB
Markdown
22 lines
1.1 KiB
Markdown
## Worlds
|
|
|
|
This folder contains examples on how to create a world in the simulator, how to load different shapes in it (such
|
|
as spheres, cubes, and others) with collisions or not, load various objects that are specified in URDFs/SDFs (such
|
|
as robots), load a terrain from a heightmap, generate a terrain, and other functionalities.
|
|
|
|
The world is usually created once the simulator has been selected.
|
|
|
|
Here are the examples that the user can try:
|
|
1. `load_world.py`: load a basic world (i.e. with a floor and gravity enabled) with different objects (only visual,
|
|
and with collisions) that are movable, fixed, or are moving.
|
|
2. `follow_moving_body.py`: follow a moving body with the world camera.
|
|
3. `move_camera.py`: get the world camera and move it in the world using the keyboard interface.
|
|
4. `load_robot.py`: load a robot in a basic world and distribute randomly few objects on the floor.
|
|
5. `load_heightmap.py`: load a terrain from a heightmap (png) and load a robot on it.
|
|
6. `generate_terrain.py`: generate a terrain and distribute randomly few objects on the terrain.
|
|
|
|
|
|
#### What to check next?
|
|
|
|
Check the `pyrobolearn/examples/robots` folder.
|