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
Pypilot
#8
I am impressed....

I have switched to LSM9DS0 IMU (I am waiting for some MPU-9255).

Set {"host": "localhost"} on /home/pi/.pypilot/signalk.conf

Added self.shininess = min(128, self.shininess), before line 103 in material.py

Started boatimu.py

Started autopilot_calibration.py and wow...

   
   

I am still getting some errors but all seems to work right:

Code:
Traceback (most recent call last):
 File "autopilot_calibration.py", line 79, in receive_messages
   msg = self.client.receive_single()
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 167, in receive_single
   line = self.receive_line(timeout)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 132, in receive_line
   return self.receive_line(timeout - dt)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 119, in receive_line
   raise Exception('invalid message from server:', line)
Exception: ('invalid message from server:', 'invalid request: unknown value: servo/calibration')
Traceback (most recent call last):
 File "autopilot_calibration.py", line 79, in receive_messages
   msg = self.client.receive_single()
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 167, in receive_single
   line = self.receive_line(timeout)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 119, in receive_line
   raise Exception('invalid message from server:', line)
Exception: ('invalid message from server:', 'invalid request: unknown value: servo/calibration')
Traceback (most recent call last):
 File "autopilot_calibration.py", line 79, in receive_messages
   msg = self.client.receive_single()
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 167, in receive_single
   line = self.receive_line(timeout)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 119, in receive_line
   raise Exception('invalid message from server:', line)
Exception: ('invalid message from server:', 'invalid request: unknown value: servo/Max Current')
Traceback (most recent call last):
 File "autopilot_calibration.py", line 79, in receive_messages
   msg = self.client.receive_single()
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 167, in receive_single
   line = self.receive_line(timeout)
 File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/client.py", line 119, in receive_line
   raise Exception('invalid message from server:', line)
Exception: ('invalid message from server:', 'invalid request: unknown value: servo/Max Current')

I have a million of questions about these settings but I can not keep testing today, I just wanted to say you congratulations. Thinking of how to apply now...
Reply


Messages In This Thread
Pypilot - by Sailoog - 2017-07-02, 01:14 PM
RE: Pypilot - by Sailoog - 2017-07-02, 01:22 PM
RE: Pypilot - by seandepagnier - 2017-07-02, 03:24 PM
RE: Pypilot - by Sailoog - 2017-07-02, 04:37 PM
RE: Pypilot - by Sailoog - 2017-07-02, 06:39 PM
RE: Pypilot - by seandepagnier - 2017-07-02, 07:09 PM
RE: Pypilot - by Sailoog - 2017-07-02, 07:05 PM
RE: Pypilot - by Sailoog - 2017-07-02, 08:21 PM
RE: Pypilot - by seandepagnier - 2017-07-02, 10:22 PM
RE: Pypilot - by Sailoog - 2017-07-04, 04:35 PM
RE: Pypilot - by seandepagnier - 2017-07-04, 04:58 PM
RE: Pypilot - by Sailoog - 2017-07-04, 05:58 PM
RE: Pypilot - by seandepagnier - 2017-07-04, 06:33 PM
RE: Pypilot - by Sailoog - 2017-07-04, 06:55 PM
RE: Pypilot - by Sailoog - 2017-07-05, 06:55 PM
RE: Pypilot - by seandepagnier - 2017-07-07, 03:57 PM
RE: Pypilot - by Sailoog - 2017-07-07, 07:02 PM
RE: Pypilot - by Sailoog - 2017-07-07, 07:08 PM
RE: Pypilot - by seandepagnier - 2017-07-08, 02:29 AM
RE: Pypilot - by Sailoog - 2017-07-10, 06:23 PM
RE: Pypilot - by seandepagnier - 2017-07-11, 01:44 AM
RE: Pypilot - by Sailoog - 2017-08-06, 08:41 PM
RE: Pypilot - by gaspbut - 2017-09-10, 08:50 AM
RE: Pypilot - by Sailoog - 2017-08-06, 09:31 PM
RE: Pypilot - by Sailoog - 2017-08-08, 07:04 PM
RE: Pypilot - by seandepagnier - 2017-08-10, 08:38 PM
RE: Pypilot - by Sailoog - 2017-08-11, 05:08 PM
RE: Pypilot - by lordzahl - 2017-08-12, 06:29 AM
RE: Pypilot - by waterman480 - 2017-08-11, 11:27 PM
RE: Pypilot - by waterman480 - 2017-08-12, 03:54 PM
RE: Pypilot - by seandepagnier - 2017-08-14, 07:14 PM
RE: Pypilot - by Sailoog - 2017-08-21, 11:05 AM
RE: Pypilot - by seandepagnier - 2017-08-23, 07:26 PM
RE: Pypilot - by jim321 - 2017-09-10, 09:13 AM
RE: Pypilot - by Sailoog - 2017-10-08, 01:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)