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.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.
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/.
- 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.
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 __apThen you can set up AP mode:
sudo nmcli connection add type wifi ifname ap0 con-name ScooterMan ssid ScooterMan mode apCheck the connection using
nmcli connection show --activeShould 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>
To install various packages on the RUBIK Pi, create a virtual environment and install all the packages inside this environment.
python3 -m venv cam_envTo activate this environment
source cam_env/bin/activateInstalling 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"- Camera: GoPro Max2
- Radar: DesignCore mmWave radar
- Steering System: Waveshare ST3025 Serial Bus Servo
- Microcontroller: RUBIK Pi 3
