2022-02-04, 03:31 PM
Hi all -- Complete newbie here, seeing if I can put together a pypilot system.
So, my brand-new Pi Zero 2 W arrived yesterday and I booted it up using Stelian's tinypilot image. It all seems to have loaded properly and it recognises the ICM20948 board. The pitch and roll readouts seem plausible.
But the compass is crazy. Like, if I turn the ICM round by 180° the heading readout might change by 20°. I've checked for loose connections and nearby magnets/cables and played around with calibration settings, all to no avail. Is there something else obvious it might be? Or could it be a dodgy board? (it's from Adafruit).
As I say, a complete newbie -- I just wanted to learn a bit about programming and maybe, just maybe, get an autopilot out of it, so please be patient.
So, my brand-new Pi Zero 2 W arrived yesterday and I booted it up using Stelian's tinypilot image. It all seems to have loaded properly and it recognises the ICM20948 board. The pitch and roll readouts seem plausible.
But the compass is crazy. Like, if I turn the ICM round by 180° the heading readout might change by 20°. I've checked for loose connections and nearby magnets/cables and played around with calibration settings, all to no avail. Is there something else obvious it might be? Or could it be a dodgy board? (it's from Adafruit).
As I say, a complete newbie -- I just wanted to learn a bit about programming and maybe, just maybe, get an autopilot out of it, so please be patient.