Skip to content
/ racepi Public
forked from donour/racepi

Racing data collection on the raspberry pi and other low cost platforms

License

Notifications You must be signed in to change notification settings

mshuler/racepi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RacePi

RacePi is a software system for recording racecar sensor data on a Raspberry Pi. A variety of sensors sources are supported and it is easy to add more. The system is currently designed with autocross in mind with automatic record triggers. RacePi is implemented primarily in Python with a few components in SQL and C.

Software Components

  1. SQLite Database: Standardized schema for sensor data
  2. Sensor Recorder: Multiprocessing, multithreaded data logging program
  3. Web-based Analysis Tool: On-device webserver for performing immediate analysis and plotting
  4. Device Controls: Misc software tools for managing the device
  5. RachTech DL1 Writer: Write live DL1-type logs for third-party software such as SoloStorm

Supported Sensor Sources

  • GPS velocity and position via gpsd
  • Pi Sense Hat IMU
  • HS CAN bus readers (ELM/STN or SocketCan)

Hardware Recommendations

RacePi can be used to build a full-featured datalogging system with modest hardware and very little cost. This requires:

  1. Raspberry Pi 3: $35 Any Raspberry Pi model will work, but the latest version brings a significant performance benefit
  2. Pi Sense Hat: $40 The Pi Sense Hat was designed for data collection on the International Space Station. It contains sensors for a 9-dof IMU, as well as 5 button joystick and an 8x8 LED array for displaying status.
  3. GPS Receiver: $30 RacePi works with any Linux-compatible GPS receiver. High speed drone receivers are available for cheap on Amazon.
  4. CAN Adapter: $5+ RacePi has built-in support for Linux SocketCAN and the STN11XX chipset, used in devices like the OBDLink SX. Other adapters can be easily added.
  5. SD card + USB stick: $5 Storage for the software and data logs
  6. Micro USB Power Source: $3 The system needs a power source capable of delivering a reliable 5v @ 1.5A.

Copyright and License

RacePi is licensed under the GPLv2, version 2 only.

Developers Wanted

There are several areas left for green-field development, within the project. I am actively looking for

  • Experienced webapp developers, interested in building interactive analysis applications
  • Realtime Kinematics (RTKlib), precision GNSS developers
  • Manufacturer/model specific CAN decoders

About

Racing data collection on the raspberry pi and other low cost platforms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 77.8%
  • Python 12.4%
  • CSS 4.1%
  • C 2.3%
  • Java 1.0%
  • JavaScript 0.7%
  • Other 1.7%