Skip to content

Synthetic Data Generator for Controller Area Network CAN for study Sensors and ECUs communications methods

Notifications You must be signed in to change notification settings

ruidurao/CANSyntheticDataGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

CANSyntheticDataGenerator

Synthetic Data Generator for Controller Area Network CAN for study Sensors and ECUs communications methods

Commands to Run

sudo apt-get update
sudo apt-get upgrade
git clone https://github.com/zombieCraig/ICSim.git
sudo apt-get install libsdl2-dev libsdl2-image-dev
sudo modprobe can
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
cd ICSim
make all
./icsim vcan0
./controls vcan0
candump vcan0
cansniffer vcan0
./icsim -r vcan0
./controls -s [seed] vcan0
./controls -s [seed] -l 2 vcan0

Command to Treat the output as a CSV format

candump vcan0 -t d -i | sed -e 's/(//g' -e 's/)  vcan0  /,/g' -e 's/   //g' -e 's/\[/,/g' -e 's/\]/,/g' -e 's/  //g' -e 's/ /,/2g'

Props to ZombieCraig's Repo and ICSim software for linux: https://github.com/zombieCraig/ICSim.git

About

Synthetic Data Generator for Controller Area Network CAN for study Sensors and ECUs communications methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published