Commit Graph
99 Commits
Author SHA1 Message Date
sani7 e7c4f3956a server
update main command line arguments
2026-02-14 14:32:39 +01:00
sani7 fc654d1e39 Lint 2026-02-14 14:32:38 +01:00
sani7 7a4eb4f92d b server
add error message if unable to bind to port
2026-02-14 14:32:38 +01:00
sani7 600e7c27b3 server can if
add critical message
2026-02-14 14:32:38 +01:00
sani7 01dfb0e21d server doxygen
Add documentation to the server
2026-02-14 14:32:37 +01:00
sani7 a3a1657fb8 Lint 2026-02-14 14:32:34 +01:00
sani7 fbf8f53090 server
Ensures that the message parser returns a default "{}" response after handling an event, preventing unintended empty responses.
Also, this change avoids sending empty messages to the client unnecessarily.
2026-02-14 14:32:33 +01:00
sani7 c8ea8185b4 server websocket
Removes unnecessary debug and trace logging statements from the websocket server implementation to reduce verbosity. Also removes unused binary message processing.
2026-02-14 14:32:33 +01:00
sani7 4efe904fe7 Improves logging and adds TODO for COM device
Capitalize  first letter.
Adds a TODO comment to address future improvements regarding COM device handling.
2026-02-14 14:32:33 +01:00
sani7 e9128e4f36 sim loading
remove idea of running this thing on windows, not possible due to windows not having "export-dynamic" support
2026-02-14 14:32:32 +01:00
sani7 326a636122 server
Renames the `run` method to `start` in the simulator classes.
2026-02-14 14:32:32 +01:00
sani7 1a88e5fc40 b server sim switching
Rearranges the order of operations during simulator switching to ensure that the previous simulator is properly stopped and disconnected before the new simulator is started.
2026-02-14 14:32:32 +01:00
sani7 a2befb3ff9 b server simulators broadcast
- Fix for separate message for each ui change/sim change event by putting Qt::QueuedConnection
- Avoids broadcasting empty JSON objects produced by the change above mentioned
2026-02-14 14:32:31 +01:00
sani7 7cb93ec14d change Event can_clear to clear
make this a bit more general, that it can be used for more then only can
2026-02-14 14:32:18 +01:00
sani7 1bd7635085 Renames signals for consistency
Updates signal names across UI components (checkbox, textbox, and CAN) to use more consistent and descriptive names, improving code readability and maintainability. The 'on_change' and 'on_send' signals are renamed to 'changed' and 'send' respectively.
2026-02-14 14:32:16 +01:00
sani7 8bf7c6fd79 cmake
auto copy libsim_* and libui_* to bin folder
2026-02-14 14:32:11 +01:00
sani7 8668f72e6d Replaces header guards with pragma once 2026-02-14 14:32:10 +01:00
sani7 ee185b68e6 Adds check for active simulator before commands
Implements a check to ensure a simulator is active before processing commands.

This prevents errors and unexpected behavior when commands are sent without an active simulator. The check is performed at the beginning of the command parsing, and logs an error if no simulator is active, returning an empty JSON object.
2026-02-14 14:32:10 +01:00
sani7 fe0ee989e9 Improves build process for internal development
Adds an INTERNAL preprocessor definition to manage dependencies.

This change allows for a lighter build during internal development by
forward declaring some classes and excluding UI and CAN dependencies.
2026-02-14 14:32:10 +01:00
sani7 0cdd276194 UI
add statusbar
2026-02-14 14:32:09 +01:00
sani7 4da26083a7 stacked widget
tested and working
2026-02-14 14:32:07 +01:00
sani7 faac84821c tab widget
working prototype
2026-02-14 14:32:07 +01:00
sani7 c6c765d528 rename executables 2026-02-14 14:32:05 +01:00
sani7 2aa7f335db Add branch name to description 2026-02-14 14:32:04 +01:00
sani7 7c91a64d71 convert selected
move from string to index to reduce data size
2026-02-14 14:32:03 +01:00
sani7 99d537ac29 Lint 2026-02-14 14:32:03 +01:00
sani7 0da7be73b2 add git_tag 2026-02-14 14:32:02 +01:00
sani7 6e5d32bc16 Lint 2026-02-14 14:31:31 +01:00
sani7 b772b91e6e fixes for build on windows 2026-02-14 14:31:31 +01:00
sani7 34acefde6a server
remove includes from simulators header to source
2026-02-14 14:31:25 +01:00
sani7 e9dc6af1d2 b server cmake
add spdlog
2026-02-14 14:31:25 +01:00
sani7 15969538de b library
fix unload lib on error
2026-02-14 14:31:24 +01:00
sani7 e04f58cbcf b server
fix runtime link errors
2026-02-14 14:31:24 +01:00
sani7 e41b862004 Lint 2026-02-14 14:31:23 +01:00
sani7 5d3782ccfd b server
fix naming
2026-02-14 14:31:23 +01:00
sani7 d82886f3a1 server
implemented but not tested
2026-02-14 14:31:22 +01:00
sani7 a0d75c7e4e server
build able but not implemented
2026-02-14 14:31:22 +01:00
sani7 42f1580c4f server visa
clean up visa code
add s_data_ready signal
2026-02-14 14:31:20 +01:00
sani7 04390e2f23 simbase
Add QThread to simbase
2026-02-14 14:31:19 +01:00
sani7 3e4ffef1a7 Lint 2026-02-14 14:31:19 +01:00
sani7 5cb5a1e52b Add VISA lib 2026-02-14 14:31:19 +01:00
sani7 56727d253d Lint 2026-02-14 14:31:18 +01:00
sani7 163db5b0a5 server gpio
Add try catch around configuration of pin
2026-02-14 14:31:18 +01:00
sani7 3920003bde server gpio 2026-02-14 14:31:18 +01:00
sani7 0086016114 Lint 2026-02-14 14:31:17 +01:00
sani7 91b6948b96 gpio
fix reconfigure
2026-02-14 14:31:17 +01:00
sani7 0f518b5cdd Lint 2026-02-14 14:31:17 +01:00
sani7 2bd7cd455b b gpio 2026-02-14 14:31:16 +01:00
sani7 cf9db442ee gpio
move to cxx bindings
2026-02-14 14:31:16 +01:00
sani7 84b1ccd7d0 gpio
move configuring to separate function instead of in constructor
2026-02-14 14:31:16 +01:00