2019-11-12, 11:50 PM
(2019-11-10, 10:16 PM)seandepagnier Wrote: Probably no problem with the cpc5001. Can you boot older openplotter, or try the tinypilot image to test? This will tell you if the problem is hardware or not.
With Tinypilot (tinypilot_28062019.img), in SSH, pypilot_calibration return :
Quote: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
MPU-925x init complete
signalk_server: bind failed, try again.2 heading 217.736664713
failed to read IMU!!!!!!!!!!!!!!37448792 heading 217.826206458
Using settings file RTIMULib.ini
Pypilot_calibation returns :
Quote:Traceback (most recent call last):
File "/usr/local/bin/pypilot_calibration", line 9, in <module>
load_entry_point('pypilot==0.9', 'console_scripts', 'pypilot_calibration')()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/site-packages/ui/autopilot_calibration.py", line 11, in <module>
import wx, wx.glcanvas
ImportError: No module named wx
and pypilot_control
Quote: File "/usr/local/lib/python2.7/site-packages/ui/autopilot_control.py", line 10, in <module>
import wx, sys, subprocess, socket, os, time
ImportError: No module named wx
pypilot_ servo returns :
Quote:Servo Server
loading servo calibration /home/tc/.pypilot/servocalibration
WARNING: using default servo calibration!!
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'
signalk_server: bind failed, try again.
connected to gpsd
signalk_server: bind failed, try again.
nmea ready for connections
nmea_bridge: bind failed
I might trie to reset and reload the Aduino Nano program ? I connected it in USB but can't understand what is writen in serial monitor betwen 300 and 9600 baud, after serial com is loosen.
Thank's,
Robin