Sean,
The following are the results from my system per your request at Post #16 above
pi@openplotter:~ $ ls -l /dev/serial0
lrwxrwxrwx 1 root root 8 May 16 06:11 /dev/serial0 -> ttyAMA10
pi@openplotter:~ $ sudo systemctl stop pypilot
pi@openplotter:~ $ pypilot
autopilot start 10644.236221326
loading translations: terminal encoding: utf-8
pilot append <class 'pilots.basic.BasicPilot'>
pilot append <class 'pilots.wind.WindPilot'>
pilot append <class 'pilots.absolute.AbsolutePilot'>
world magnetic model not available
imu process 27508
made imu process realtime
Using settings file RTIMULib.ini
Settings file not found. Using defaults and creating settings file
Detected ICM20948 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: ICM-20948
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
nmea process 27521
listening on port 20220 for nmea connections
signalk process 27523
gps process 27524
loading servo calibration /home/pi/.pypilot/servocalibration
WARNING: using default servo calibration!!
Available Pilots: ['basic', 'wind', 'absolute']
server process start 10644.442444261
pypilotServer process 27526
server init 10644.445819803
load file /home/pi/.pypilot/pypilot.conf
store_file /home/pi/.pypilot/pypilot.conf.bak 10644.457 False
pypilotinit complete 10644.458616377
ICM-20948 init complete
serialprobe removing gps device /dev/serial/by-id/usb-u-blox_AG_-_www.u-blox.com_u-blox_7_-_GPS_GNSS_Receiver-if00
servo probe ('/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A5069RR4-if00-port0', 38400) 10644.509978035
server listening 10644.518337365
server setup has 6 pipes
zeroconf addresses [('eth0', '192.168.1.108')] 1
zeroconf[eth0] = Zeroconf(ip_version=IPVersion.V4Only, interfaces=[192.168.1.108])
gps filter process 27525
imu rate set to rate 20
IMU all sensor axes verified
setting initial gyro bias [0.74, 0.9, -0.72]
arduino servo found ['/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A5069RR4-if00-port0', 38400]
serialprobe success: /home/pi/.pypilot/servodevice ['/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A5069RR4-if00-port0', 38400]
Arduino motor controller EEPROM SIGNATURE ok
gpsd connected
GPSD devices []
failed import calibration fit No module named 'minpack'
signalk zeroconf service add openplotter._http._tcp.local. _http._tcp.local.
signalk read token
signalk zeroconf service add HP DeskJet 2800 series [0832BD]._http._tcp.local. _http._tcp.local.
signalk server found 192.168.1.108:3000
signalk found ws://192.168.1.108:3000/signalk/v1/stream?subscribe=none
signalk connected to ws://192.168.1.108:3000/signalk/v1/stream?subscribe=none
failed import calibration fit No module named 'minpack'
failed import calibration fit No module named 'minpack'
failed import calibration fit No module named 'minpack'
failed import calibration fit No module named 'minpack'
failed import calibration fit No module named 'minpack'
[line was just repeating at this point so I stopped it with Ctrl-C
^Cgot signal 2 cleaning up
Process GPSFilterProcess-7:
kill 27526 <Process name='server' pid=27526 parent=27504 started daemon>
kill 27523 <Process name='signalk' pid=27523 parent=27504 started daemon>
kill 27525 <GPSFilterProcess name='GPSFilterProcess-7' pid=27525 parent=27504 started daemon>
kill 27524 <gpsProcess name='gpsd' pid=27524 parent=27504 started daemon>
kill 27521 <Process name='nmea' pid=27521 parent=27504 started daemon>
kill 27506 <Process name='calibration' pid=27506 parent=27504 started daemon>
kill 27508 <Process name='imu' pid=27508 parent=27504 started daemon>
Traceback (most recent call last):
File "/usr/local/bin/pypilot", line 33, in <module>
sys.exit(load_entry_point('pypilot==0.70', 'console_scripts', 'pypilot')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pypilot/autopilot.py", line 526, in main
ap.iteration()
File "/usr/local/lib/python3.11/dist-packages/pypilot/autopilot.py", line 354, in iteration
msgs = self.client.receive(rdt)
got signal 17 cleaning up
object address : 0x7ffeecc46560
object refcount : 2
object type : 0xa15120
object type name: KeyboardInterrupt
object repr : KeyboardInterrupt()
lost sys.stderr
got signal atexit cleaning up
pi@openplotter:~ $
pi@openplotter:~ $ pypilot_web service
loading translations: terminal encoding: utf-8
loading translations: terminal encoding: utf-8
failed to read config /home/pi/.pypilot/web.conf
Traceback (most recent call last):
File "/usr/local/bin/pypilot_web", line 33, in <module>
sys.exit(load_entry_point('pypilot==0.70', 'console_scripts', 'pypilot_web')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/pypilot_web", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/dist-packages/pypilot/web/web.py", line 46, in <module>
pypilot_web_port=int(sys.argv[1])
^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'service'
pi@openplotter:~ $
pi@openplotter:~ $ pip install odrpack --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Collecting odrpack
Downloading odrpack-0.5.0.tar.gz (107 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.3/107.3 kB 1.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [41 lines of output]
+ meson setup /tmp/pip-install-iv5l8kg7/odrpack_bcceb2a076bd442db31fb02adb14ecf0 /tmp/pip-install-iv5l8kg7/odrpack_bcceb2a076bd442db31fb02adb14ecf0/.mesonpy-_f61c11h -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-iv5l8kg7/odrpack_bcceb2a076bd442db31fb02adb14ecf0/.mesonpy-_f61c11h/meson-python-native-file.ini
The Meson build system
Version: 1.11.1
Source dir: /tmp/pip-install-iv5l8kg7/odrpack_bcceb2a076bd442db31fb02adb14ecf0
Build dir: /tmp/pip-install-iv5l8kg7/odrpack_bcceb2a076bd442db31fb02adb14ecf0/.mesonpy-_f61c11h
Build type: native build
Project name: odrpack
Project version: 0.5.0
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14+deb12u1) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: aarch64
Host machine cpu: aarch64
../meson.build:14:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang-new'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']]
The following exception(s) were encountered:
Running `gfortran --help` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `gfortran --version` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `gfortran -V` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `flang-new --help` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang-new --version` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang-new -V` gave "[Errno 2] No such file or directory: 'flang-new'"
Running `flang --help` gave "[Errno 2] No such file or directory: 'flang'"
Running `flang --version` gave "[Errno 2] No such file or directory: 'flang'"
Running `flang -V` gave "[Errno 2] No such file or directory: 'flang'"
Running `nvfortran --help` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `nvfortran --version` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `nvfortran -V` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `pgfortran --help` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `pgfortran --version` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `pgfortran -V` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `ifort --help` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifort --version` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifort -V` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifx --help` gave "[Errno 2] No such file or directory: 'ifx'"
Running `ifx --version` gave "[Errno 2] No such file or directory: 'ifx'"
Running `ifx -V` gave "[Errno 2] No such file or directory: 'ifx'"
Running `g95 --help` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'"
A full log can be found at /tmp/pip-install-iv5l8kg7/odrpack_bcceb2a076bd442db31fb02adb14ecf0/.mesonpy-_f61c11h/meson-logs/meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
pi@openplotter:~ $
Reboot the system
Have the yacht but no spheres in Calibration
I don't understand any of the above but it seems to me the system is missing the module 'minpack' ??
I can confirm the autopilot is engaged. Pypilot is version 0.70 and the imu ICM-20948. 12C is working and shows Address 68
Tom