We provide utility scripts to build and run the HURo docker image in the docker folder:
cd dockerTo build the docker image:
cd docker && ./build.shTo launch a docker container (first or subsequent instances):
./run.shUntil now, HURo has been tested on the Unitree G1 humanoid and Unitree Go2 quadruped robots. It supports deployment both on hardware and on a MuJoCo simulation.
To build the workspace code and examples, launch an interactive container session:
cd docker && ./run.shThen build with colcon:
colcon buildHURo supports seamless simulation (MuJoCo) and real robot deployment. This is achieved by selecting the appropriate network interface and setting it up on CycloneDDS.
In each docker terminal source the setup_uri script and pass lo (loopback) as an argument:
docker> source setup_uri.sh loRun the root, simulation and rviz node:
ros2 launch huro ROBOT_sim.launch.pyreplacing robot with either "g1" or "go2".
Set up a wired connection with the following:
IP address: 192.168.123.222 (static)
Netmask: 24
Gateway: 192.168.123.1
Check the available network interfaces and note down your ethernet interface by running:
ip aIn each docker terminal source the setup_uri script and pass the ethernet interface name as an argument:
docker> source setup_uri.sh ETH_INTERFACERun the root, and rviz node:
ros2 launch huro ROBOT_rviz.launch.pyIf you are connected to a robot, this will open up an RViz window that updates joint and floating base position as these move.