TuEmb / can-viewer

view the can value mapping with DBC (Rust + Slint)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

  • can-viewer is a tool support showing can packets based on DBC input file using Rust + Slint.
  • can-viewer is able to see real-time data on CAN bus and set a list of filter CAN IDs.
  • can-viewer is an open-source project and willing to receive any contributions from community.

image

The column format:

<CAN ID> <signal name> <signal value + unit> <raw data>

Setup

Linux

Currently, can-viewer is using socket can of system to read can packet. Refer https://cantact.io/socketcan/socketcan.html understand and install socket can for Linux environment.

  • You must make sure socket can name "can0" is on your system (use ifconfig command to check).
  • You must make sure socket can is able to read CAN packets from CAN bus (use candump can0 command to check).
  • Build the app by command:
cargo build --release
  • Run the app by command:
cargo run --release

Window

can-viewer is supporting Peak CAN for window only

  • Build the app by command:
cargo build --release
  • Run the app by command:
cargo run --release

IOS (not support)

About

view the can value mapping with DBC (Rust + Slint)


Languages

Language:Rust 65.7%Language:Slint 34.3%