Beat Küng
f0ecd9e757
fix commander: set failsafe action state immediately after failsafe update
...
There was a race condition: for example when an external mode disabled
failsafe deferring, that then triggered a failsafe, while the mode executor
immediately sends a command (to e.g. switch modes).
In that case the failsafe got triggered but the mode switch was still
allowed.
This was because of the processing ordering:
- mode updates (and propagating the failsafe_action_active state)
- failsafe updates
- command handling
This patch makes sure failsafe_action_active is set immediately after
updating the failsafes.
2025-07-15 17:18:54 +02:00
..
2025-06-05 08:46:30 +02:00
2025-05-02 13:37:18 +02:00
2024-07-19 14:33:36 +02:00
2025-02-28 11:42:40 -09:00
2024-05-29 11:24:53 +02:00
2025-07-15 17:18:54 +02:00
2025-06-02 09:26:13 -07:00
2025-07-01 10:25:00 +12:00
2025-07-15 13:44:55 +02:00
2025-02-28 11:42:40 -09:00
2025-02-28 11:42:40 -09:00
2025-07-10 11:16:11 -08:00
2025-05-26 14:47:38 +02:00
2024-03-26 16:11:32 +01:00
2025-05-26 14:47:38 +02:00
2025-07-14 14:29:59 +02:00
2025-06-05 08:46:30 +02:00
2025-02-18 14:38:11 +01:00
2022-11-30 14:50:13 -05:00
2024-07-19 14:33:36 +02:00
2025-06-13 13:32:00 +02:00
2025-06-02 16:50:30 +02:00
2025-07-07 16:09:15 +02:00
2024-09-19 09:25:18 +03:00
2024-07-22 10:33:39 +02:00
2025-01-20 15:50:21 +01:00
2025-06-17 09:05:22 +02:00
2024-03-06 21:19:38 -05:00
2025-07-11 10:39:28 +02:00
2025-07-15 09:24:55 +02:00
2025-06-05 19:28:53 +02:00
2024-09-19 09:25:18 +03:00
2025-01-13 11:56:09 +01:00
2025-05-26 14:47:38 +02:00
2025-06-29 13:56:06 -08:00
2025-03-10 18:59:52 -04:00
2025-07-14 14:29:59 +02:00
2023-03-16 11:55:45 +01:00
2024-09-19 09:25:18 +03:00
2025-07-11 10:39:28 +02:00
2025-03-17 10:01:48 +01:00
2025-07-15 13:55:28 +02:00
2025-07-15 13:55:28 +02:00
2025-07-15 13:55:28 +02:00
2025-07-15 10:53:04 +02:00
2025-07-15 09:58:41 +02:00
2025-03-27 09:46:02 -06:00
2024-09-19 09:25:18 +03:00
2024-10-04 15:44:49 -04:00
2024-11-26 16:13:48 +01:00
2024-11-26 16:13:48 +01:00
2025-07-14 16:12:00 +02:00
2025-06-05 08:46:30 +02:00
2025-05-26 14:47:38 +02:00
2021-10-07 10:09:01 -04:00