embedded coder support package for px4 : additional arming method

조회 수: 3 (최근 30일)
Daehee Lim
Daehee Lim 2020년 6월 1일
댓글: Daehee Lim 2020년 6월 2일
I'm trying to stabilize my x-quadcopter with pixhawk1.
I builded my coder to pixhawk, however, I want to arm without safety switch.
I want to arm with my RC transmitter stick(move stick like this↘↙).
How can I arm without using safety switch?

채택된 답변

R
R 2020년 6월 2일
편집: R 2020년 6월 2일
you want to disable the hardware safety switch?
if so, you have 2 options:
1.in QGC, in parameters you can disable the IO_SAFETY option
2.you can connect your motors to the aux outputs and not mains
warning: it is dangerous to disable this option...
if you want to arm the vehicle by the combination of 2 sticks (↘↙) , you need to add logical condition in the code
lets say "" this is channel1 radio , and this is "' channel2, then those signals correspond to pwm input you get from the radio, so all you need is to add im simulink: "if channel1 pwm>pwm1 && channel2 pmw>pwm2, ARM=1 else ARM=0" and send it to pwm block
  댓글 수: 1
Daehee Lim
Daehee Lim 2020년 6월 2일
Thank you for your reply. I arm my vehicle with a swtich(channel5) on my RC transmitter and I solved my issue:)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by