8000 GitHub - martinloretzzz/cabana: SLCAN visualizer and DBC maker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

martinloretzzz/cabana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of cabana supports slcan(also known as Lawicel protocol) devices instead of the comma panda.

This fork doesn't support pandas and or comma connect, only use realtime streaming with slcan devices.

Config:

The device count, serial baud rate and the can bus bitrate can be configured by url params:

  • deviceCount: 1-4, default: 1
  • serialBaudRate: integer, default: 115200
  • canBitRate: 10kbit, 20kbit, 50kbit, 100kbit, 125kbit, 250kbit, 500kbit, 800kbit, 1Mbit, only these values are allowed, default: 500kbit

The common automotive bitrate seams to be 500kbit, but I can't find a good source

Examples:

Supported devices:

All slcan/Lawicel compatible usb/can interfaces To read multiple can buses, you need multiple usb/can interfaces

I use a CANable, that works really well.

Devices(only CANable is tested and works for sure, CANtact also likely, because it uses the same fw):

Slcan docs:

Questions:

martinloretzzz#2635 on the comma.ai discord

Original readme below

Cabana is a tool developed to view raw CAN data. One use for this is creating and editing CAN Dictionaries (DBC files), and the tool provides direct integration with commaai/opendbc (a collection of DBC files), allowing you to load the DBC files direct from source, and save to your fork. In addition, you can load routes from comma connect.

Usage Instructions

See openpilot wiki

Setup

yarn
yarn run sass

Development

yarn start

Contributing

yarn run test

Deploy to Production

npm version patch
git push origin master --tags # push version patch
yarn run deploy # builds and deploys to github pages

errors building libusb modules?

You can safely ignore those errors even though it returns 1. If you'd like them to go away just because they're annoying, install libusb-dev...

sudo apt-get install -y libusb-dev libudev-dev

or

brew install libusb

Create React App documentation

This project was bootstrapped with Create React App v1.x, then upgraded to react-scripts v3.x and use craco to customize it.

You can read the create react app documentation here

We use craco to easily add worker-loader.

License

MIT

THIS IS ALPHA QUALITY SOFTWARE FOR RESEARCH PURPOSES ONLY. THIS IS NOT A PRODUCT. YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS. NO WARRANTY EXPRESSED OR IMPLIED.

About

SLCAN visualizer and DBC maker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.6%
  • SCSS 8.8%
  • Other 0.6%
0