Research
A Practical Proprioceptive Data Collection Utility for the Unitree GO1
Collecting proprioceptive data from the Unitree GO1 is harder than it should be: the Unitree SDK is sparsely documented, and the robot's native middleware, ROS1, is deprecated, with Unitree's ROS1…
- arXiv
- 2611.26146 · Preprint · not peer-reviewed
- Published
- 2026-11-19
- Authors
- Jack Anders Smitterberg, Tan Chen
In plain words
Collecting proprioceptive data from the Unitree GO1 is harder than it should be: the Unitree SDK is sparsely documented, and the robot's native middleware, ROS1, is deprecated, with Unitree's ROS1 package recommending Ubuntu 18.04 and ROS Melodic, both past end-of-life. Some sensors, such as the foot pressure sensors, are not exposed through ROS1 at all.
AI summary
Overview
Research area: Legged robotics / quadruped data collection tooling (with a secondary machine-learning demonstration on terrain classification).
Technical level: Intermediate. The utility is designed to be usable without ROS expertise, but the paper's acquisition-quality analysis and classifier evaluation assume familiarity with logging rates, train/test splits, and network architectures.
Scope (one sentence): The paper presents an open-source, ROS-free graphical utility for recording proprioceptive data from the Unitree GO1, characterizes the acquisition quality of 51 recordings made with it, and reports a deliberately modest terrain-classification demonstration showing that comparing held-out recordings against window-level splits changes measured accuracy from roughly 38% to roughly 99%.
What This Paper Is About
Collecting proprioceptive data from the Unitree GO1 is harder than it should be: the Unitree SDK is sparsely documented, and the robot's native middleware, ROS1, is deprecated, with Unitree's ROS1 package recommending Ubuntu 18.04 and ROS Melodic, both past end-of-life. Some sensors, such as the foot pressure sensors, are not exposed through ROS1 at all. The authors build a GUI-based tool that talks directly to the Unitree Legged SDK through a C++ backend wrapped by a Python interface, so a researcher can record labeled joint, IMU, gyroscope, and foot-force data as CSV without any ROS knowledge.
Key Contributions
- An open-source, GUI-based proprioceptive logging utility for the GO1 released under the MIT License, which records 73 sensor channels across five stream groups (joint position, velocity, and estimated torque; IMU acceleration; IMU gyroscope; IMU orientation; foot position, velocity, and force) and exports structured CSV files readable by pandas and NumPy. The tool is explicitly scoped to proprioceptive sensing; camera data is out of scope.
- A ROS-free architecture consisting of a C++ backend built on the Unitree Legged SDK and a Python GUI that spawns the backend as a subprocess, communicating over standard I/O, so the tool runs on modern Ubuntu distributions under Python 3.
- A change to how rows are written to avoid duplicate states: the original logger appended a row on every 2 ms poll of the control loop, but because the robot sends high-level state packets at roughly 50 Hz, the current release writes a row only when the SDK's received-packet counter advances. Each row also stores the host timestamp, the cumulative received-packet counter, and cumulative CRC and packet-loss counters, so drops and corruption can be identified in post-processing.
- An acquisition-quality characterization of 51 recordings (58.0 minutes of wall-clock data, ten terrain classes), plus a terrain-classification demonstration used only as evidence that the logged signals carry terrain information, with the recording-level versus window-level split gap reported explicitly rather than hidden.
Main Findings
- Achieved rate is about 50 Hz, not the documented 60 Hz: across the legacy logs, distinct robot states arrive at a median of 49.9 Hz per recording. The SDK documentation states no rate, and an earlier public release of the logger documented about 60 Hz; the authors state the measured rate is the one they rely on.
- Most rows in the legacy log format were repeats: of 1,613,379 total rows, only 156,932 (9.7%) are distinct robot states, meaning 90.3% of rows repeat the previous state. The current release avoids this by logging only newly received packets.
- Timing is tight but not perfect: the median interval between consecutive distinct states is 20.0 ms, and 98.8% of intervals fall between 15 and 25 ms. A further 0.9% fall between 35 and 50 ms (consistent with one missed packet), and 0.2% are 50 ms or longer, including two stalls of 10.5 s and 49.4 s in two recordings.
- Ten of the 51 recordings fall below 48 Hz in distinct-state rate (between 9.0 and 47.7 Hz); the lowest, concrete trial 7, delivers new states at only 9.0 Hz. No recording was excluded from the analysis.
- Recording-level accuracy is weak, window-level accuracy is inflated: a Temporal Convolutional Network reaches 37.7 ± 7.1% over five splits under the recording-level protocol, against 98.6 ± 0.3% over three splits for the same model on the same data under a window-level split. Chance for ten balanced classes is 10%, and always predicting the most common test class (concrete) gives 23%.
- The same gap appears across architectures: the 1D-CNN reaches 42.6 ± 5.1% (n = 3) recording-level versus 99.1% (n = 1) window-level, and the LSTM reaches 35.5 ± 12.7% (n = 3) versus 89.5% (n = 1). Differences among the three architectures are within the variation across splits, so the authors do not claim one is better.
- Per-class performance is uneven: pooled over five splits, deep snow (76.3%) and ice (65.4%) are recognized best, while asphalt (5.0%), high friction (6.7%), and stair (11.5%) are worst. Overall pooled accuracy is 38.5% across 3,242 test windows. Bricks has only 10 test windows and 70.0% accuracy, and asphalt and bricks are evaluated on a held-out segment of a single recording, so those entries are weak evidence.
- Real-time inference is implemented but not validated: the companion training utility supports live terrain classification on the physical GO1 using a sliding 100-sample window with inference every ten new samples, but live prediction accuracy on the robot has not been evaluated.
- Causes of the gap are not isolated: the authors did not determine why held-out recordings are so much harder, but note that windows from one recording share session-specific conditions such as gait, speed, and battery state, and that terrain is partly confounded with collection day and gait because each terrain was recorded on only one to three days.
Methodology in Plain English
The team wrote a two-layer program. A C++ backend talks directly to the robot's official SDK over Ethernet or Wi-Fi using UDP, running three concurrent SDK threads (a control loop, a UDP send loop, and a UDP receive loop) all scheduled at a 0.002 s timestep, or 500 Hz. The control loop polls the robot for its latest state, but since the robot only sends new state packets at roughly 50 Hz, about nine of every ten polls return a state that has already been seen. The fix is simple: check the SDK's received-packet counter and write a CSV row only when it has advanced. The Python front end spawns that backend as a subprocess, sends commands like start, stop, pause, resume, terrain, marker, and toggle to its stdin, and parses two kinds of output lines: telemetry at 20 Hz for the live display, and full 73-channel data lines at about 50 Hz. Rows are flushed to disk every 500 samples, roughly every 10 s at 50 Hz, so an unexpected termination does not lose everything.
Around that tool, the researcher selects sensors, picks or creates a terrain label from a dropdown, starts logging, walks the robot over the terrain, optionally inserts timestamped text annotations (for example to mark gait transitions), and stops and saves. Data was collected on ten terrains (carpet, tiles, concrete, asphalt, snow, deep snow, bricks, ice, stair, and high-friction surface) using the robot's three gaits (walking, running, and a high-clearance climbing gait), across three days: February 10 and 11, and March 30, 2026.
For the classification demonstration, repeated rows were removed so each sample is one distinct robot state, and a 100-sample window spans about 2 s. Channels were normalized using the mean and standard deviation of training windows only, with no hand-crafted features. Models (a shallow TCN, an LSTM, and a 1D-CNN) were trained with Adam at a learning rate of 10⁻³ and batch size 64 for 15 epochs, with the final epoch evaluated, no checkpoint selection, and no hyperparameter tuning on test data. Class imbalance was handled with class-balanced sampling and on-the-fly augmentation (Gaussian jitter, amplitude scaling, time warping) applied only to training data. Windows were extracted with a stride of 10 for training and 50 for testing. Two evaluation protocols were compared: a recording-level split, where whole recordings are held out so no test window shares a recording with a training window, and a window-level split, where overlapping near-duplicate windows from the same recording can land on both sides.
Why This Matters
The paper targets a concrete practical bottleneck rather than a new algorithm: a widely used, low-cost quadruped whose software stack has aged out of support. By removing the ROS dependency and exposing foot force sensors that ROS1 does not expose, it lets labs that are not robotics-software specialists actually get data off the robot.
Real-world applications:
- Terrain-aware locomotion: proprioceptive terrain classification and obstacle estimation for quadrupeds, especially where exteroceptive sensors degrade in snow, ice, rain, or low light.
- State and contact estimation: ground reaction force estimation and state estimation research that needs synchronized joint, inertial, and foot-force logs.
- Benchmarking locomotion controllers: standardized, labeled logs from a common platform make controller comparisons more reproducible.
- Teaching and hobbyist research: a GUI lowers the setup cost for courses and small labs using the GO1 EDU.
Industry relevance: the paper is a cautionary methodological result as much as a tool. Reporting 98.6% on a window-level split versus 37.7% on held-out recordings is a concrete, quantified demonstration of how leakage inflates benchmark numbers in time-series robotics data, which matters to anyone publishing or evaluating learned locomotion models. The architecture is also described as readily adaptable to newer Unitree platforms: the Go2 and G1 ship distinct SDKs, so migrating requires retargeting the C++ backend while the Python GUI needs no platform-specific modification.
Future Directions
- Increase the acquisition rate through low-level SDK access, since the roughly 50 Hz high-level rate limits temporal resolution and other robot configurations were not tested.
- Measure packet loss directly. The analyzed recordings predate the packet and error counters, so loss could not be separated from robot or host stalls, and one recording updating at only 9.0 Hz was kept rather than excluded.
- Improve cross-recording generalization. The authors did not isolate why held-out recordings are so much harder; disentangling terrain from collection day and gait, and enlarging the recording-level test sets beyond about ten held-out recordings per split, are obvious next steps.
- Add exteroceptive sensing and validate live deployment. Camera and depth integration is left for future work, and live prediction accuracy of the real-time classification mode was never measured on the robot.
Target Audience
Robotics researchers and graduate students who need to collect proprioceptive data from a Unitree quadruped without building a ROS1 stack, lab engineers maintaining legacy robot platforms, and machine-learning practitioners working with time-series sensor data who want a clear worked example of why recording-level splits matter. It is also useful for reviewers and benchmark designers who want a quantified illustration of window-level leakage in sequential robotics datasets. Readers looking for a strong terrain classifier will not find one here; the authors are explicit that the classifier is a demonstration and not competitive, and that the contribution is the collection utility.
Authors’ abstract
The Unitree Go1 is a widely used platform for legged robotics research, yet collecting proprioceptive data from it is unnecessarily difficult: the Unitree SDK is sparsely documented, and ROS1 (Robot Operating System), the Go1's native middleware, is fully deprecated. We present an open-source graphical utility that enables researchers to reliably record proprioceptive data from the Go1, including joint states, IMU (Inertial Measurement Unit) readings, foot force sensor data,…
The full abstract on arXivRelated papers
- Silent Sabotage: Internal State Triggered Backdoor Attacks on LLM-Powered Robotic Systems 2026-09-02 · cs.RO · Also by Tan Chen