2019-11-13, 11:23 AM
(2019-11-13, 02:20 AM)seandepagnier Wrote: you seem to be running pypilot when it is already running
I followed instructions of https://pypilot.org/wiki/doku.php?id=troubleshooting
IMU works properly but seem pypilot not :
Quote:tc@box:~$ pypilot
loading servo calibration /home/tc/.pypilot/servocalibration
WARNING: using default servo calibration!!
warning, failed to make calibration process idle, trying renice
Settings file RTIMULib.ini loaded
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
connected to gpsd
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
warning: failed to open special file /dev/watchdog0 for writing
cannot stroke the watchdog
failed to open servo on: (u'/dev/ttyAMA0', 38400) [Errno 16] could not open port /dev/ttyAMA0: [Errno 16] Device or resource busy: '/dev/ttyAMA0'
MPU-925x init complete
device /dev/ttyAMA0
servo is running too _slowly_ 0.219509124756
nmea ready for connections
listening on port 20220 for nmea connections
servo timeout 4.0048160553
servo lost connection
servo timeout 4.00117087364
servo lost connection
device /dev/ttyAMA0
failed to open servo on: (u'/dev/ttyAMA0', 38400) [Errno 16] could not open port /dev/ttyAMA0: [Errno 16] Device or resource busy: '/dev/ttyAMA0'