This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autopilot route plugin
#27
(2020-08-08, 02:30 PM)seandepagnier Wrote: I don't know where the log file is going but that isn't it.   Could you stop pypilot with "sudo service pypilot stop"  Then just run pypilot from the terminal "pypilot" and you should see the log I need.   The 180 problem is something wrong with the route plugin.

I will run the next time I'm out with pypilot running in a terminal window following your instructions next time I am out. 

I did have something that has not happened before happen today. 
AP was activated and we were trolling following a compass heading, when without any input from us the engine was turned hard to starboard... I looked at the pypilot plugin window in openCPN and it displayed a message about saturation limit error and then AP was deactivated? Not the exact words but that is what I remember... If that happened at speed... it would be very concerning. Any idea what might cause that?

Here is the start up log I just executed on land. Maybe there is something in that that will help

Code:
pi@openplotter:~/.pypilot $ sudo service pypilot stop
pi@openplotter:~/.pypilot $ pypilot
loading servo calibration /home/pi/.pypilot/servocalibration
WARNING: using default servo calibration!!
Loaded Pilots: ['wind', 'learning', 'simple', 'basic', 'absolute']
warning: failed to open special file /dev/watchdog0 for writing
        cannot stroke the watchdog
connected to gpsd
Settings file not found. Using defaults and creating settings file
Using settings file RTIMULib.ini
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
autopilot failed to read imu at time: 1596920172.1508598
serial exception ('/dev/ttyS0', 38400) nmea0 Could not configure port: (5, 'Input/output error')
sensors is running too _slowly_ 0.07401466369628906
MPU-925x init complete
autopilot failed to read imu at time: 1596920172.3855631
arduino servo found on ['/dev/ttyAMA0', 38400]
serialprobe success: /home/pi/.pypilot/servodevice ['/dev/ttyAMA0', 38400]
connect failed to localhost:21311
nmea process failed to connect pypilot [Errno 111] Connection refused
nmea ready for connections
listening on port 20220 for nmea connections
EEPROM SIGNATURE ok
setup wiatches True
found gps on tcp socket1GP
servo calibration invalid False
Reply


Messages In This Thread
Autopilot route plugin - by jamos.tan@gmail.com - 2020-07-15, 12:10 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-21, 02:01 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-24, 01:24 AM
RE: Autopilot route plugin - by seandepagnier - 2020-07-24, 01:28 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-24, 02:27 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-24, 03:24 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-24, 03:50 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-25, 02:09 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-25, 03:03 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-30, 02:34 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-30, 05:58 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-30, 08:08 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-30, 10:25 PM
RE: Autopilot route plugin - by seandepagnier - 2020-07-31, 06:40 AM
RE: Autopilot route plugin - by rastam4n - 2020-07-31, 06:05 PM
RE: Autopilot route plugin - by rastam4n - 2020-07-31, 09:29 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-01, 01:05 AM
RE: Autopilot route plugin - by rastam4n - 2020-08-01, 07:08 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-02, 07:12 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-02, 09:09 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-07, 10:46 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-08, 02:30 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-08, 10:10 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-10, 07:23 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-10, 08:40 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-12, 10:53 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-12, 04:42 AM
RE: Autopilot route plugin - by seandepagnier - 2020-08-14, 04:43 AM
RE: Autopilot route plugin - by rastam4n - 2020-08-19, 04:40 PM
RE: Autopilot route plugin - by rastam4n - 2020-08-21, 01:58 PM
RE: Autopilot route plugin - by seandepagnier - 2020-08-22, 02:31 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)