mu-zero-HYPERLOOP / canzero

Control Panel of Mu-Zero Hyperloop Season 4
https://mu-zero.de
6 stars 0 forks source link

ObjectEntry Struct from backend for testing. #74

Closed NiklasHeneka closed 7 months ago

NiklasHeneka commented 8 months ago

Having a node sending structs would be really nice to test graphs and the setting of values.

kistenklaus commented 8 months ago

yep working on it right now basically just have to fix some bug and test it against itself before we can test against the control panel.

Note because for CAN virtualization we use SocketCAN this will only be possible on Linux. Sadge for Mac users.

Alternatively a option would be to implement some sort of custom CAN virtualization based on IPC for Mac and Windows, but because i don't really use it i have to idea how IPC works on those platforms

NiklasHeneka commented 8 months ago

@kistenklaus maybe also one entry with enums so we can test this aswell.

kistenklaus commented 8 months ago

e74e94a changes the type of secu::global_state to a enum type see test.yaml for the variants. But this is not stable maybe @NiklasHeneka can check if the frontend receives reasonable data. But keep in mind that the backend on this is not tested end to end yet so the values you get might be wrong. Not sure right now would have to check myself

kistenklaus commented 7 months ago

done, but not merged