ppoirier
(ppoirier)
July 28, 2016, 11:24am
1
Hello,
I just completed a new build with a raspberry pi Zero rel 1.3 (with the camera interface)
The same copter.elf was working fine with the RPI Zero rel 1.0 (no camera)
Oubiously, the first step I did was to disconnect camera and get the electrical load like the last setup, but still get this error.
I can see here // min board voltage in volts for pre-arm checks
https://github.com/ArduPilot/ardupilot/blob/master/ArduCopter/config.h#L169
But the question are:
-Where this value is being capture on the RPI
Is this reading is accurate
Is there any provision in this check for 3.5 volts devices like the RPI
I can bypass/change value in the config.h , but would it be the correct procedure ?
Many thanks for your help
OXINARF
(Francisco Ferreira)
July 28, 2016, 11:39am
2
Are you just compiling for generic Linux board or what are you using? Some boards have methods to get the voltage, some don’t and just return 0 (this is debatable if it is correct, there are some boards that just return 5).
You can always bypass the voltage pre-arm check.
ppoirier
(ppoirier)
July 28, 2016, 12:51pm
3
Hello Francisco,
This is my release 2 of the BBB-MINI look here: [http://diydrones.com/profiles/blogs/mini-zee-a-100-diy-smart-drone-with-the-pi-zero-and-apm ] and it is builded using this : make pxfmini
I will double check but voltage pre-arm check just apply to batteries, not Board Voltage.
Regards
1 Like
OXINARF
(Francisco Ferreira)
July 28, 2016, 1:57pm
4
Patrick,
I’ve talked to the Linux maintainer and we will change the default from 0 to 5 so it will pass the check.
Regarding the pre-arm check you can see at https://github.com/ArduPilot/ardupilot/blob/master/ArduCopter/arming_checks.cpp#L261 that it does apply.
ppoirier
(ppoirier)
July 28, 2016, 2:12pm
5
Great !!
Thanks for this fast answer and for applying the change.
Meanwhile I’ll disable the option.
Best Regards
OXINARF
(Francisco Ferreira)
July 28, 2016, 11:09pm
6
It’s already in master, so if you are using that branch you just need to pull into your local repository. Thanking @lucasdemarchi for his fast work!
ppoirier
(ppoirier)
July 29, 2016, 10:09am
7
Amazing, thanks to you guys l