Simulation installation
If you want to try movements on the robot without using the real robot, you can install a simulated Reachy 2 on your computer, and run it the same way the real robot is run. You’ll have a rviz window to see the fake robot move.
The easiest way is using a docker image. We will thus assume that you already have docker installed and setup.
Clone the sources of our docker, and pull the sources:
git clone git@github.com:pollen-robotics/docker_reachy2_core.git
cd docker_reachy2_core
./sources checkout stable
Then download the configuration files:
git clone git@github.com:pollen-robotics/reachy_config_example.git
cp -r reachy_config_example/.reachy_config ~/
In your docker_reachy2_core folder, compose a container with:
docker compose -f mode/dev.yaml up -d core
This can take a few minutes to compose.
Build:
full_build
cbuilds
In a first terminal, launch the robot server:
# terminal 1
docker exec -it core bash
ros2 launch reachy_bringup reachy.launch.py fake:=true start_sdk_server:=true start_rviz:=true
Keep this terminal open, and in a second terminal:
# terminal 2
docker exec -it core bash
python3 ../dev/reachy2-sdk/src/example/test_goto.py
If you have the Python SDK installed on your computer, you can launch the example outside the container.