Skip to content

Data Collection Guide

Engage Human Driver

On Raspberry Pi

cd ~/BearCar/scripts
uv run drive.py

Tip

  • Press Pause button to start/pause BearCar.
  • Press Record button to activate/deactivate data recording.
  • Data will be saved to ~/BearCar/data/YYYY-MM-DD-HH-MM/. YYYY-MM-DD-HH-MM is the date and time when you start drive.py. For example, 2000-01-02-03-04
  • A valid data directory contains: ~/BearCar/data/YYYY-MM-DD-HH-MM/images/ directory and ~/BearCar/data/YYYY-MM-DD-HH-MM/labels.csv file.

Transfer Data to Computing Server

On Raspberry Pi

You can definitely train an autopilot on the Raspberry Pi, but do so would take forever.

Success

It is recommended to transfer the data on the Raspberry Pi to a computation dedicated computer.

rsync -av --progress --partial <path_to_stamped_data> <username>@<ip_address>:<bearcar_directory>/data/

Example

rsync -av --progress --partial ~/BearCar/data/YYYY-MM-DD-HH-MM USERNAME@192.168.0.112:~/BearCar/data/

Tip

  • Replace YYYY-MM-DD-HH-MM with actual data directory's name.
  • To find out targeted data directory: ls ~/BearCar/data.
  • Replace USERNAME with your username on the server.