Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2997b76
wip
j-ackyao Nov 26, 2025
7f441ae
todo queue system
j-ackyao Nov 27, 2025
9248070
structure for reading serial
j-ackyao Nov 30, 2025
3c3ee2f
remove canqueue class, just use mspc channel
j-ackyao Dec 2, 2025
95ae675
todo jsoncan
j-ackyao Dec 6, 2025
af29e86
probably working crc calc
j-ackyao Jan 4, 2026
8e9b92f
mostly working tokio threading, some error handling probably needed
j-ackyao Jan 6, 2026
787d683
temp test fix
j-ackyao Jan 11, 2026
84fc99e
wip
j-ackyao Jan 10, 2026
b9ae8d2
working serial receiving
j-ackyao Jan 11, 2026
2ffb199
wip influx handler
j-ackyao Jan 11, 2026
116d353
working on parsing with jsoncan
j-ackyao Jan 11, 2026
42de662
update versions and stuff, wip
j-ackyao Jan 14, 2026
923c689
more tasks yay
j-ackyao Jan 14, 2026
b9eade2
candatabase unpack
j-ackyao Jan 17, 2026
0426196
subscriptions, todo app
j-ackyao Jan 21, 2026
5ab014d
update list and jira subtasks
j-ackyao Jan 21, 2026
0e7d6c7
wip client socket server
j-ackyao Jan 21, 2026
f3d7aa4
websocket connect wip
j-ackyao Jan 24, 2026
7354219
socketio
j-ackyao Jan 24, 2026
0c813c2
bruh jsoncan fix
j-ackyao Jan 24, 2026
c55b505
RAHHHHHH frontend receives from socket
j-ackyao Jan 25, 2026
be3236b
wip api endpoints for subscription
j-ackyao Jan 28, 2026
9e4da89
wip multithread candb
j-ackyao Jan 31, 2026
4157ac9
pooling connection in jsoncanrust
j-ackyao Feb 1, 2026
a4297c1
single candb
j-ackyao Feb 1, 2026
92993b4
api versioning
j-ackyao Feb 1, 2026
c6308c5
subtable api
j-ackyao Feb 1, 2026
3280521
wip high signal api
j-ackyao Feb 1, 2026
0ae3d04
signal api
j-ackyao Feb 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions firmware/quintuna/DAM/src/io/io_telemMessageQueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@ void io_telemMessageQueue_init(void)
assert(message_queue_id != NULL);

init = true;

// CanMsg dummyRadioMsg =
// {
// .std_id = 1,
// .dlc = 15,
// .timestamp = 1,
// .data.data8 = {0},
// .bus = 1,
// .is_fd = false
// };

// for(uint32_t i = 0; i < 100; i++)
// {
// dummyRadioMsg.timestamp = i;
// bool status = io_telemMessageQueue_pushTx(&dummyRadioMsg);
// assert(status);
// }
}

bool io_telemMessageQueue_pushTx(const CanMsg *rx_msg)
Expand Down
222 changes: 213 additions & 9 deletions scripts/code_generation/jsoncan-rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion scripts/code_generation/jsoncan-rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsoncan_rust"
version = "0.1.0"
version = "0.1.1"
edition = "2024"
default-run = "jsoncan_rust"

Expand All @@ -18,5 +18,7 @@ clap = { version = "4.5.53", features = ["derive"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
rusqlite = { version = "0.38.0", features = ["bundled"] }
r2d2 = "0.8.10"
r2d2_sqlite = "0.32"
askama = "0.15.1"
convert_case = "0.10.0"
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pub enum CanDBError {
rx_msg_name: String,
},
SqlLiteError(rusqlite::Error),
PoolConnectionError(r2d2::Error),
}

impl Debug for CanDBError {
Expand Down Expand Up @@ -86,6 +87,7 @@ impl Debug for CanDBError {
rx_msg_name, rx_node_name
),
CanDBError::SqlLiteError(error) => write!(f, "SQLite error: {}", error),
CanDBError::PoolConnectionError(error) => write!(f, "Pool connection error: {}", error),
}
}
}
Loading
Loading