inav icon indicating copy to clipboard operation
inav copied to clipboard

Pre-arm checklist error in "Settings validated"

Open sebmirasol opened this issue 8 years ago • 6 comments

Hey guys!

I configured everything for a flying wing, saved and rebooted, added some stuff through CLI and saved via the command. But in the pre-arm check (inav 2.0.0) I still get an error in "Settings validated)

This is what I get from status System Uptime: 614 seconds Current Time: 2018-08-24T11:49:18.081+00:00 Voltage: 11.27V (3S battery - OK) CPU Clock=168MHz, GYRO=MPU6500, ACC=MPU6500 STM32 system clocks: SYSCLK = 168 MHz HCLK = 168 MHz PCLK1 = 42 MHz PCLK2 = 84 MHz Sensor status: GYRO=OK, ACC=OK, MAG=NONE, BARO=NONE, RANGEFINDER=NONE, OPFLOW=NONE, GPS=OK SD card: None inserted Stack size: 6144, Stack address: 0x10010000, Heap available: 920 I2C Errors: 0, config size: 4135, max available config: 131072 ADC channel usage: BATTERY : configured = ADC 2, used = ADC 2 RSSI : configured = ADC 3, used = none CURRENT : configured = ADC 1, used = ADC 1 AIRSPEED : configured = none, used = none System load: 1, cycle time: 1000, PID rate: 1000, RX rate: 129, System rate: 9 Arming disabled flags: CLI SETTINGFAIL Invalid setting: report_cell_voltage

The dum is attached as a .txt dump.txt

Could you please point me in the right direction? Thanks for your time!

sebmirasol avatar Aug 24 '18 11:08 sebmirasol

Hi @sebmirasol , Wrong setting is "Invalid setting: report_cell_voltage" You need to change setting 'report_cell_voltage' in CLI. in your dump : report_cell_voltage = VALUE 5 OUT OF RANGE FOR report_cell_voltage (i had the same issue once).

ZinhoRacing avatar Aug 24 '18 13:08 ZinhoRacing

I also get an error in "settings validated" besides "navigation is safe" even though I have 17 sats. My "report_cell_voltage" is set to "OFF" btw. I hope my dump below is readable.

dump.txt

edit. I did some changes under modes and now navigation is safe but there is still a error with settings validated...

RCnator avatar Aug 26 '18 07:08 RCnator

Yeah, that fixed it for me! Thanks!

sebmirasol avatar Aug 26 '18 09:08 sebmirasol

Hi, I get the error message Invalid name when I insert the command "set report_cell_voltage OFF". DO you know how to fix this?

taka-shirasu avatar Nov 13 '18 19:11 taka-shirasu

@Taka1996108 Try set report_cell_voltage = OFF. But that's not the right way to fix an invalid setting report. You should restore the defaults and start the configuration again. If one setting is reported as invalid it means you flashed the firmware without the "erase all" option and the settings migration failed. More settings could have an extreme value and cause unexpected behaviour.

shellixyz avatar Nov 14 '18 00:11 shellixyz

Thanks you so much!

Regards Taka

On Wed, Nov 14, 2018, 00:51 Michel Pastor <[email protected] wrote:

@Taka1996108 https://github.com/Taka1996108 Try set report_cell_voltage = OFF. But that's not the right way to fix an invalid setting report. You should restore the defaults and start the configuration again. If one setting is reported as invalid it means you flashed the firmware without the "erase all" option and the settings migration failed. More settings could have an extreme value and cause unexpected behaviour.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/3787#issuecomment-438495826, or mute the thread https://github.com/notifications/unsubscribe-auth/AZRy3v8_DEjPB3m5tY6mBnGX0X57pJHbks5uu2kDgaJpZM4WLOHF .

taka-shirasu avatar Nov 22 '18 07:11 taka-shirasu