diff --git a/conf/airframes/TUDelft/airframes/test.xml b/conf/airframes/TUDelft/airframes/test.xml new file mode 100644 index 0000000000..3811973103 --- /dev/null +++ b/conf/airframes/TUDelft/airframes/test.xml @@ -0,0 +1,237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ +
+ + + + + + +
+ +
+ + + + + +
+ +
+ + + +
+ +
+ + + + +
+ +
diff --git a/sw/airborne/subsystems/intermcu/intermcu.c b/sw/airborne/subsystems/intermcu/intermcu.c index 57480b4516..af28be72a8 100644 --- a/sw/airborne/subsystems/intermcu/intermcu.c +++ b/sw/airborne/subsystems/intermcu/intermcu.c @@ -378,6 +378,11 @@ void intermcu_on_rc_frame(void) InterMcuSend_INTERMCU_RADIO(fbw_state->channels); } +void intermcu_send_status(void) +{ + // Send Status +} + #endif @@ -386,6 +391,8 @@ struct InterMCU inter_mcu; void intermcu_periodic(void) { + RunOnceEvery(25, intermcu_send_status()); + if (inter_mcu.time_since_last_frame >= INTERMCU_LOST_CNT) { inter_mcu.status = INTERMCU_LOST; } else {