2023-08-04, 10:16 PM
(This post was last modified: 2023-08-04, 10:34 PM by rotorman.
Edit Reason: it is working
)
(2023-08-04, 07:26 PM)seandepagnier Wrote: please post a picture of your setup. Some of these boards require voltage conversion since the icm20948 uses 1.8 volts.
Hi Sean, how are you? Do you remember me? Geza. We have meet in Opua in NZ before when you had the affair with customs. You have done an amazing job with pypilot. Since I had a lightning strike and all electronics are gone now I am attempting to build a pypilot.
UPDATE ------------
It is working. It just takes a long time until the web interface is available.
---------------
Original problem:
The board containing the icm20948 has a voltage regulator and can take anything from 3-5 volts so I think that is fine.
I have just checked the log and it seems like icm20948 is detected and initialized. However I am unable to open the web interface. If I disconnect the icm209048 then the web interface works.
Here is the log with ICM-20948 connected:
2021-11-04_11:00:18.83308 autopilot start 16.11375
2021-11-04_11:00:18.83388 autopilot start 24.367213
2021-11-04_11:00:18.83394 ERROR loading intellect.py liblzma.so.5: cannot open shared object file: No such file or directory liblzma.so.5: cannot open shared object file: No such file or directory
2021-11-04_11:00:18.83417 ERROR loading learning.py liblzma.so.5: cannot open shared object file: No such file or directory liblzma.so.5: cannot open shared object file: No such file or directory
2021-11-04_11:00:19.12303 Settings file RTIMULib.ini loaded
2021-11-04_11:00:19.12314 Failed to open settings file for saveDetected ICM20948 at option address
2021-11-04_11:00:19.12326 Failed to open settings file for saveUsing fusion algorithm Kalman STATE4
2021-11-04_11:00:19.12337 min/max compass calibration not in use
2021-11-04_11:00:19.12345 Using ellipsoid compass calibration
2021-11-04_11:00:19.12351 Using accel calibration
2021-11-04_11:00:19.43161 ICM-20948 init complete
2021-11-04_11:00:19.47692 loading servo calibration /home/tc/.pypilot/servocalibration
2021-11-04_11:00:19.47706 WARNING: using default servo calibration!!
2021-11-04_11:00:19.47715 Available Pilots: ['absolute', 'basic', 'simple', 'wind']
2021-11-04_11:00:19.47723 warning: failed to open special file /dev/watchdog0 for writing
2021-11-04_11:00:19.47734 cannot stroke the watchdog
I have attached some photos of the temporary connection.
Hey thank you very much for having a look.