PyPilot doesn't work after upgrade - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18) +--- Thread: PyPilot doesn't work after upgrade (/showthread.php?tid=1493) |
RE: PyPilot doesn't work after upgrade - DjelaliTricks - 2019-11-12 (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 Pypilot_calibation returns : Quote:Traceback (most recent call last): and pypilot_control Quote: File "/usr/local/lib/python2.7/site-packages/ui/autopilot_control.py", line 10, in <module> pypilot_ servo returns : Quote:Servo Server 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 RE: PyPilot doesn't work after upgrade - seandepagnier - 2019-11-13 you seem to be running pypilot when it is already running RE: PyPilot doesn't work after upgrade - DjelaliTricks - 2019-11-13 (2019-11-13, 02:20 AM)seandepagnier Wrote: you seem to be running pypilot when it is already running I followed instructions of https://pypilot.org/wiki/doku.php?id=troubleshooting IMU works properly but seem pypilot not : Quote:tc@box:~$ pypilot RE: PyPilot doesn't work after upgrade - seandepagnier - 2019-11-14 are you on tinycore then? I think the troubleshooting doesn't assume this. You might need to issues: $ sudo sv d pypilot ensure pypilot isn't running: $ ps aux | grep python $ ps aux | grep pypilot You could try running pypilot or pypilot_servo at this point. The other way is just put a fresh tinypilot image on sd card. It will work if the connections are right and the motor controller is ok. RE: PyPilot doesn't work after upgrade - EcoFlow - 2019-11-14 (2019-11-14, 03:41 AM)seandepagnier Wrote: The other way is just put a fresh tinypilot image on sd card. It will work if the connections are right and the motor controller is ok. Hi Sean, Where can I find (download) a fresh (new full) tinypilot image for SD card? for PI Zero+W. See also my post in "installing tinypilot" thread where I explain the issues I run into building an tinycore image from scratch. Thanks, Menno. RE: PyPilot doesn't work after upgrade - CapnKernel - 2019-11-14 I'm about to be trying all this out on a Pi Zero W. Is there an up-to-date set of instructions for getting it installed? I'm a software engineer and I run Linux and know Python, but I have no experience with the Raspberry Pi. RE: PyPilot doesn't work after upgrade - DjelaliTricks - 2019-11-14 (2019-11-14, 03:41 AM)seandepagnier Wrote: are you on tinycore then? I think the troubleshooting doesn't assume this. You might need to issues: I use tinypilot_28062019.img.xz, I've just installed on a new SD card Quote:$ sudo sv d pypilot It give me the same results... I've an 1 year old card (ordered in december 2018). Does upgrading Arduino Nano can resolve problem ? I've also connected the arduino directly to Pi GPIO (3,3V, grnd, RX Nano -> Tx RPi, Tx Nano-> Rx Nano)... Arduino seem to react (Rx-Tx leb blinding), but no responce from pypilot RE: PyPilot doesn't work after upgrade - seandepagnier - 2019-11-14 (2019-11-14, 12:38 PM)DjelaliTricks Wrote:There is a newer image but that is probably not the problem.(2019-11-14, 03:41 AM)seandepagnier Wrote: are you on tinycore then? I think the troubleshooting doesn't assume this. You might need to issues: The log you posted before inidcated that pypilot was already running, so of course /dev/ttyAMA0 was busy and not available. 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. RE: PyPilot doesn't work after upgrade - EcoFlow - 2019-11-14 (2019-11-14, 05:04 PM)seandepagnier Wrote:(2019-11-14, 12:38 PM)DjelaliTricks Wrote:There is a newer image but that is probably not the problem.(2019-11-14, 03:41 AM)seandepagnier Wrote: are you on tinycore then? I think the troubleshooting doesn't assume this. You might need to issues: Hi Sean, Thank you for the updates, I can find 2 images on your pypilot.org Tinypilot image Previous tinypilot_20042019.img.xz Current tinypilot_28062019.img.xz Where can I download the "newer image" /newest as you mention "28062019.img.xz," is not the last available. I like to start with your latest code. Thanks, Menno. RE: PyPilot doesn't work after upgrade - seandepagnier - 2019-11-14 Sorry, I didn't fix the link. There is one here: http://pypilot.org/images/ |