iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.18k stars 1.48k forks source link

Pre-arm checklist error in "Settings validated" #3787

Closed sebmirasol closed 6 years ago

sebmirasol commented 6 years ago

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!

ZinhoRacing commented 6 years ago

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).

RCnator commented 6 years ago

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...

sebmirasol commented 6 years ago

Yeah, that fixed it for me! Thanks!

taka-shirasu commented 5 years ago

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?

shellixyz commented 5 years ago

@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.

taka-shirasu commented 5 years ago

Thanks you so much!

Regards Taka

On Wed, Nov 14, 2018, 00:51 Michel Pastor <notifications@github.com 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 .