2021-06-25, 01:38 PM
YEEEEEEYY
It works (kind of)
$pypilot -- autopilot
followed by a reboot helped, pypilot is online getting data from imu and connected to controller. Opening pypilot plugin in opencpn shows a connected control and i can control AP from there now.
However, I have a new error; as soon as i activate a waypoint and opencpn sends gps data the connection is intermittent to pypilot (connects disconnects, connects and so on) and autopilot (the controller itself) freezes and unfreezes every second.
I get the following error message on signal K: TcpProvider: connect ECONNREFUSED 127.0.0.1:20220
Looking at the plugin it connects and disconnects. As soon as i deactivate the route in opencpn all is normal. The previous install didn't have this problem and GPS data was sent and adjusted for and working effortless. I think it is because port 20220 is being used by opencpn and pypilot at the same time, giving some issues (this is an assumption based what I can see for now).
Thanks for all the help I think I'm almost there.
It works (kind of)
$pypilot -- autopilot
followed by a reboot helped, pypilot is online getting data from imu and connected to controller. Opening pypilot plugin in opencpn shows a connected control and i can control AP from there now.
However, I have a new error; as soon as i activate a waypoint and opencpn sends gps data the connection is intermittent to pypilot (connects disconnects, connects and so on) and autopilot (the controller itself) freezes and unfreezes every second.
I get the following error message on signal K: TcpProvider: connect ECONNREFUSED 127.0.0.1:20220
Looking at the plugin it connects and disconnects. As soon as i deactivate the route in opencpn all is normal. The previous install didn't have this problem and GPS data was sent and adjusted for and working effortless. I think it is because port 20220 is being used by opencpn and pypilot at the same time, giving some issues (this is an assumption based what I can see for now).
Thanks for all the help I think I'm almost there.