Navio 2 Arm Problem

Hello friends ı use this code to arm and take off my drone

def arm_and_takeoff(aTargetAltitude):
‘’‘while not vehicle.is_armable:
print(“Waiting for vehicle to become armable”)
time.sleep(1)
‘’’

#Switch vehicle to GUIDED mode and wait for change

vehicle.mode = VehicleMode("GUIDED")
while vehicle.mode!="GUIDED":
    print("Waiting for vehicle to enter GUIDED mode")
    time.sleep(1)

#Arm vehicle once GUIDED mode is confirmed
vehicle.armed=True
while vehicle.armed==False:
    print("Waiting for vehicle to become armed.")
    time.sleep(1)

vehicle.simple_takeoff(aTargetAltitude)

I disable some pre arm check feature (GPS and RC).Because I dont have

I take a error

Can you help me

Hi @earas48,

Sorry for the delayed response.

Could you please explain how did you disable them?

Do I take it right that the issue is in altitude measurements?
Could you please check what’d be the output if you run the barometer example?

Hello ,
Firstly I use ARMING_CHECK=0 command.I see that current altitude values from screen.When I measure the output pin voltage that enter esc,I can not see any voltage,Do you think Can I perform system without rc controller,esc … .At the moment I dont have any equipments.I have only navio 2,I have to see voltage on the output pin so
I want to disable all of pre arm check

Hi @earas48,

Have you provided servo rail with the power supply? Can I see the output of the ADC example so I can check it out?

Hi I use servo rail utilizing raspberry pi 5v pin and I also measured output servo rail pins.These are 5v and I used servo.py example.Servo motor runs properly.

Hi @earas48,

Could you please clarify if I understand correctly that you want to measure the signal output on servo rail?

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.