Autonomous inspection is the killer app for legged robots, and the math is getting hard to ignore.

This guide covers “stream sensor data to the cloud” on the Unitree B2. It assumes you have the robot, a development machine and the official SDK.

What you need

  • A Unitree B2 with a charged battery and a safe open area for testing.
  • SDK 2.0 installed (C++/Python) and a ROS 2 workspace if you use it.
  • A host machine on the same network as the robot.
  • The Unitree account and the robot’s serial for licence-linked features.

Step by step

  1. Update firmware and confirm the robot reports healthy telemetry.
  2. Connect from the SDK and read a live state sample to prove the link.
  3. Implement the smallest version of “stream sensor data to the cloud” you can, and log every run.
  4. Add safety limits: speed caps, geofence and an e-stop path.
  5. Test on flat ground, then one harder surface, before any real deployment.
  6. Document the routine so the next operator can repeat it.

Common pitfalls

  • Skipping the flat-ground test and going straight to hard terrain.
  • Forgetting spare batteries for long autonomous schedules.
  • Writing custom gait code before the stock stack is understood.
  • No e-stop or geofence — never skip the safety path.

Next steps

Once the basics work, move the behaviour into simulation (NVIDIA Isaac) to tune it safely, then deploy to the real Unitree B2 with logging turned on.

Frequently asked questions

Do I need ROS 2 for this?
No. The Python SDK is enough for most tasks; ROS 2 helps when you already run a robotics stack.

Can I run it without writing code?
Yes for patrol and mapping via the app; custom “stream sensor data to the cloud” needs the SDK.

Want the hardware to try this on? Unitree B2 Request a quote stream sensor data to the cloud with the Unitree Go2 Edu: developer notes capture and label training data for locomotion with the Unitree G1: developer notes How to trigger alarms from on-device detection on a Unitree Unitree G1.

Specifications are publicly reported and approximate; exact figures depend on configuration, region and production batch. Confirm the current sheet with your supplier before purchase.