67 Commits

Author SHA1 Message Date
dario
5c050fc06e Updated default config and removed onManagerInit, onStateMachineInit 2024-11-20 19:34:51 +01:00
dario
f75f23d4e9 Moved system events to TACOS and re-introduced onManagerInit() and onStatemachineInit() for backwards compatibility 2024-11-20 18:49:11 +01:00
CarlWachter
80ae4502b6 fix(statemachine): perform manager roles and call callback when transition is forced 2024-11-20 18:49:11 +01:00
CarlWachter
ca3f303293 cleanup: separate functions for requesting and forcing state transitions, fix publishing behavior 2024-11-20 18:49:11 +01:00
CarlWachter
9f4d99191d feat: user definable callback on state transition 2024-11-20 18:49:11 +01:00
CarlWachter
7152baca2a refactor: merged manger task into statemachine task 2024-11-20 18:49:11 +01:00
CarlWachter
4ac600d2b7 refactor: moved startup from rtos2-utils to TACOS 2024-11-09 07:30:12 +00:00
dario
d1f7063912 Added state publishing to TACOS state transition 2024-10-04 13:32:30 +02:00
dario
c784e37eab Fixed typos in macro names 2024-09-30 10:09:22 +02:00
dario
1c8891a357 Changed CAN bus macros to be dependent on TACOS settings 2024-09-30 10:07:59 +02:00
dario
6c92ad7735 Removed timeout from queue put in canbus 2024-09-25 18:19:10 +02:00
CarlWachter
a495e5b2b9 Refactor CAN bus message queuing to pass by value 2024-09-25 17:50:34 +02:00
CarlWachter
7997a8a91a fix(CAN): RX buffer as queue for stability 2024-09-25 17:22:05 +02:00
CarlWachter
0a155905ee fix: force transition no longer restarts same state 2024-09-23 10:34:34 +00:00
dario
107541f954 mend 2024-09-23 10:32:53 +00:00
dario
8ac29db7bc Potential issue that caused problems during RAR crunch time 2024-09-23 10:32:53 +00:00
CarlWachter
f59eb971a4 CAN forwarding as optional feature 2024-08-30 13:07:58 +02:00
CarlWachter
de6615af95 chore: weak CAN sys message handler uses STA_TACOS_CAN_BUS_SYS_MSG_ID constant 2024-08-23 17:36:50 +02:00
CarlWachter
dd4c5f34a2 feat: handleSysMessage checks allows user to overwrite CAN system behavior 2024-08-23 14:40:00 +00:00
CarlWachter
d028ecef74 feat(state-via-can): state transitions via can are forced to resync state across devices 2024-08-23 14:40:00 +00:00
CarlWachter
da7b98be44 cleanup: cmsis-rtos for kernel frequency 2024-06-17 09:32:20 +00:00
@CarlWachter
40727728d0 feat(sync): added periodicDelay function to threads 2024-06-17 09:32:20 +00:00
CarlWachter
a6eabf559f Variable Stack size via config.hpp for manager and statemachine 2024-06-16 10:12:27 +00:00
dario
556a8c91a4 Small bugfix and adapted naming 2024-05-22 11:04:54 +02:00
CarlWachter
3af6656e0f Added Publishing and handling of CAN state transition 2024-04-30 17:33:52 +02:00
CarlWachter
104d2931be Cut out isotp and added CAN ID for state transition 2024-04-30 15:24:28 +02:00
CarlWachter
683b680f00 CAN via IRQ 2024-04-30 13:37:31 +02:00
CarlWachter
8637be5bc9 Initializer list warning resolved 2024-03-11 14:58:29 +01:00
@CarlWachter
39024e4a8c Basic working can implementation 2024-03-08 19:03:50 +01:00
@CarlWachter
7147d6de83 CAN implementation for standard CAN 2024-03-08 13:55:01 +01:00
@CarlWachter
f0176bb2ed TACOS interfaces for queing msg 2024-02-28 14:38:38 +01:00
@CarlWachter
43a8d19d08 made startup.cpp independent of hcan 2024-02-28 13:23:13 +01:00
@CarlWachter
b403559933 Added timeout so ISOTP processTX gets run time 2024-02-28 12:07:30 +01:00
@CarlWachter
3d586b3e0b FC frame after sending and synchronous testing 2024-02-26 18:17:56 +01:00
@CarlWachter
16b2ed5a20 Can bus start without handle 2024-02-16 17:43:28 +01:00
@CarlWachter
bfba17245f +Define guards
-redundant getter for can controller
2024-02-16 14:48:21 +01:00
@CarlWachter
7da60dc85e CAN Bus shifted to TACOS from rtos 2024-02-16 14:44:29 +01:00
@CarlWachter
7e0d3bfd19 removed tacos dependencies from rtos2-utils 2024-02-16 14:42:47 +01:00
@CarlWachter
becb501438 Proper getCanController init 2024-02-16 14:42:38 +01:00
@CarlWachter
2dc3299186 Constructor for CanBus 2024-02-16 14:42:04 +01:00
@CarlWachter
090d325b10 Syntax fixes 2024-02-16 14:42:04 +01:00
@CarlWachter
72395bd0c1 Controller init updated 2024-02-16 14:41:58 +01:00
@CarlWachter
c327ec2ede Cleanup 2024-02-16 14:41:27 +01:00
@CarlWachter
7635cfe4ad Rebase onto main 2024-02-16 14:41:27 +01:00
dario
f11a6fd5f7 Created debug.hpp and fixed doxygen 2024-02-14 13:36:21 +01:00
dario
801408e371 Fixed a few errors 2024-02-07 19:19:13 +01:00
dario
5b70001370 Changed super-constructor call for TacosThread 2024-02-07 19:13:07 +01:00
dario
554e1ab94e Fixed thread starting to work correctly 2024-02-07 19:02:27 +01:00
dario
1d1c5f4fc2 larger thread rework to support thread restarting 2024-02-07 19:02:27 +01:00
dario
75fe437f1e Added initWatchdog function to startup 2024-02-07 18:59:56 +01:00