Skip to content

Northeastern-Electric-Racing/Calypso

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 23, 2024
aee70b5 · Apr 23, 2024
Mar 1, 2024
Jan 16, 2024
Apr 23, 2024
Mar 1, 2024
Mar 1, 2024
Apr 17, 2024
Jan 30, 2024
Jan 30, 2024
Feb 23, 2024
Mar 1, 2024
Apr 17, 2024

Repository files navigation

Calypso

Custom CAN Decoder for all the data being streamed around the car

Recommended Extensions

View https://www.youtube.com/watch?v=BU1LYFkpJuk for more information

  • rust-analyzer
  • CodeLLDB
  • Even Better TOML
  • Error Lens
  • Todo Tree
  • crates

Go to Settings in VSCode

search Rust-analyzer check and set the command from check -> clippy

Open Settings.json

add following information:

"[rust]": {
    "editor.defaultFormatter": "rust-lang.rust-analyzer",
    "editor.formatOnSave": true
} 

NERO 1.0 Config

Utilizes a linux IPC to stream data to the NERO frontend

run /home/ner/Desktop/Calypso/target/release/calypso ipc /tmp/ipc.sock

SIREN and NERO 2.0 Config

Utilizes MQTT Web Socket to offload data from the car for our telemetry system run /home/ner/Desktop/Calypso/target/release/calypso mqtt localhost:1883

Synthesize Rust

cd oxy

python3 typedpoc.py

Generate Proto

linux

apt-get install protobuf-compiler -y

mac

brew install protobuf

cargo install protobuf-codegen

PATH="$HOME/.cargo/bin:$PATH"

protoc --rust_out ./src ./src/proto/serverdata.proto

delete the mod.rs file