Commit Graph
100 Commits
Author SHA1 Message Date
sani7 0a1811ea76 fix rebase errors 2026-02-01 19:01:51 +01:00
sani7 219da3227e sims
remove deprecated functions
2026-02-01 19:01:40 +01:00
sani7 f238594e5d Move leds to custom led class 2026-02-01 19:01:19 +01:00
sani7 7a8398c743 simbase
move setup of ui to push_ui_item
2026-02-01 19:01:09 +01:00
sani7 6a7f09e4b2 unused include 2026-02-01 19:00:58 +01:00
sani7 29f88ff359 fix for not closing proparly 2026-02-01 19:00:57 +01:00
sani7 b1a2ee3fb3 Sim test
ID to label
2026-02-01 19:00:57 +01:00
sani7 223af6c15d Update sims
now using new method of access
2026-02-01 19:00:54 +01:00
sani7 71b238235c sim base
update to use size_t ids instead of QString
2026-02-01 19:00:28 +01:00
sani7 441232de73 Update websocket wrapper
now using size_t as id type instead of QString
2026-02-01 19:00:28 +01:00
sani7 5ead06727c Moving simulatorbase to size_t ids 2026-02-01 19:00:27 +01:00
sani7 4a0d04527e Move to cpp20 2026-02-01 19:00:24 +01:00
sani7 4fdffb8889 mainwindow
add extra text message in label if server is unavailable
2026-02-01 19:00:09 +01:00
sani7 bc6f7a8992 Fix cmake for websockets 2026-02-01 19:00:09 +01:00
sani7 6842b857eb mainwindow
add connected to label
2026-02-01 19:00:08 +01:00
sani7 169f30ad41 Fix build error 2026-02-01 19:00:08 +01:00
sani7 9345b818ce cmd line args
add args for server host + port
2026-02-01 19:00:08 +01:00
sani7 0df9c7b2e9 Move sims to a separate folder 2026-02-01 19:00:04 +01:00
sani7 34cdcd6078 websocket
add ping pong to simbase, mainwindow and websocket wrapper
2026-02-01 18:59:36 +01:00
sani7 e72ec3e01d mainwindow
rename member vars
2026-02-01 18:59:36 +01:00
sani7 d508f272bd sim test
remove slider lock and use sliderMoves event instead of value_changed, sliderPressed and sliderReleased
2026-02-01 18:59:36 +01:00
sani7 b0f7eb04cf sim test
change dial arc
2026-02-01 18:59:35 +01:00
sani7 429c144a98 helpers
refactor color functions so they can be used on all widgets
2026-02-01 18:59:35 +01:00
sani7 a140c70b03 test sim
add window title
2026-02-01 18:59:35 +01:00
sani7 05371cc6c2 test sim
add dial and thermo
2026-02-01 18:59:35 +01:00
sani7 2c4e08d578 simbase
allow dials and thermos
2026-02-01 18:59:34 +01:00
sani7 a05488f856 b sim-test
fix bug of 2 times calling setup_sliders
2026-02-01 18:59:21 +01:00
sani7 ff992b562f b sim-test
bad event for slider
2026-02-01 18:59:21 +01:00
sani7 9ad4b384c3 simbase
add fg_color + extra check for it
2026-02-01 18:59:20 +01:00
sani7 d3e56917b9 simbase
add extra get_UI_element handler in switch case
2026-02-01 18:59:20 +01:00
sani7 860b858748 simbase
remove t and d for determining slider or dial
2026-02-01 18:59:20 +01:00
sani7 c6914d3f06 b simbase
fix bad json name for button
2026-02-01 18:59:20 +01:00
sani7 0c9e524cd5 b event name
UI was with capital in server
2026-02-01 18:59:19 +01:00
sani7 c53126530d Add sim test 2026-02-01 18:59:19 +01:00
sani7 98bebb6c46 Update sim base and the sims 2026-02-01 18:59:17 +01:00
sani7 4d51a3e3ba main window
Now working with websocket
2026-02-01 18:58:58 +01:00
sani7 36c07e4a6f add websocket wrapper 2026-02-01 18:58:57 +01:00
sani7 b211ebc0c1 Before git init 2026-02-01 18:58:43 +01:00
sani7 d41f40dd25 add qwt 2026-02-01 18:43:11 +01:00
sani7 e6fb79e189 can debugger
fix message disappearing
2026-02-01 18:43:10 +01:00
sani7 a79b56bc92 remove unused include 2026-02-01 18:43:10 +01:00
sani7 f924a43251 ui
change can naming
2026-02-01 18:43:10 +01:00
sani7 f32838a7a5 update color lib 2026-02-01 18:43:10 +01:00
sani7 a3a1280976 ui
remove comment
2026-02-01 18:43:09 +01:00
sani7 9104e5f616 did some testing with custom hardware 2026-02-01 18:42:44 +01:00
sani7 b289eb7cf2 main fix typo 2026-02-01 18:42:26 +01:00
sani7 83e409e5cd test cmake 2026-02-01 18:42:25 +01:00
sani7 e7f13d9965 CAN debuger 2026-02-01 18:42:24 +01:00
sani7 10604e4b03 CAN interface / wrapper
try to get it to function with can ui
2026-02-01 18:41:50 +01:00
sani7 d154100702 simbase
Add run at stop
2026-02-01 18:41:36 +01:00
sani7 53a7af5d25 Add can dev as param 2026-02-01 18:41:33 +01:00
sani7 5ea9db8a89 test 2026-02-01 18:40:58 +01:00
sani7 6d6441424e update spdlog 2026-02-01 18:40:57 +01:00
sani7 c096450dde can interface
add extra logging of errors
2026-02-01 18:40:57 +01:00
sani7 e25e2baa12 can interface
remove next mid
2026-02-01 18:40:57 +01:00
sani7 2484d75898 Add cpp-templates submodule 2026-02-01 18:40:30 +01:00
sani7 29c00d1ffc CAN interface
add next mid function
2026-02-01 18:40:29 +01:00
sani7 bd72cda97e Change can interface
Now emits can frames via signal
2026-02-01 18:40:16 +01:00
sani7 ad8f06ba9d UI
remove unused includes
2024-12-30 12:08:13 +01:00
sani7 7b0276e1f1 CMake 2024-12-30 12:08:13 +01:00
sani7 b8aa9449ac fix spelling mistake 2024-12-30 12:08:13 +01:00
sani7 88eeb7e6ca UI
UI_can
2024-12-30 12:08:13 +01:00
sani7 6f72617371 CAN
Move from src to tools
2024-12-30 12:08:13 +01:00
sani7 5fdfb765de Add can ui element 2024-12-30 12:08:13 +01:00
sani7 460bc09b2f Initial CAN files 2024-12-30 12:08:13 +01:00
sani7 058de6a749 simulators
add warnings
2024-12-30 12:08:13 +01:00
sani7 000ede8cc1 update json lib 2024-12-21 11:36:23 +01:00
sani7 9be6f7b186 update test sim 2024-11-27 19:01:30 +01:00
sani7 a01f8fd8ae Clean
remove unused includes or debug
2024-11-22 22:11:53 +01:00
sani7 26e5a59583 UI
Remove text field from combobox
2024-11-22 22:11:53 +01:00
sani7 a26ddf02d1 test sim
add unit
2024-10-17 16:21:48 +02:00
sani7 7b5b4e0d65 UI
Thermo add checks for from and to json
2024-10-17 16:21:31 +02:00
sani7 399390d737 UI tests
Fix tests
2024-10-17 10:21:19 +02:00
sani7 f64df41df8 UI
Make a checkbox a UI item instead of UI_x_boxes
2024-10-17 10:21:06 +02:00
sani7 5889af5494 UI
Add units to the dial, slider and thermo
2024-10-17 10:19:50 +02:00
sani7 95a21250a6 Move to id is size_t 2024-10-10 19:47:18 +02:00
sani7 d02b31ab25 main
remove thread number
2024-09-16 17:47:13 +02:00
sani7 b44beed3ad main
disable file logger
2024-09-15 16:58:48 +02:00
sani7 aeeb5bbe19 websocket
fix debug log message
2024-09-15 16:55:25 +02:00
sani7 e876ec1aec Add example commands 2024-09-15 16:53:11 +02:00
sani7 b2b8023e65 add html page for testing server 2024-09-15 16:52:54 +02:00
sani7 756f69e9c7 Lint 2024-09-12 20:43:12 +02:00
sani7 67bcf10b16 websocket debug
now using spdlog
2024-09-12 18:45:50 +02:00
sani7 734a8dfca2 Move to Qt
Move to QTimer
Remove unused submodules
2024-09-12 17:07:06 +02:00
sani7 9eef1fc3ff Move to Qt
Everything seems to be working
Only timer is not moved over
2024-09-12 16:59:54 +02:00
sani7 fc181726b9 UI
Move ui item stubs from header to src
2024-09-07 15:48:35 +02:00
sani7 00e515066e Lint 2024-09-06 14:52:56 +02:00
sani7 58627f137e Websocket
Add ping pong response
2024-09-06 11:55:33 +02:00
sani7 293fb4b137 main
change log format
2024-09-06 11:55:03 +02:00
sani7 21a2c16607 Lint 2024-08-29 15:00:27 +02:00
sani7 6c6a60e980 Add linter + clang-format 2024-08-29 14:58:33 +02:00
sani7 77feda0c0f b simulators
got std::out_of_range on substr exception with 10 as size and this is the only place i use substr with size 10
2024-08-28 21:10:43 +02:00
sani7 b221f8e448 b test
fix test fail because separate threads
2024-08-28 21:04:45 +02:00
sani7 6f3215166b b UI
fix from json not setting function ptr to null
2024-08-28 20:58:26 +02:00
sani7 8ba2dc4ef1 b test
fix test fail because separate threads
2024-08-28 20:45:07 +02:00
sani7 d45d9c240d b UI
add default on UI_textbox on_change
2024-08-28 20:44:41 +02:00
sani7 8cabf7a6e9 UI message parser
move message parser threads to UI set functions
2024-08-28 19:59:23 +02:00
sani7 70b953dc16 message parser
event handling is now "async" in it's own separate thread
2024-08-28 19:11:54 +02:00
sani7 8efa935754 websocket
move sending broadcasts back to it's own thread
cause it can lock the even loop
2024-08-28 19:10:44 +02:00
sani7 733858af7a websocket
remove connection_lock that was not required
2024-08-28 19:09:55 +02:00