File size: 1,243 Bytes
5ecbb15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# πŸ€– Robot Data Collection Guide

A practical guide for collecting clean, diverse, and meaningful datasets to train and evaluate robot models.

---

## πŸ“Œ Why This Matters

High-quality data is the foundation for:

- Behavior cloning
- Multi-robot coordination
- Sim-to-real transfer
- Sensor fusion and modeling

---

## πŸ“‚ What's Inside

- βœ… Types of data to collect (images, joint states, LiDAR, IMU)
- βœ… How to record multi-modal data (ROS 2 bag files)
- βœ… Labeling methods (manual, semi-auto)
- βœ… Data cleaning and preprocessing
- βœ… Storage & formats: `.db3`, `.csv`, `JSON`

---

## πŸ›  Tools You Can Use

| Tool            | Purpose                         |
|-----------------|----------------------------------|
| ROS 2           | Real-time data collection        |
| `rosbag2_py`    | Python access to .db3 files      |
| DB Browser      | Inspect SQLite `.db3` bags       |
| OpenCV / PIL    | Preprocess visual data           |
| Pandas          | Work with CSVs                   |
| Hugging Face    | Store models/datasets online     |

---

## πŸ“¦ Example Commands

```bash

# Record robot states + camera stream

ros2 bag record /joint_states /camera/image_raw /tf