Skip to content

Simulate vehicle CAN bus traffic using a game controller

Notifications You must be signed in to change notification settings

Kevin4562/can-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation


CAN Controller

Simulate vehicle CAN bus traffic using a game controller


Getting Started

Requirements

  • Python 3.7+
  • Linux
  • PS4 Controller
  • USB2CAN

Installation

Install Linux can-utils:

sudo apt-get install can-utils -y

Install Python requirements:

python -m pip install -r requirements.txt

(back to top)

Usage

  1. Connect USB2CAN & PS4 Controller
sudo ip link set can0 type can bitrate 500000
sudo ip link set can0 up
python controller.py

(back to top)

About

Simulate vehicle CAN bus traffic using a game controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages