Skip to content

chxlky/f1-car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F1 Car Project

A modular, real-time, and low-level Rust-based RC F1 car project, powered by a Raspberry Pi 4B and an STM32 microcontroller.

This project is structured to separate concerns between real-time control, networking, and frontend interaction. It uses a modern Rust toolchain, an RTOS for embedded control, and a Tauri app for user interaction.

📦 Project Structure

f1-car/
├── telemetry/ # Shared Rust types and protocols
├── powertrain/ # STM32 firmware (Rust + Embassy RTOS)
├── radio/ # Raspberry Pi app (networking, camera relay)
├── cockpit/ # Tauri app (UI, discovery, control)
├── logbook/ # Documentation and development notes
└── scripts/ # Build and deployment scripts

🔧 Responsibilities

📻 radio/ (Raspberry Pi 4B)

  • Wi-Fi connectivity
  • UDP interface to control the car
  • Video stream relay from Pi Camera
  • Relays control inputs to STM32 over UART
  • Receives telemetry from STM32

⚙️ powertrain/ (STM32 MCU)

  • Runs Embassy RTOS
  • Handles motor control via L298N driver
  • Reads IMU data for orientation sensing
  • Sends telemetry back to the Pi over UART

📱 cockpit/ (Tauri App)

  • Tauri-powered mobile and desktop UI
  • Receives live telemetry data
  • Displays camera feed
  • Sends control inputs (steering, throttle) to the car

🛠 Development Environment

paru -S aarch64-linux-musl arm-none-eabi-gcc
sudo pacman -S aarch64-linux-gnu-gcc
rustup target add aarch64-unknown-linux-musl
rustup target add thumbv7em-none-eabihf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors