RIG-Hover: a $109 two-wheel desk robot that balances on an LQR loop
Two-wheel balancing is the textbook unstable system. Let go of a two-wheeled body and gravity wins in well under a second; keep it up and you are solving an inverted pendulum continuously, in real time, forever. RIG-Hover is a desk robot built around that single problem, and the interesting part is not that it balances. It is that it balances on one ESP32-S3 while the same chip also runs a face, a voice pipeline and a tool interface that a language model can call.
It comes from Luwu Dynamics, the Wuxi company behind the XGO robot-dog line, whose core team traces back to the Harbin Institute of Technology's state key laboratory for robotics and systems. RIG is the newer series: 3D-printed shells, published firmware, and a deliberately narrow two-wheel stance instead of the wide track and high centre of gravity of a conventional balance board. The robot's Chinese name is Wenwen. In the vendor's shop the electronics kit is listed at $109 and the hand-built unit at $119.
One firmware, four robots

The firmware is called RIG-Omni, and it is one codebase that builds into four different machines. Picking your robot is a menuconfig choice at build time, not a separate download.
| Board target | Drive hardware | What it does |
|---|---|---|
| RIG-Puppy | five EM3 serial-bus servos | dog gait, head follow, preset actions |
| RIG-Hover | two KP4012 hub motors and one EM3 servo | balance, differential drive, gimbal mode |
| RIG-Arm | five SCS009 servos | arm motion, calibration, teach mode |
| RIG-TARS | three SCS009 servos | walking, turning, calibration |
Voice interaction, networking, sensor drivers, the camera, over-the-air updates and the MCP tool layer are shared. Motion, controls and display behaviour are per board. Hover is the only one of the four that has to stay upright, which is why it carries the most code that is worth reading.
The published specification for Hover is short and unusually specific for a desk toy.
| Controller | ESP32-S3-WROOM-1, dual core at 240 MHz |
| Motion | two brushless FOC hub motors with encoder feedback, plus one serial-bus servo |
| Degrees of freedom | three: differential wheel drive and a horizontal head rotation |
| Display | 1.09 inch round TFT, 240 by 240 pixels, GC9A01 |
| Camera | GC0308 over DVP |
| Audio | MEMS microphone and a 2 W speaker over I2S |
| Attitude sensing | QMI8658C six-axis IMU |
| Radio | 2.4 GHz Wi-Fi and Bluetooth provisioning |
| Battery | 2S 7.4 V lithium pack, 500 mAh |
| Size and mass | about 61 by 61 by 139 mm, about 375 g |
| Top glide speed | about 10 cm per second |
| Runtime | about 1.5 hours standing, about 1 hour with head and body both moving |
Note what is not in that table: no second microcontroller, no motor driver board with its own firmware, no radio module. The IMU, the motors, the servo, the display, the camera, the microphones and the speaker all hang off the same SoC.

The balance loop you can read

Most desk robots describe their balance algorithm in adjectives. This one ships it as source, so the numbers are checkable.
The controller is a linear-quadratic regulator over four states: position error, speed, pitch angle and pitch rate. The default gain vector in the firmware is 1300, 5, 25 and 0.4, applied in that order. Around it sit three PID loops with their own gains, a pitch-rate damping term, and a gravity feed-forward on the gimbal axis. None of these are presentation values; they are the constants a person tuned by hand on a desk.
Two details are worth stealing for your own projects.
- The head is inside the control loop. The pitch reference is rescaled by the cosine of the head angle, so turning the head changes the angle the controller is trying to hold. The two motions are coupled in the firmware rather than being treated as separate subsystems.
- Falling is an explicit state, not a failure. The robot considers itself fallen when pitch reaches 60 degrees or roll reaches 40, and upright only when both stay under 7 degrees. It boots in the fallen pose, and the loop refuses to engage until IMU calibration has finished. Torque is cut on a fall.
There is also a gimbal mode. Put Hover on a stand and it stops balancing and starts aiming: the same wheel motors hold a platform angle, with the pitch target clamped to plus or minus 45 degrees, and the head pan becomes the second axis. Switching between car mode and gimbal mode is exposed as a tool, so you can ask for it in a sentence rather than editing the firmware.
Six tasks on one chip

The reason this fits on one chip is scheduling discipline rather than compute.
The board layer adds three FreeRTOS tasks, all created at priority 12 and all pinned explicitly: robot_task on core 0 in a tight loop with no delay at all, motor_rx_task on core 1 with a 3 ms interval, and imu_task on core 1 with a 2 ms interval. The shared audio layer runs three more tasks at priorities 8, 7 and 2, and its stacks are allocated in PSRAM with static buffers rather than on the heap.
The ordering is the design decision. Balance sits above audio on purpose: a microphone read that arrives a millisecond late is inaudible, while a control pass that arrives late is a fall. robot_task deliberately has no sleep in its loop, which means a stall anywhere upstream shows up immediately as loss of balance instead of hiding as jitter.
The face is handled with the same attitude. Expressions are animated by an EAF engine with a GIF decoder underneath, wrapped so that every frame lands through the display driver, and the animation state is driven by audio events as well as by explicit commands. Hover ships 24 animation files: emotion states, listening and thinking faces, a low-battery icon, plus the calibration, remote-control and Wi-Fi provisioning screens.
What the open-source claim actually covers

Here the claim is broader than it usually is, and it is worth separating the parts.
- Firmware source is published. The repository carries the board layer, the shared application layer, the motion control, the tool server and the build system. It is C++ and it is the same tree the vendor builds from.
- The licence is stated in the README as Apache-2.0. There is no LICENSE file at the repository root at the time of writing, so treat the statement as the vendor's intent rather than as a machine-readable licence until one appears.
- Hardware design files are published separately. The vendor's resource library offers the RIG series driver board schematic, the 3D-printable design files, a URDF and simulation package, and a hardware interface manual for the dog. The shell is meant to be printed by the owner.
- The kit is not an assembled robot. The electronics kit arrives without the printed housing and without firmware flashed, so it assumes a 3D printer and a computer with a data-capable USB-C cable.
The repository is young and modest: created in June 2026, written in C++, around 112 stars and 28 forks at the time of writing, with the last push in early October 2026. Building it needs ESP-IDF 5.5.2 or newer and the usual three commands for a target and a menu.
idf.py set-target esp32s3
idf.py menuconfig # Board Type -> RIG-Hover, Firmware Region -> Overseas
idf.py build
idf.py -p COM5 flash monitor
Two interfaces are worth knowing before you buy one. Six MCP tools expose motion and state to a language model, so the robot can be driven in conversation rather than from a serial console.
| Tool | What it exposes |
|---|---|
| self.robot.head_angle | head pan angle, 0 at centre |
| self.robot.move | travel distance in centimetres, forward or back |
| self.robot.rotate | body yaw in degrees, independent of the head |
| self.robot.set_mode | switch between car mode and gimbal mode |
| self.robot.pitch | platform pitch, gimbal mode only |
| self.status.battery | remaining battery percentage and charging state |
The second interface is a small web server on the robot, intended for tuning rather than for control. It serves one page and two endpoints: one that returns live IMU and variable data, and one that sets a variable by index and value. That is the shortest path from reading the IMU trace to changing a gain and watching what happens. The vendor's own warning is that this page should never be exposed to the public internet.
Getting it to stand up

The published start-up sequence is more cautious than most product guides, and the caution is informative: this robot can hurt itself on the first power-on if you rush it.
- Charge through the USB-C port first, with the power off, and check that nothing rubs against the wheels.
- Stand the robot upright on a level surface and hold it while you switch on.
- Keep holding for two to three seconds while the IMU initialises.
- Release only once you feel the wheel motors produce a small opposing torque.
- Provision Wi-Fi over Bluetooth from the app or the web dashboard, on a 2.4 GHz network only.
- Say the wake word and ask for something simple; the international build answers to Hey Kira.
Two constraints are easy to miss. A 5 GHz-only network will not work, and the robot must be supported again during every restart, including the restart that follows provisioning, because balancing stops during boot. Calibration has one hardware-specific trap: the head servo is on bus identifier 3, the printed labels use a different convention, and the horn must be fitted after the servo has returned to its neutral position. The vendor also asks that only the specified screw lengths be used, because a longer screw can damage a motor.
None of this is unusual for a balancing robot, but it explains why the documentation reads like a lab protocol. It is one.
Before you buy

- Budget for a printer. The $109 electronics kit has no housing, and the shell is a 3D print.
- It is slow on purpose. About 10 cm per second, which is a walking pace on a desk and useless on a floor.
- One and a half hours is the ceiling. About 1.5 hours of standing, and about an hour once the head and body are both working.
- Mind the firmware region. The domestic and international builds differ in their update server, their default language and their wake word. Flashing the wrong one is a configuration problem, not a hardware problem.
- Treat the head angle loosely. The published tool accepts minus 75 to plus 75 degrees while its own help text says plus or minus 45, and the servo is commanded as 1500 plus 10 counts per degree from centre. Between those three statements, the safest reading is that the usable range is narrower than the tool's outer bound.
- The hardware is a kit, not a product line. Your robot is a printed shell and a hand-assembled harness, so expect to debug your own assembly before you debug the control loop.
- Prices and availability move. The figures above come from the vendor's own documentation and shop at the time of writing, and both should be confirmed before you order.
IOTTourChina covers open-source IoT and robotics projects and the hardware and silicon behind them as part of its developer resource. This is editorial coverage, not an endorsement or an advertisement; specifications, availability and pricing should be confirmed with the vendor or the project before you buy.