- Follow go2_control_interface install procedure.
- Then clone this repo in the cyclonedds_ws/src/ directory (next to the go2_control_interface repo for instance)
cd src # cd unitree_ros2/cyclonedds_ws/src git clone --recurse-submodules [email protected]:inria-paris-robotics-lab/go2_onnx_controller.git
- Recompile
cd ../ colcon build --packages-skip unitree_sdk2_python source install/setup.bash
- A joystick needs to be plugged in the computer
- See Go2_control_interface: How to control the robot. Most likely you will run:
to start the simulation.
# mamba activate go2_control_interface # source install/setup.bash # source <(ros2 run go2_control_interface autoset_environment_dds.py SIMULATION) ros2 launch go2_simulation launch_sim.launch.py
- In another terminal:
# mamba activate go2_control_interface # source install/setup.bash # source <(ros2 run go2_control_interface autoset_environment_dds.py SIMULATION) ros2 launch onnx_controller controller_and_joystick.launch.py