inav icon indicating copy to clipboard operation
inav copied to clipboard

Flying Wing, motor will not arm in iNav 1.8.0

Open Cattlebaron opened this issue 9 years ago • 46 comments

The motor will not arm in version 1.8.0. (The Configurator is version 1.8.1) All pre-arming checks are shown with a tick. In the modes tab Angle, Horizon and Passthru go active when selected but Arm and Navlaunch do not. I have set to nav_extra_arming_safety = OFF The fixed wing is a TekSumo and the flight controller is an Omnibus F3 AIO. This plane in not fitted with a GPS module as it is intended for LOS flying only. The CLI Diff dumps is as follows:

version

INAV/OMNIBUS 1.8.0 Oct 17 2017 / 12:05:26 (0e5cdd03)

resources

mixer

mixer FLYING_WING

servo

servo mix

feature

feature -BLACKBOX feature -OSD feature MOTOR_STOP feature AIRMODE feature PWM_OUTPUT_ENABLE

beeper

map

name

serial

serial 0 32 115200 38400 0 115200 serial 2 64 115200 38400 0 115200

led

color

mode_color

aux

aux 0 0 0 1700 2100 aux 1 1 1 1300 1700 aux 2 2 1 900 1300 aux 3 10 2 1700 2100 aux 4 14 3 1700 2100

adjrange

rxrange

master

set gyro_sync = ON set gyro_hardware_lpf = 188HZ set acc_hardware = MPU6000 set acczero_x = 135 set acczero_y = -63 set acczero_z = -148 set accgain_x = 4075 set accgain_y = 4093 set accgain_z = 4007 set mag_hardware = NONE set baro_hardware = BMP280 set pitot_hardware = NONE set receiver_type = SERIAL set serialrx_provider = SBUS set small_angle = 180 set nav_extra_arming_safety = OFF

profile

profile 1

set fw_p_pitch = 15 set fw_i_pitch = 40 set fw_ff_pitch = 15 set fw_p_roll = 15 set fw_i_roll = 30 set fw_ff_roll = 15 set fw_p_yaw = 50 set fw_i_yaw = 45 set fw_ff_yaw = 0 set fw_i_level = 15 set roll_rate = 40 set pitch_rate = 15

Cattlebaron avatar Oct 29 '17 07:10 Cattlebaron

Sorry, can't reproduce. Configurator doesn't report all arming blockers. OSD will give you a better hint what's not allowing you to arm

digitalentity avatar Oct 29 '17 09:10 digitalentity

I for one only ask for help when I have exhausted all other avenues thus your terse reply is of no help. I don't know if the screen shot will show but it tells me nothing helpful.

screen shot 2017-10-30 at 11 03 35 am

I would be quite happy to post the flight controller to you (at my expense) if it would help you to solve the problem because it is not unique, it has been reported a number of times on GitHub.

Cattlebaron avatar Oct 30 '17 01:10 Cattlebaron

This is really odd issue and it surely needs to be investigated. I should have an original Omnibus in my box, will gid it out and test your settings there.

However, since you don't have GPS and don't use any navigation modes (they are useless w/o GPS anyhow), it's safe to set nav_extra_arming_safety to OFF.

Can you describe actions you do when it doesn arm? Which flight mode do you activate when it doesn't arm? Is your throttle stick at zero throttle?

digitalentity avatar Oct 30 '17 01:10 digitalentity

I hope you can sort the problem. I am using the Omnibus F3 flight controller for my Quad also using iNav and have no problems. I want to use the FC for stability control for my plane to replace a gyro which does the job. I use a Taranis TX X9D and a X4R-SB RX connecting the two via Sbus. I switch my TX on and once it is booted I power the FC. No matter what flight mode I choose the FC will not arm and allow the motor to run. The system is set to Angle mode by default ARMING is by use of a switch (SF). I also have Horizon mode but the system will NOT arm in this mode or Passthru mode either. The only other setting I have is nav_launch but that will never activate if the motor will not arm. I observe if I enter the motors tab, switch the arm to on, I can simulate the motor running but physically the motor will not start. Further all settings in the Modes tab work but the arm one will not change to a blue background when the switch is activated, the small position indicator moves as expected. Finally the Taranis will not boot if the throttle stick is not set to the minimum position.

Cattlebaron avatar Oct 30 '17 02:10 Cattlebaron

Ok, thanks for detailed description. So you are trying to use NAV LAUNCH and it doesn't arm then. Oh, by the way, launch mode will block the motor until throw is detected, so the machine may in fact arm. Do you have a beeper connected?

digitalentity avatar Oct 30 '17 05:10 digitalentity

Thank you for the reply. I am not using nav_launch at present. I hope to fly the wing first and then start the adventure of nav_launch as I have to have the wing launched (thrown) by a club member, hence the appeal of nav_launch. I checked my Receivers tab in the configurator and I had set the low throttle to 1000, mid point to 1500 and full throttle to 2000 are these the values needed? I have been experimenting with iNav for fixed wing since the release of 1.7.1 and it was all fine for a short time but then arming became a haphazard thing and failed totally shortly after. I purchase some new Omnibus F3 controllers but have not had any success. The problem for users like myself is we don't know if it is the controller, the firmware or the configurator. I am examining a change to the Paris Air3 controller sold by CarbonBird as I feel the problem lies with the OBF#.

Cattlebaron avatar Oct 30 '17 06:10 Cattlebaron

Very short piece of information. A friend has his OBF3 installed in a wing and the motor arms. The only difference I can see that his is also fitted with a GPS module.

Cattlebaron avatar Nov 02 '17 00:11 Cattlebaron

One thing that prevented arming for me before I figured out what was happening is not allowing the accelerometer/gyro enough time to calibrate after plugging in the battery. I thought there was a problem with the FC but it turned out I just needed to give it a couple seconds sitting still after powering up.

nav_extra_arming_safety = OFF should allow arming regardless of GPS (fix,no fix, not used)

I'd say the issue may lie elsewhere. Have you verified the hardware is functional? Perhaps try flashing another firmware (ie BetaFlight) to verify.

snowblind64 avatar Nov 02 '17 05:11 snowblind64

Thank you for the hints, I will follow up on them. I have already set nav_extra_arming_safety = OFF

Cattlebaron avatar Nov 02 '17 07:11 Cattlebaron

I am having the same problem, i can spin the motor in motor tab. But when i arm nothing happen. I have a switch for arming, and when i arm that switch stay grey. I use a Orginal Omnibus F4 pro v3 from airbot, using a gps and mag meter. I have set nav_extra_arming_safety = OFF for testing, but then i can;t arm also

sniperxnl avatar Nov 06 '17 10:11 sniperxnl

@sniperxnl please give us your config dump so we ca review possible configuration issue here.

digitalentity avatar Nov 07 '17 00:11 digitalentity

Found it, my compass did it, it lichts up red and blue everytime, then i can't arm

sniperxnl avatar Nov 07 '17 08:11 sniperxnl

I am pleased for you, sniperxn, I hope that your can't was a typo and should read can. This unfortunately does not solve my problem as I have not installed a GPS/Compass.

Cattlebaron avatar Nov 07 '17 23:11 Cattlebaron

Seems I am getting no more information. Can I assume that following sniperxnl comment above the only way forward is to fit the flight controller with a GPS/Mag combo? I have read a number of times that on a fixed wing aircraft a magnetometer is not needed is this still so or will it too have to defined for the flight controller to arm?

Cattlebaron avatar Nov 10 '17 03:11 Cattlebaron

Don't know whether this helps but I have an omnibus F4 with Inav. It will not arm if you have RTH selected for failsafe unless it has enough sats. Normal behavior I expect but just a thought.

MW2Stambo avatar Nov 12 '17 04:11 MW2Stambo

Thanks for the note

Cattlebaron avatar Nov 12 '17 06:11 Cattlebaron

@Cattlebaron "extra arming safety" will prevent you from ARMing if you don't have a GPS lock and any of the following is true:

  1. You have failsafe mode set to RTH
  2. You have WP, PosHold or RTH mode on a switch
  3. You attempt to arm with RTH, WP or PosHold modes activated

So far I am unable to reproduce your issue on any of my setups (with or without GPS). Since you don't need (and don't have) GPS it's safe to keep "nav_extra_arming_safety = OFF"

digitalentity avatar Nov 12 '17 07:11 digitalentity

Thank you digitalentity, I have not resolved the problem I am now of the opinion that there must be a problem with the Omnibus F3 AIO. I will try another brand of flight controller as I like iNav.

Cattlebaron avatar Nov 13 '17 00:11 Cattlebaron

@Cattlebaron please report your findings with another board - I'm curious if this issue is hardware-related or there is some obscure bug in software.

digitalentity avatar Nov 13 '17 06:11 digitalentity

I will report but it will take some time as I have to order the board, which I will do tonight, but it takes a week or two to arrive at my place. Please be patient I will report back as soon as I have the new board. I intend purchasing a AIR3 PARIS Sirius™AirHERO32 F3 SPI - BetaFlight - Sbus - damped Drone autopilot - flight Controller board. I have saved a full dump of the Omnibus F3 board saved 30 minutes ago. I can send it if it would be help, I also have a diff dump but it may not ave all the information you need.

Cattlebaron avatar Nov 13 '17 08:11 Cattlebaron