
First contact happens on a load-rated gantry
Hang the robot so its feet are clear of the floor, with a hardware e-stop within reach of a second person. Your first commands should never be able to drop 35 kg or more onto a shared lab floor.
UNITREE SDK2 · HIGH-LEVEL VS LOW-LEVEL · SAFE BRING-UP
Most Unitree development incidents start with one wrong assumption: that you can mix the onboard walking controller with your own joint commands. This guide separates the high-level sport/loco clients from low-level rt/lowcmd control, shows which one fits your project, and gives a pre-run safety checklist you can paste into your lab SOP.
Use the high-level clients when you want the robot to walk, turn or stand while your code only sends velocity or posture goals; use low-level control when your code must own every joint every cycle. High-level control keeps Unitree's onboard locomotion controller in charge, which is the safest path for navigation, perception and interaction projects. Low-level control means you publish LowCmd messages to rt/lowcmd and read rt/lowstate yourself, which is how reinforcement-learning policies and custom whole-body controllers are deployed, but it requires an unlocked EDU-class trim and a deliberate bring-up sequence.
Tell us your country, team size and target workload. A GUMA engineer replies in writing within one business day, and we ship genuine Unitree hardware worldwide with 1-on-1 development coaching.
| Dimension | High-level (sport / loco client) | Low-level (rt/lowcmd + rt/lowstate) |
|---|---|---|
| What your code commands | Velocity, posture and pre-defined motions; the onboard controller handles balance and gait | Per-joint targets, gains and torques every control cycle; you own balance and gait |
| Who keeps the robot upright | Unitree's onboard locomotion controller | Your controller or policy. A bug can fall the robot within a fraction of a second |
| Typical use | Navigation, perception and conversation front-ends, ROS 2 bridges, trade-show interaction | Reinforcement-learning deployment, whole-body control research, custom gait and actuator studies |
| Access you need | SDK2 clients on a trim that exposes them | An unlocked EDU-class trim; the standard consumer trims do not expose the low-level interface |
| Setup effort | Low: network discovery and a client call | High: DDS version pinning, joint-index tables, release of the onboard controller, gain ramps, e-stop plan |
| Main failure mode | Commands rejected or ignored when the wrong mode is active | Two controllers fighting for the same motors, or a policy exceeding limits |
Interface names follow Unitree's public SDK2 repositories; exact service and topic names, message fields and CRC handling differ by robot model and SDK version, so always start from the official example for your model.

Hang the robot so its feet are clear of the floor, with a hardware e-stop within reach of a second person. Your first commands should never be able to drop 35 kg or more onto a shared lab floor.

rt/lowstate and audit it firstConfirm joint count, zero offsets, temperatures, IMU sanity and a steady message rate with no gaps. If the read path is unreliable, a write path will be worse; fix discovery and the network interface before sending any command.

Use the official motion-switcher or release service for your model to stop the onboard locomotion controller before publishing LowCmd. If both are active the motors receive conflicting targets, which shows up as jitter, ignored commands or sudden torque.

Ramp stiffness from zero over a second or two, clamp targets to joint limits and cap torque for the first runs. Keep a damping-mode exit that runs on SIGINT and on any exception, and send valid, well-formed commands at a steady rate; Unitree's own examples run their control thread at a fixed period, so copy that structure.
| Check | Pass criterion | What it prevents |
|---|---|---|
| 1. Trim and interface access | Written confirmation that low-level SDK2 is enabled on the delivered unit (EDU-class trim) | Discovering after delivery that the interface is locked |
| 2. Version pinning | Python, CycloneDDS and SDK2 versions recorded and identical on every lab machine | Works on one laptop, fails on the next |
| 3. Read-only audit | Stable rt/lowstate stream, correct joint count, plausible zero offsets and temperatures | Commanding a robot whose state you cannot trust |
| 4. Controller released | Onboard locomotion controller confirmed stopped before the first LowCmd | Two controllers fighting for the same motors |
| 5. Gantry and e-stop | Robot suspended, hardware e-stop within reach, clear perimeter | Falls and hand or cover damage on first runs |
| 6. Soft start | Gains ramped from zero, targets clamped to limits, torque capped for the first sessions | Sudden motion from an uninitialised target or a mis-signed joint |
| 7. Exit path | Ctrl+C and any exception drive the robot to a damping hold, then close channels cleanly | Dropping the robot when a script crashes |
Send your robot model and the controller you plan to run. We will confirm interface access, the safe bring-up sequence and the spares to budget, in writing, before you place the order.
Not on the same joints at the same time. Release the onboard controller first, then own the motors from your code, or stay on the high-level clients and let Unitree's controller handle balance. Mixing both on the same motors produces conflicting targets.
Usually not. Navigation, perception and conversation front-ends normally send velocity goals through the high-level clients and run on the DDS or ROS 2 side. Choose low-level control only when your policy or controller must command joints directly. Read our ROS 2 and CycloneDDS troubleshooting checklist for discovery issues.
EDU-class trims expose the secondary-development interfaces, including high- and low-level control, DDS and ROS 2 compatibility, according to Unitree's public specifications. The standard consumer trims do not. Confirm the delivered configuration in writing before you rely on it.
Yes. We ship genuine Unitree hardware worldwide and provide English remote onboarding and 1-on-1 development coaching, including JetPack 6 provisioning, CycloneDDS configuration and bring-up planning. Start with a 15-second quote request or message us on WhatsApp.
Related reading: Which Unitree G1 should you buy for development? · CycloneDDS and JetPack 6 hardening · G1 fleet operations and RaaS TCO