Can anyone walk me through safety switch configuration?

I’ve found various pages regarding arming and disarming but none are “putting it all together” for me. I am using PX4 1.61.1, cube orange plus with a safety switch. I am making a fixed wing plane and I am currently tackling arming behavior.

What is happening:

  1. I plug in the main flight battery to the power brick, the plane immediately arms the servos, the ESC sounds through it’s startup, the propeller can NOT be activated and the safety switch is blinking red.
  2. When telemetry finally connects (stuck at 40% RSSI, but that’s the next problem) QGC says that the bird is ready to arm. I then click on ARM and move the slide bar to the right all the way.
  3. The plane sounds that it is armed, the laptop running QGC says ARMED and I then have throttle control, the safety switch is still blinking red with no pattern change.

What I want:

  1. Plug the flight battery in and have the servos arm (so I can check their functioning immediately).
  2. When I push the safety switch located on the side of the fuselage I want the blinking red switch light to go solid and that allows the ESC to sound off but not yet allow throttle control.
  3. ONLY when I arm the bird from the laptop do I want throttle control.
  4. If possible I want to REMOVE the sliding bar action to DISARM from the laptop (takes too long in an emergency use situation).

Can anyone walk me through the parameter changes for this desired sequence?

Hi there!
Some of the things you ask for are not supported in PX4 (as far as I know), but most should be possible.

  1. Set COM_PREARM_MODE to Always, then the servos will be alive from the moment that you plug in the battery.
  2. So you want a button that disabled a light and changes a sound? Sounds like a driver issue to me. This has nothing to do with pre-arm or any state change.
  3. In this setup, you only get throttle control when you arm.
  4. Consider using a button/switch for it on a remote. Ideally, use a Terminate switch/button, just to be sure you can also disarm when things go bad.