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 doesn't work after upgrade
#41
(2019-11-14, 05:04 PM)seandepagnier Wrote: Try booting the tinypilot, and let us see /var/log/pypilot/current.   Don't run pypilot manually since it automatically is started at boot.
If the servo is not detected on /dev/ttyAMA0 (make sure motor controller is powered)  then try disconnecting power to the motor controller and try with a usb cable.   If this works, then you know the controller works but communication is bad.   Otherwise likely the controller has a problem.

My log file looks 


Quote:2019-06-11_20:01:17.91984 servo lost connection
2019-06-11_20:01:17.91987 no pyudev module! will scan usb devices every probe! No module named six
2019-06-11_20:01:17.91995 device /dev/ttyAMA0
2019-06-11_20:01:17.91998 failed to open servo on: (u'/dev/ttyAMA0', 38400) [Errno 16] could not open port /dev/ttyAMA0: [Errno 16] Device or resource busy: '/dev/ttyA$

and with USB connection :

Quote:2019-06-11_20:14:54.24032 arduino servo found on [u'/dev/ttyAMA0', 38400]
2019-06-11_20:14:54.24038 serialprobe success: /home/tc/.pypilot/servodevice [u'/dev/ttyAMA0', 38400]
2019-06-11_20:14:54.24046 device /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
2019-06-11_20:14:54.24052 nmea serial probe timeout ('/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0', 38400)
2019-06-11_20:14:54.24063 nmea serial probe timeout ('/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0', 4800)

File remastered in attachment...

I just have RPi and motor controler, no NMEA device connected
Reply


Messages In This Thread
RE: PyPilot doesn't work after upgrade - by kalle - 2019-01-11, 01:18 PM
RE: PyPilot doesn't work after upgrade - by kalle - 2019-01-11, 02:16 PM
RE: PyPilot doesn't work after upgrade - by kalle - 2019-01-12, 02:10 PM
RE: PyPilot doesn't work after upgrade - by DjelaliTricks - 2019-11-14, 07:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)