75 Commits

Author SHA1 Message Date
CarlWachter
b07cf9bb22 fix 2025-04-22 16:59:37 +02:00
CarlWachter
03d0486f74 cmake: Added sources and includes 2025-04-22 14:53:08 +02:00
CarlWachter
a1e31a4922 refactor: merged manger task into statemachine task 2025-04-22 14:49:50 +02:00
CarlWachter
cd01b48bee refactor: moved startup from rtos2-utils to TACOS 2025-04-22 14:48:11 +02:00
dario
1669b0c590 First (unsuccessful) tests, system events not working correctly 2025-03-25 20:24:19 +01:00
dario
6526139de7 Fixed a few problem due to the events rework 2025-03-24 20:22:09 +01:00
dario
93c70de8d7 More compact tick events implementation 2025-03-24 19:58:41 +01:00
dario
1479e75365 Prototype for tick events 2025-02-16 00:02:20 +01:00
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