Skip to content
tomaszfrelek2Public

About

Scooter Hardware Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

64 Commits

Folders and files

Repository files navigation

CSE237D - Embedded Systems Design Project (Spring 2026)

Autonomous Scooter Hardware Project

Tomasz Frelek · Ryan Chon · Gayathri Rajesh

This project focuses on developing a modular hardware platform for a data-collection scooter, distributing the workload across three distinct subsystems: the radar, the camera, and the steering mechanism. All sensors and physical inputs are designed to route directly to a central Rubik Pi processor to ensure stable and reliable data logging.

Oragnization

cad design contains the raw stl files used to 3d print all components

camera contains code for setting up, connecting, and running the GOPRO MAX2 camera. More info can be found in the camera folder's readme.

radar contains code and configs for setting up, connecting, and running the TI radar. More info can be found in the radar folder's readme.

servo contains controller and code for setting up, connecting, and running the ST3025 servo motor. More info can be found in the servo motor's readme.

demo1_export, demo2_export, and fah_export contain demos of our project.

ros2_ws contains the code for the ros2 workspace, and is the intended way of running the system. More info can be found in the folder's readme.

Setting up the RUBIK Pi

RUBIK Pi 3 is a powerful, affordable, and flexible Edge AI platform, powered by the Qualcomm Dragonwing™ QCS6490, delivering 12 TOPS of efficient on-device AI performance. More details about the specifications of the RUBIK Pi can be found at https://www.thundercomm.com/rubik-pi-3/en/docs/rubik-pi-3-user-manual/1.1.0/quick-start/.

Installing Ubuntu 24.04 on the RUBIK Pi

  • Visit the Qualcomm Software Centre webportal https://softwarecenter.qualcomm.com/catalog/item/Qualcomm_Launcher
  • Choose the OS type and architecture type of your machine and download the latest version of the launcher
  • Install the launcher from the downloaded folder
  • In the launcher choose Rubik Pi as the development kit and Ubuntu Server as the target Operating System.
  • Switch the device to EDL mode. Find instructions to switch to EDL mode here. Once the device is in EDL mode, it will automatically be detected. Click the flash button to begin updating the Renesas USB firmware.
  • After the OS is sucessfully flashed, a confirmation message will appear on the screen.
  • Connect the RUBIK Pi to your system via a MicroUSB cable and configure the Wi-Fi.

Setting up the Pi in AP mode

Rubik Pi allows to run STA and AP mode at the same time. You’ll need to first create a virtual interface for the AP:

sudo iw dev wlan0 interface add ap0 type __ap

Then you can set up AP mode:

sudo nmcli connection add type wifi ifname ap0 con-name ScooterMan ssid ScooterMan mode ap

Check the connection using

nmcli connection show --active

Should show both an ap0 device and wlan0 device. If there's no wlan0 device, connect manually via sudo nmtui or sudo nmcli dev wifi connect <wifi-ssid> password <wifi password>

Setting up the virtual environment

To install various packages on the RUBIK Pi, create a virtual environment and install all the packages inside this environment.

python3 -m venv cam_env

To activate this environment

source cam_env/bin/activate

Installing the necessary Python Packages Currently, Ubuntu Jammy and Ubuntu Noble use NumPy 1.21 and 1.26 as their default binary versions. To avoid issues, ensure NumPy <2.0 is installed.

pip install ultralytics "numpy<2"

Hardware Specifications

  • Camera: GoPro Max2
  • Radar: DesignCore mmWave radar
  • Steering System: Waveshare ST3025 Serial Bus Servo
  • Microcontroller: RUBIK Pi 3

About

Scooter Hardware Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages