Ok, i only updated the pypilot when i wasn't able to get the original to work, the imu worked just fine without any modification. I will start fresh again and update this post on the progress
so reburned the last reslease of bbn os bulleyes ... changed the config file and added
dtoverlay=disable-bt
enable_uart=1
checked ls -l /dev/serial0
and it does point to /dev/ttyAMA0
so reburned the last reslease of bbn os bulleyes ... changed the config file and added
dtoverlay=disable-bt
enable_uart=1
checked ls -l /dev/serial0
and it does point to /dev/ttyAMA0
Code:
user@lysmarine:~ $ sudo pypilot_servo
[sudo] password for user:
pypilot Servo
world magnetic model not available
nmea process 3324
nmea server on port 20220: bind failed.
loading servo calibration /root/.pypilot/servocalibration
WARNING: using default servo calibration!!
gps filter process 3327
Traceback (most recent call last):
File "/usr/local/bin/pypilot_servo", line 33, in <module>
sys.exit(load_entry_point('pypilot==0.36', 'console_scripts', 'pypilot_servo')())
File "/usr/local/lib/python3.9/dist-packages/pypilot/servo.py", line 813, in main
servo.poll()
File "/usr/local/lib/python3.9/dist-packages/pypilot/servo.py", line 582, in poll
device_path = serialprobe.probe('servo', [38400], 5)
File "/usr/local/lib/python3.9/dist-packages/pypilot/serialprobe.py", line 242, in probe
if enumerate_devices():
gps process 3326
File "/usr/local/lib/python3.9/dist-packages/pypilot/serialprobe.py", line 163, in enumerate_devices
read_last_working_devices()
File "/usr/local/lib/python3.9/dist-packages/pypilot/serialprobe.py", line 54, in read_last_working_devices
for filename in os.listdir(pypilot_dir):
FileNotFoundError: [Errno 2] No such file or directory: '/root/.pypilot/'