Go2-RowScout / README.md
Rampure's picture
Upload README.md with huggingface_hub
a9598b9 verified
|
Raw History Blame Contribute Delete
9.12 kB
---
license: cc-by-4.0
pretty_name: Go2 Row-Scouting Dataset
language:
- en
task_categories:
- robotics
tags:
- agriculture
- legged-robot
- quadruped
- unitree-go2
- imitation-learning
- behavior-cloning
- language-conditioned
- navigation
- lidar
- multimodal
size_categories:
- 10K<n<100K
configs:
- config_name: episodes
data_files: manifest.csv
default: true
---
# Go2 Row-Scouting Dataset
**Teleoperated dock-to-row navigation demonstrations from a legged robot on a working vegetable farm.**
Paper: *Scout2Row: Learning Language-Guided Dock-to-Row Navigation from Demonstrations* · Extraction code: `tools/`
## Dataset Description
The dataset contains 25 teleoperated demonstrations recorded with a Unitree Go2 EDU Plus quadruped at Local Harvest Fields, a small vegetable farm in Howard County, Maryland. In each episode, an operator drove the robot from a fixed dock on the headland into one named crop row, along the row, and stopped it at the row end. All sensor streams are synchronised to the camera at 10 Hz. Each step pairs an RGB frame and the nearest LiDAR scan with IMU, joint states, odometry, a body-frame velocity label and the episode's language goal.
### Key Features
- **Legged robot on a real farm.** Five rows of collard greens, curly kale and Swiss chard; neighbouring row entrances are unevenly spaced, 1.6–9.6 m apart.
- **Synchronised multimodal steps at 10 Hz.** RGB, 16-beam LiDAR point cloud, IMU, 12 joint positions and velocities, and odometry, aligned to the camera frame using sensor capture timestamps.
- **Continuous action labels.** Body-frame velocity (vx, vy, ωz) from the robot's state estimator, interpolated at each frame time. The body frame is verified per episode and recorded in `meta.json`.
- **Language goal per episode.** One instruction per row, e.g. *"scout the collardgreens row 1"*, encoded in the folder name and repeated in every step.
- **Calibration included.** Camera intrinsics and LiDAR/camera extrinsics for every episode.
- **Extraction tools.** The scripts that turned the rosbag2 recordings into these episodes.
## Dataset Statistics
| Property | Value |
|---|---|
| Robot | Unitree Go2 EDU Plus with Jetson Orin NX 16 GB |
| Site | 1 farm, 1 dock, 5 rows |
| Episodes | 25 (24 successful, 1 unsuccessful; see `success` in `manifest.csv`) |
| Episodes per row | Collard Greens r1: 4, Collard Greens r2: 6, Curly Kale r1: 5, Curly Kale r2: 5, Swiss Chard r1: 5 |
| Total steps | 19,053 |
| Total duration | 31.7 min |
| Episode duration | median 75.7 s (range 55.7–121.1 s) |
| Path length per episode | median 30.9 m, of which 22.6 m in the row |
| Frame rate | 10 Hz, all streams synchronised to the camera (effective 9.89–10.00 Hz) |
| RGB | 640 × 480 JPEG, Intel RealSense D435i; 19,053 frames |
| LiDAR | Hesai XT16, 16 beams, 10 Hz; nearest scan per step; 18,327 unique scans |
| Proprioception | IMU (angular rate, acceleration, orientation); 12 joint positions and velocities |
| Action label | Body-frame (vx, vy, ωz) |
| Total size | ~14.8 GB (~37,500 files) |
## Dataset Structure
```
.
├── README.md
├── manifest.csv # one row per episode
├── tools/
│ ├── trace_extract_episode.py # rosbag2 -> episode folder
│ └── check_episode.py # sanity checks on an extracted episode
└── trace_<Crop>_r<row>_dock_<YYYYMMDD>_<HHMMSS>/ # one folder per episode
├── rgb/000000.jpg ... # camera frame per step
├── lidar/000000.npy ... # LiDAR scan, float32 [N x 5]
├── steps.csv # one row per step
├── meta.json # episode metadata
└── calibration.json # camera intrinsics + extrinsics
```
The folder name encodes the goal: crop, row index and start type (`dock` for all episodes), followed by the recording time. A LiDAR scan is stored once; if two consecutive steps match the same scan, both rows of `steps.csv` point to the same file.
## Metadata Structure
### `steps.csv` (one row per 10 Hz step)
| Column(s) | Unit | Description |
|---|---|---|
| `step` | – | Step index within the episode |
| `t` | s | Time since the start of the episode |
| `t_bag`, `t_abs` | s | Time since the start of the recording; robot-clock timestamp (see Notes) |
| `rgb`, `lidar` | – | Relative paths to the frame and the LiDAR scan |
| `lidar_dt` | s | LiDAR scan time minus frame time |
| `vx`, `vy`, `vyaw` | m/s, m/s, rad/s | **Action label**: body-frame velocity from the state estimator |
| `px`, `py`, `yaw` | m, m, rad | Odometry pose in the odometry frame |
| `rel_x`, `rel_y`, `rel_yaw` | m, m, rad | Pose relative to the dock; x along the initial heading (the headland) |
| `rel_x_max`, `arc_s` | m | Running maximum of `rel_x`; path length from the dock |
| `gyro_x/y/z`, `acc_x/y/z` | rad/s, m/s² | IMU angular rate and linear acceleration |
| `qw`, `qx`, `qy`, `qz` | – | IMU orientation quaternion |
| `q_<leg>_<joint>`, `dq_<leg>_<joint>` | rad, rad/s | Positions and velocities of the 12 joints; legs `FR`, `FL`, `RR`, `RL`, joints `hip`, `thigh`, `calf` (e.g. `q_FR_hip`) |
| `goal_crop`, `goal_row`, `goal_text` | – | Language goal of the episode |
### LiDAR scans (`lidar/NNNNNN.npy`)
A float32 array of shape `[N, 5]` with columns `x, y, z, intensity, ring`, in the LiDAR sensor frame. The base-to-LiDAR transform is in `calibration.json`.
### `meta.json` (per episode)
| Key | Content |
|---|---|
| `episode`, `bag` | Episode name; source recording |
| `steps`, `duration_s`, `path_len_m` | Episode length in steps, seconds and metres |
| `target_hz`, `effective_hz` | Requested and achieved sampling rate |
| `goal` | `crop`, `row_idx`, `start_type`, instruction `text` |
| `actions` | Source of the velocity labels |
| `velocity_frame_check` | Body/world-frame verdict and the frame used (always body) |
| `time_sources` | Timestamp source per topic |
| `trim` | Idle time removed at the start and end |
| `lidar` | Point columns, unique scans, steps without a matching scan |
| `joint_names` | Order of the 12 joints |
| `row_selection` | Path length at which the robot left the headland; net heading change |
| `policy_inputs_note` | Which columns are evaluation-only (absolute heading) |
| `depth`, `extractor`, `created`, `warnings` | Depth flag (not included), extractor version, creation time, extraction warnings |
### `calibration.json` (per episode)
Camera intrinsics (`K`, row-major 3 × 3; `width`, `height`) and the static transforms from the robot base to the LiDAR and to the camera optical frame.
### `manifest.csv` (one row per episode)
Episode name, goal (crop, row index, start type, text), steps, duration, path length, turn position (`turn_off_m`) and net heading change, LiDAR coverage, velocity-frame verdict, trim times, success flag and operator notes. It is shown in the dataset viewer.
## Usage
```python
import json
import numpy as np
import pandas as pd
from PIL import Image
from huggingface_hub import snapshot_download
root = snapshot_download("Rampure/Go2-RowScout", repo_type="dataset")
ep = f"{root}/trace_CollardGreens_r1_dock_19700127_165609"
steps = pd.read_csv(f"{ep}/steps.csv")
meta = json.load(open(f"{ep}/meta.json"))
s = steps.iloc[100]
img = Image.open(f"{ep}/{s.rgb}") # 640 x 480 RGB
pts = np.load(f"{ep}/{s.lidar}") # [N, 5] x, y, z, intensity, ring
action = s[["vx", "vy", "vyaw"]].to_numpy() # body-frame velocity label
print(meta["goal"]["text"], action)
```
## Notes
- **Timestamps.** The robot clock was not set during recording, so folder names and `t_abs` show dates in January 1970. They preserve the recording order and the time between runs, not the calendar date. The data were recorded in TODO 2026.
- **Absolute heading.** `px`, `py`, `yaw` and the IMU quaternion carry the absolute odometry heading, which changes at every boot. Use the dock-relative `rel_*` columns to compare episodes.
- **Labels.** The labels are the velocities the robot achieved under Go2 sport mode, not the operator's joystick commands.
- **Instructions.** Each row has a single templated instruction; the dataset contains no paraphrases.
## Applications
This dataset supports research in:
- Goal- and language-conditioned imitation learning for robot navigation
- Row selection and row following for agricultural field robots
- Legged-robot navigation on uneven, unstructured farm terrain
- Fusion of RGB, LiDAR and proprioception for outdoor navigation
- Learned stopping and termination at task boundaries
- Odometry and state-estimation analysis of a quadruped in the field
## Citation
```bibtex
@inproceedings{TODO2027rowscout,
title = {Scout2Row: Learning Language-Guided Dock-to-Row Navigation from Demonstrations},
author = {Rampure, Milind and TODO},
year = {2027}
}
```
## License
Data: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Code in `tools/`: TODO (e.g. MIT).
## Contact
Milind Rampure, MPSC Lab, University of Maryland, Baltimore County (UMBC) · TODO email
*Dataset version 1.0*