isaac_ros_unitree_g1_cloud_control_bringup#
Source code available on GitHub.
Overview#
Top-level launch file for VDA5050-based cloud control of the Unitree G1 humanoid. It combines the AGILE locomotion policy and the GR00T manipulation policy with the VDA5050 mission client, so a fleet management system (Isaac Mission Control / Mission Dispatch) can command navigation and manipulation over MQTT.
The mission client dispatches navigation Orders to nav2 and manipulation
Orders through the
isaac_ros_humanoid_task_server
action server, which opens a gate on the GR00T deploy pipeline output. GR00T
Triton inference runs continuously, but its output only reaches the robot while
a task is active. The robot stays balanced through AGILE at all times. The GR00T
deploy pipeline isaac_ros_deploy
feeds the gate. ros2_control then applies commands to the G1 through the
AGILE inference controller (legs/waist) and the upper-body controller
(arms/hands).
On real hardware the launch optionally brings up a camera with camera-based
localization: Visual SLAM (VSLAM) provides
visual odometry/SLAM and owns the map→odom transform, and Visual
Global Localization (VGL) localizes against a prebuilt map. Together they
supply odometry and a global pose to nav2. The localization camera is the
Intel RealSense D435.
For background on missions, Orders, and the behavior-tree model used by the fleet system, refer to Cloud Control.
Tutorial — Cloud Control of the Unitree G1#
This tutorial:
brings up the Mission Control and Mission Dispatch cloud stack
launches the G1 robot stack with camera-based localization
submits a mission that navigates and then runs a GR00T manipulation task on real hardware
Note
This tutorial has been tested on Jetson AGX Thor for real-robot deployment. Simulation (Isaac Sim) is also supported on x86_64. Refer to the Isaac Sim tabs in the map and launch steps below.
Prerequisites#
Required for all targets (real robot and Isaac Sim):
A host running the cloud stack (Docker + Docker Compose) reachable over the network from the machine running the robot stack. Note its IP address (used as
mqtt_host_name). Needed wheneverenable_mission_client:=True, regardless ofhardware_type.
Real robot only:
A Unitree G1 powered on and connected to the robot host through Ethernet.
The host-to-G1 network configured using the network setup script. If you have not already, run the Set up the network step under the Real Robot tab of Launch the application in the teleop doc. Note the interface it selects. You pass it to the launch as
network_interface.An Intel RealSense D435 mounted on the robot (the default localization camera).
The real-hardware host prerequisites. This stack reuses the GR00T + AGILE inference graph, so complete Real-Hardware Prerequisite Details (CUDA MPS and real-time scheduling,
--ulimit rtprio=99, on the Jetson AGX Thor) beforeisaac-ros activate.GR00T manipulation through cloud control is supported on real hardware only.
Simulation only:
An x86_64 host with an NVIDIA GPU and Isaac Sim installed. Set
ISAAC_PATHto the Isaac Sim install root (the directory that containsisaac-sim.shandpython.sh).A prebuilt G1 navigation USD.
Isaac Sim supports navigation through cloud control. GR00T manipulation tasks through cloud control are not supported in Isaac Sim.
Set Up Development Environment#
Set up your development environment by following the instructions in getting started.
(Optional) Install dependencies for any sensors you want to use by following the sensor-specific guides.
Note
We strongly recommend installing all sensor dependencies before starting any quickstarts. Some sensor dependencies require restarting the development environment during installation, which will interrupt the quickstart process.
The recommended Docker config.yaml for this workflow is the following:
docker:
image:
additional_image_keys:
- realsense
- gr00t_workflow
Build isaac_ros_unitree_g1_cloud_control_bringup#
Install and build
isaac_ros_unitree_g1_cloud_control_bringup:Activate the Isaac ROS environment:
isaac-ros activateInstall the prebuilt Debian package:
sudo apt-get update
sudo apt-get install -y ros-jazzy-isaac-ros-unitree-g1-cloud-control-bringup
Install Git LFS:
sudo apt-get install -y git-lfs && git lfs install
Clone this repository under
${ISAAC_ROS_WS}/src:cd ${ISAAC_ROS_WS}/src && \ git clone -b release-4.6 https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_physical_ai.git isaac_ros_physical_ai
Activate the Isaac ROS environment:
isaac-ros activateUse
rosdepto install the package’s dependencies:sudo apt-get update
rosdep update && rosdep install --from-paths ${ISAAC_ROS_WS}/src/isaac_ros_physical_ai/isaac_ros_unitree_g1_cloud_control_bringup --ignore-src -y
Build the package from source:
cd ${ISAAC_ROS_WS}/ && \ colcon build --symlink-install --packages-up-to isaac_ros_unitree_g1_cloud_control_bringup --base-paths ${ISAAC_ROS_WS}/src/isaac_ros_physical_ai/isaac_ros_unitree_g1_cloud_control_bringup
Source the ROS workspace:
Note
Repeat this step in every terminal created inside the Isaac ROS environment. Because you built this package from source, you must source the enclosing workspace for ROS to find the package’s contents.
source install/setup.bash
To use Isaac Sim, make Isaac ROS Deploy available and build the source-only Isaac Sim extension package. Skip the clone if
isaac_ros_deployis already present in${ISAAC_ROS_WS}/src.cd ${ISAAC_ROS_WS}/src && \ git clone -b release-4.6 https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_deploy.git isaac_ros_deploy rosdep update && rosdep install --from-paths ${ISAAC_ROS_WS}/src/isaac_ros_deploy --ignore-src -y cd ${ISAAC_ROS_WS}/ && \ colcon build --symlink-install --packages-up-to isaac_ros_deploy_isaac_sim_extension source install/setup.bash
Download and install the GR00T policy assets.
rosdepdoes not pull these, and they require EULA acceptance:ros2 run isaac_ros_gr00t_unitree_g1_install install_gr00t_unitree_g1.sh --eula
This downloads the model files to
${ISAAC_ROS_WS}/isaac_ros_assets/. Refer to isaac_ros_unitree_g1_gr00t for details. These assets are required for real-hardware manipulation through cloud control.
Bring Up the Mission Control / Mission Dispatch Cloud Stack#
The robot connects to a fleet-management cloud stack over MQTT. The stack is defined in the Isaac Mission Control repository and includes the MQTT broker (Mosquitto), PostgreSQL, the mission database, Mission Dispatch, the waypoint-path generator, cuOpt, and the Mission Control service.
On the cloud-stack host, clone the Isaac Mission Control repository and change into it:
git clone https://github.com/nvidia-isaac/isaac_mission_control.git cd isaac_mission_control
Configure Mission Control. The Mission Control service reads its config from
app/config/defaults.yaml(mounted into the container as/tmp/config/defaults.yamlbecauseCONFIG_DIRon the host is bind-mounted to/tmp/config). For the G1 you mainly need to update the map references and the robot name:robots: - name: "g1_0" labels: ["test", "ros"] heartbeat_timeout: 30 map: map_file: "/tmp/config/maps/occupancy_map.png" metadata_yaml: "/tmp/config/maps/occupancy_map.yaml"
Note
For the sample Isaac Sim scene, copy the carter_warehouse_navigation reference occupancy map into
config/mapsand use:map: map_file: "/tmp/config/maps/carter_warehouse_navigation.png" metadata_yaml: "/tmp/config/maps/carter_warehouse_navigation.yaml"
Set the robot
nameunderrobots:to match theserial_numberyou launch with (g1_0in this tutorial). The map directoryconfig/mapson the host is mounted at/tmp/config/mapsin the container, somap_fileandmetadata_yamlmust point at paths under that mounted directory (/tmp/config/maps/...), not host paths. Place theoccupancy_map.pngandoccupancy_map.yamlfrom your map folder there. Use the same map folder you pass to the robot launch asmap_dir/map(refer to Launch the Robot Stack).From the root of the cloned repository, start the stack, including the Mission Control service, with the
enable_mission_controlprofile:docker compose -f docker-compose/bringup_services.yaml \ --profile enable_mission_control up
This launches:
mosquitto — the MQTT broker the robot connects to (TCP + WebSocket listeners).
postgres + mission-database — persistence and the database API.
mission-dispatch — translates missions into VDA5050 Orders and tracks robot/mission state.
wpg + cuopt — waypoint-path generation and route optimization.
mission-control — the orchestration service and UI (
enable_mission_controlprofile).
Note
All services use
network_mode: host. Note the IP address of this host. You pass it to the robot launch asmqtt_host_nameso the VDA5050 client connects to this broker. The robot host and the cloud-stack host must be on the same reachable network.Note
When you are finished with the tutorial, bring the stack down from the root of the repository using the following command:
docker compose -f docker-compose/bringup_services.yaml \ --profile enable_mission_control down
Launch the Robot Stack#
Inside the Isaac ROS environment, launch the cloud control stack. On the robot host, use this for real hardware. Alongside a running Isaac Sim instance, use it for simulation.
Note
In every terminal used for the real-robot procedure, source the ROS
environment before running any ros2 launch, ros2 topic, or
ros2 param command.
For a Debian package installation, source the ROS environment:
source /opt/ros/jazzy/setup.bash
If you followed Build from Source, source the workspace overlay:
source "${ISAAC_ROS_WS}/install/setup.bash"
Note
Set MAP_DIR to your map folder (the one holding cuvslam_map/,
cuvgl_map/, and occupancy_map.yaml). Replace
<cloud-stack-host-ip> with the IP of your cloud-stack host, and
<network_interface> with the interface selected during the network
setup step (refer to Prerequisites). Set serial_number to your robot’s
serial (g1_0 in this tutorial).
Note
If VGL reports that its TensorRT engine files cannot be found, follow
Export TensorRT Engine Files in
Tutorial: Localization with cuVGL
to build the engine files inside the Isaac ROS environment. Set
VGL_MODEL_DIR below to the same output directory used for
OUTPUT_MODEL_DIR in that tutorial. The cloud-control launch argument
vgl_model_dir must point to this directory when using the generated
engine files.
export MAP_DIR=/path/to/map_folder # contains cuvslam_map/, cuvgl_map/, occupancy_map.yaml
export VGL_MODEL_DIR=/path/to/output_model_dir # contains the generated VGL engine files
ros2 launch isaac_ros_unitree_g1_cloud_control_bringup unitree_g1_cloud_control.launch.py \
hardware_type:=real \
network_interface:=<network_interface> \
use_sim_time:=False \
enable_camera_localization:=true \
enable_vgl:=true \
enable_vslam:=true \
use_foxglove:=true \
camera_name:=realsense_d435_rgb \
map_dir:="$MAP_DIR" \
vgl_model_dir:="$VGL_MODEL_DIR" \
map:="$MAP_DIR"/occupancy_map.yaml \
enable_mission_client:=True \
mqtt_host_name:=<cloud-stack-host-ip> \
mqtt_port:=1883 \
serial_number:=g1_0
Note
During startup, visual_global_localization_node might report that it
cannot look up transforms between the RealSense optical frames and
pelvis because they are not yet part of the same TF tree. It is normal
to observe these messages for a few seconds while the camera transforms
become available; they stop after the TF tree is connected.
After launch, while both safety controllers are still disabled
(blend_ratio=0.0) and the robot is idle, open Foxglove Studio,
connect to the robot’s foxglove_bridge (ws://<robot-host-ip>:8765),
and import the bundled layout
foxglove_layouts/foxglove_layout_cloud_control.json from this package
(Layouts > Import from file…). Use it to confirm the RealSense
camera feed is streaming and that the robot is localized correctly
(VSLAM/VGL has converged and the robot’s pose on the occupancy map matches
its true position in the space) before enabling the policies or sending a
route.
Start Isaac Sim first with the G1 navigation USD loaded through the Isaac
ROS Deploy Isaac Sim extension, then press Play. Then launch the
cloud control stack with hardware_type:=isaacsim.
Set the Isaac Sim deploy-extension environment and point
DEPLOY_USDat the production prebuilt G1 navigation USD. The prebuilt USD already includes the Isaac ROS Deploy actuator and ROS 2 bridge graphs, so you do not need to run the USD baker steps from the Isaac ROS Deploy docs. To rebuild or customize the USD, refer to the Isaac Sim sections of Isaac ROS Deploy AGILE tutorial and Isaac ROS Deploy Bring Your Own Embodiment guide.export DEPLOY_USD=https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/6.0/Isaac/Samples/ROS2/Scenario/g1_ros_navigation.usd export PYTHONPATH=${ISAAC_ROS_WS}/src/isaac_ros_deploy/isaac_deploy/isaac_ros_deploy_isaac_sim_extension:$PYTHONPATH export LD_LIBRARY_PATH=$ISAAC_PATH/exts/isaacsim.ros2.core/jazzy/lib:$LD_LIBRARY_PATH export ROS_DISTRO=jazzy export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
Launch Isaac Sim with the deploy extension and the prebuilt deploy USD. Point
--ext-folderat the source extension directory,${ISAAC_ROS_WS}/src/isaac_ros_deploy/isaac_deploy/isaac_ros_deploy_isaac_sim_extension.$ISAAC_PATH/isaac-sim.sh \ --ext-folder ${ISAAC_ROS_WS}/src/isaac_ros_deploy/isaac_deploy/isaac_ros_deploy_isaac_sim_extension \ --enable isaac_ros_deploy_isaac_sim_extension \ --/exts/isaac_ros_deploy_isaac_sim_extension/usd=${DEPLOY_USD}
Wait until the Isaac Sim log prints
app ready, then press Play.Important
Pressing Play starts the physics timeline and the ROS 2 bridge. Until the timeline is running, the simulation clock does not advance, live joint-state and IMU data are not produced, and the controllers may wait or time out. The virtual gantry also applies support during physics steps, so do not disengage it until the policy is active and balancing.
Open another sourced terminal and launch the cloud control stack:
Note
Replace
<cloud-stack-host-ip>with the IP of your cloud-stack host, and setmapto theoccupancy_map.yamlyou generated from the sim scene.use_sim_time:=Truebecause Isaac Sim publishes/clock. Camera localization is off. Odometry is provided by Isaac Sim while the launch publishes the staticmap→odomanchor atinit_pose_*(set these to match where the robot spawns in the scene). Setserial_numberto your robot’s serial (g1_0in this tutorial).ros2 launch isaac_ros_unitree_g1_cloud_control_bringup unitree_g1_cloud_control.launch.py \ hardware_type:=isaacsim \ use_sim_time:=True \ enable_camera_localization:=false \ use_static_tf:=True \ use_foxglove:=false \ enable_mission_client:=True \ map:=/path/to/occupancy_map.yaml \ mqtt_host_name:=<cloud-stack-host-ip> \ mqtt_port:=1883 \ serial_number:=g1_0 \ init_pose_x:=0.0 init_pose_y:=0.0 init_pose_yaw:=0.0
Open another sourced terminal and enable the AGILE locomotion policy:
ros2 param set /safety_controller_lower_body blend_ratio 1.0
Open another sourced terminal and send zero-velocity commands to activate the AGILE inference controller and start balancing:
ros2 topic pub /cmd_vel geometry_msgs/msg/Twist '{}'
Verify that the policy is balancing the robot before proceeding.
After the policy is balancing, focus the Isaac Sim viewport and press G to disengage the virtual gantry and let the robot stand on its own. Stop the manual velocity publisher before submitting a cloud navigation mission so that it does not compete with navigation commands.
Enable the Policies (Real Robot Only)#
This stack uses the same two safety controllers as the GR00T deploy stack:
/safety_controller_lower_body gates the AGILE locomotion policy and
/safety_controller_upper_body gates the GR00T manipulation policy.
On real hardware both safety controllers default to blend_ratio=0.0
(disabled). Review the real-hardware safety and abort guidance in
the GR00T deploy Launch section.
Note
Navigation and manipulation cannot currently be combined or chained in the same cloud mission. Submit them as separate mission runs:
For a navigation run, leave the upper-body controller disabled and submit only the navigation mission.
For a manipulation run, complete the robot and workspace setup in Manipulation Missions, enable the upper-body controller, and then submit only the manipulation mission.
Manipulation Missions#
Note
Before enabling either controller for the bundled apple-to-plate manipulation mission:
Position G1 directly in front of the table with the workspace in reach.
Rest the robot’s hands flat on the tabletop and keep them above the table edge while enabling the controllers.
Place the apple and plate in front of the robot on the table.
Confirm that the live RealSense view shows the apple, plate, and table within reach.
Do not continue until the robot and workspace are in the required pose. For complete safety and camera-verification guidance, refer to the GR00T real-robot launch instructions.
Open another sourced terminal after completing that setup and enable the lower-body policy:
ros2 param set /safety_controller_lower_body blend_ratio 1.0
In the same sourced terminal, enable the upper-body policy:
ros2 param set /safety_controller_upper_body blend_ratio 1.0
Enabling the upper-body controller immediately gives the GR00T policy control of the arms. After the manipulation mission completes, set the upper-body
blend_ratioback to0.0:ros2 param set /safety_controller_upper_body blend_ratio 0.0
For Isaac Sim, cloud control supports navigation only.
Submit a Mission#
With the cloud stack up and the robot registered and balancing, submit a mission.
For a navigation mission in an open environment, such as the sample Isaac Sim scene, submit the destination directly to Mission Dispatch. This lets you send a goal pose without first defining a waypoint graph. For structured environments that use waypoint-based routing, refer to the Mission Control option below.
Open the Mission Dispatch interactive API reference (Swagger) at
http://<host_ip>:5002/docs, where <host_ip> is the cloud-stack host.
Before submitting a mission, choose a destination pose on a free (non-obstacle)
cell of the loaded map. The coordinates below are an example.
Submit the route to the Mission Dispatch POST /mission endpoint:
{
"robot": "g1_0",
"mission_tree": [
{
"name": "goto",
"parent": "root",
"route": {
"waypoints": [
{
"x": 2.0,
"y": 0.0,
"theta": 0.0,
"map_id": "map"
}
]
}
}
],
"timeout": 300
}
Set robot to the same value as the launch serial_number and update the
waypoint pose for the desired destination.
Mission Control option: Use Mission Control to plan and optimize a route through multiple waypoints. Use the Waypoint Selection Tool to select free cells on the loaded map and generate the route. The Isaac Mission Control Tutorial walks through loading a map, selecting waypoints, visualizing the route, and submitting a mission.
Submit the route through the Mission Control UI or to the
POST /mission/submit_mission endpoint. The Mission Control interactive API
reference is at http://<host_ip>:8050/api/v1/docs, where <host_ip> is
the cloud-stack host. For example:
{
"route": [
{
"x": 2.0,
"y": 0.0
},
{
"x": 4.0,
"y": 2.0
}
],
"iterations": 1,
"timeout": 3600,
"solver": "NVIDIA_CUOPT",
"teleop": []
}
The coordinates are placeholders. Verify every waypoint against the loaded map before submitting the mission.
For real robot only, a manipulation mission is exposed as a VDA5050
ACTION node with action_type: humanoid_manipulation. Submit the
Objective to the Mission Control POST /objective/submit_objective endpoint
or through the Mission Control UI. Refer to the
Mission Control Objectives guide
for the full schema. The Mission Control interactive API reference is at
http://<host_ip>:8050/api/v1/docs, where <host_ip> is the cloud-stack
host.
Example request:
{
"node_class": "BEHAVIOR",
"node_type": "ACTION",
"parameters": {
"robot_name": "g1_0",
"action_type": "humanoid_manipulation",
"action_parameters": {
"task_category": "manipulation",
"task_id": "apple_to_plate",
"language_instruction": "pick up the apple and place it on the plate",
"timeout": "30.0"
}
}
}
Note
GR00T manipulation tasks through cloud control are supported on real hardware only. Isaac Sim supports navigation missions through cloud control.
Note
In the current bridge, only timeout affects execution. It sets how long
the GR00T output gate stays open. task_category, task_id, and
language_instruction are carried through and logged (and echoed in action
feedback) but do not select or condition the policy: the active policy is
fixed by the controller_group launch argument. They are accepted for
forward compatibility, so keep them meaningful.
API#
Usage#
ros2 launch isaac_ros_unitree_g1_cloud_control_bringup unitree_g1_cloud_control.launch.py
Launch Arguments#
Launch Argument |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Hardware platform. Options: |
|
|
|
[MuJoCo only] Enable the MuJoCo viewer GUI. |
|
|
|
[Real hardware only] Network interface for G1 communication. |
|
|
|
Start the Foxglove Studio bridge for visualization. |
|
|
|
Use the simulation clock ( |
|
|
|
Controller group from |
|
|
|
VDA5050 robot serial number (used to construct MQTT topics). Must match the
robot registered in the fleet system (for example, |
|
|
|
Robot base frame for TF lookups and |
|
|
|
Launch the VDA5050 mission client + MQTT bridge + |
|
|
|
Full path to the nav2 map file (occupancy map). |
|
|
|
Full path to the |
|
|
|
Publish a static |
|
|
|
Initial robot X position on the map (meters). |
|
|
|
Initial robot Y position on the map (meters). |
|
|
|
Initial robot yaw on the map (radians). |
|
|
|
[Real hardware only] Launch the camera + VSLAM + VGL for camera-based
localization. Requires |
|
|
|
[Camera localization] Camera name. Also used to find params under
|
|
|
|
[Camera localization] Comma-separated camera(s) feeding VSLAM/VGL.
Defaults to |
|
|
|
[Camera localization] Folder containing |
|
|
|
[Camera localization] Enable VSLAM (visual odometry + optional SLAM). |
|
|
|
[Camera localization] Enable Visual Global Localization. |
The included isaac_ros_vda5050_client.launch.py declares the following
arguments, which the launch command reads:
Launch Argument |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
IP/hostname of the MQTT broker (the cloud-stack host). |
|
|
|
Port of the MQTT broker to connect to. |
Dependencies#
Package |
Role |
|---|---|
|
Controller manager, AGILE + GR00T inference graph. |
|
GR00T output gate and humanoid task action server. |
|
GR00T deploy launch building blocks (also provides the RealSense driver dependency). |
|
Isaac Sim deploy extension used to load the prebuilt G1 navigation USD. |
|
VDA5050 client, MQTT bridge, and |
|
Camera-based localization (when |
Troubleshooting#
Velocity Safety Check Triggers During Freeze Controller Switch#
Problem#
The safety controller can detect a joint velocity above its configured
max_velocity threshold while handing control to the emergency hold
controller.
Symptom#
The launch logs a velocity safety failure, requests freeze_controller, and
then reports a successful controller switch:
Safety emergency latched: Velocity safety check failed: max velocity 35.72 rad/s exceeds threshold 35.00 rad/s in input 'joint_velocities'. Requesting emergency controller 'freeze_controller'
Activating controllers: [ freeze_controller ]
Deactivating controllers: [ joint_command_broadcaster safety_controller inference_controller upper_body_forward_joint_command_controller ]
FreezeController activated - holding 43 joints using impedance control
Successfully switched controllers!
The final Successfully switched controllers! message means the emergency
switch to freeze_controller succeeded. The launch is still in a latched
safety state because the measured joint velocity exceeded max_velocity.
Solution#
If this happens while switching directly to freeze_controller and the spike
is expected, increase only the installed safety velocity-threshold
max_velocity value in the unitree_g1_bringup controller configuration and
relaunch:
PKG_PREFIX=$(ros2 pkg prefix unitree_g1_bringup)
CONFIG="${PKG_PREFIX}/share/unitree_g1_bringup/config/controller_manager.yaml"
grep -n -A4 "velocity_threshold" "${CONFIG}"
sudo cp "${CONFIG}" "${CONFIG}.bak"
sudo sed -i 's/max_velocity: 35.0/max_velocity: 40.0/g' "${CONFIG}"
In the safety_controller configuration block, update only
out_of_domain_detection.velocity_threshold.max_velocity. For example, change
max_velocity: 35.0 to max_velocity: 40.0. If the log names
safety_controller_lower_body or safety_controller_upper_body instead,
update the matching controller block.
Only raise this threshold after confirming the velocity spike is caused by the expected controller transition and not by unstable robot or simulation behavior. Fully restart the launch after editing the file; changing the YAML on disk does not clear an already latched emergency.