tiger
(tiger)
August 19, 2018, 7:40am
1
Hi all,
Is it possible to monitor the relays’ status in the SITL, Plane?
In MissionPlanner I’m using a way point with DO_SET_RELAY 1 1
and I’m monitoring ch9_out
and tried the following configurations but failed:
1- RELAY_PIN = 50 (AUXOUT1)
2- RELAY_PIN = 50 (AUXOUT1)
SERVO9_FUNCTION = 59 (RCIN9)
3- Same as 2 but set:
BRD_PWM_COUNT = 0 (no PWMs)
4- Same as 2 but set:
BRD_PWM_COUNT = 4 (4 PWMs)
Any help?
tiger
(tiger)
August 19, 2018, 3:01pm
3
Hi Peter,
Thanks for your reply.
According to the code you sent, I tried also:
DO_SET_RELAY 0 1
But with no changes in all chxx_out
Did the SIM_ mask change?
tiger
(tiger)
August 20, 2018, 11:39am
5
Sorry, what’s the SIM_mask?
I’m a newbie in Ardupilot
Read through the test carefully. The way the simulation indicates the
status of the relays is via a magically-updated-parameter (don’t blame me,
it was like that when I got here )