Skip to content

Commit

Permalink
Mqtt+yaml integration/refactoring (#30)
Browse files Browse the repository at this point in the history
* Add files via upload

pub and sub mqtt client

* #22 Refactoring of IPC and Mqtt

* #22 Privatize Functions

* #22 More Documentation

* #22 Even more documentation

* #22 And the debugging begins

* #22 Debug Update

* #22 Added Debug Statement

* #22 Remove Thread

* #22 Unwrap or Debug

* #22 Edit Error Message

* #22 Use Stream Instead of Channel

* #22 Format Without New Lines

* #22 Remove Debug Statements

* #22 Date.now

* #22 Mqtt Debug Statement

* #22 Change publishing topic

* #22 Change Topic

* #22 Add /

* #22 Add 50ms throttle after publish

* #22 10ms buffer

* #22 1ms throttle

* #22 Remove Throttle

* #22 Add 1ms throttle back

* #22 Lots of General Code Cleanliness And Refactoring

* #22 Remove Unused Dependencies

* #22 Add Chrono Back

* #22 Slight Cleanup

* #20 finalize necessary can messages

* Filled out Relevant CAN Fields

* #20 Write Decode Data to File

* #20 Compile

* #20 Cleanup Some Linting errors

* #20 Disable Clippy

* #20 Actually dont allow clippy

* #20 Clippy

* #20 Delete Unused Files

* #20 Seperate Yaml Files

* #20 Add Documentation, remove unused dependencies

* #20 Adjust can message topic name

* Add can_interface specifier and can configure skip (#27)

* add can_interface specifier and can configure skip

* Update readme with can interface

* use clippy suggestions

* update minimum argument number checking

* make can0 optional

---------

Co-authored-by: ihong4 <[email protected]>
Co-authored-by: Jack Rubacha <[email protected]>
  • Loading branch information
3 people committed Jun 17, 2024
1 parent 20ae544 commit 7db100a
Show file tree
Hide file tree
Showing 42 changed files with 1,193 additions and 3,607 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Rust CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Setup Rust
uses: actions/checkout@v2
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
- name: Clippy
run: cargo clippy --verbose -- -D warnings
- name: Audit
run: cargo audit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# misc things
.DS_Store
.gitignore
*.nix

# python things
pyrightconfig.json
Expand Down
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"rust-analyzer.linkedProjects": [
"./Cargo.toml"
]
}
Loading

0 comments on commit 7db100a

Please sign in to comment.