Tack functionality does not work for me - 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: Tack functionality does not work for me (/showthread.php?tid=1933) |
Tack functionality does not work for me - partyvi - 2019-08-08 I am trying to figure out how tacking work but looks like I have some general problem. But not sure how to troubleshoot what i lost. Maybe problem that I have no rudder sensor, isn't? Today I pulled and built and installed master branch pypilot/pypilot and pypilot/pypilot_pi. In general pypilot works great but tacking functionality does strange things. Several things are: 1)Attempt to activate button tack from any interface (LCD,GUI or openCPN plugin) when AP is active heading to lost connection to Pypilot server. only way to get connection back i found - restart from openplotter tab pypilot. 2) No reaction on tack button if it is not activated. Looks reasonable. 3) OpenCPN plugin shows configuration control, but in attempt to inc/dec any value values changing in between -1 to +1 or -0.1 to +0.1 any ideas? Crash log is below; Traceback (most recent call last): File "/usr/local/bin/pypilot", line 11, in <module> load_entry_point('pypilot==0.9', 'console_scripts', 'pypilot')() File "/usr/local/lib/python2.7/dist-packages/pypilot-0.9-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 464, in main ap.run() File "/usr/local/lib/python2.7/dist-packages/pypilot-0.9-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 259, in run self.iteration() File "/usr/local/lib/python2.7/dist-packages/pypilot-0.9-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 418, in iteration if not self.tack.process(): File "/usr/local/lib/python2.7/dist-packages/pypilot-0.9-py2.7-linux-armv7l.egg/pypilot/tacking.py", line 131, in process headingrate = ap.boatimu.SensorValues['headingrate_lowpass'].value Traceback (most recent call last): File "/usr/local/bin/pypilot", line 11, in <module> load_entry_point('pypilot==0.9', 'console_scripts', 'pypilot')() File "/usr/local/lib/python2.7/dist-packages/pypilot-0.9-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 464, in main ap.run() File "/usr/local/lib/python2.7/dist-packages/pypilot-0.9-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 259, in run self.iteration() File "/usr/local/lib/python2.7/dist-packages/pypilot-0.9-py2.7-linux-armv7l.egg/pypilot/autopilot.py", line 418, in iteration if not self.tack.process(): File "/usr/local/lib/python2.7/dist-packages/pypilot-0.9-py2.7-linux-armv7l.egg/pypilot/tacking.py", line 131, in process headingrate = ap.boatimu.SensorValues['headingrate_lowpass'].value NameError: global name 'ap' is not defined RE: Tack functionality does not work for me - partyvi - 2019-08-09 People, is tack button in current master works for somebody? in my case autopilot stops to work at all. RE: Tack functionality does not work for me - seandepagnier - 2019-08-10 it's clearly a bug, which crashes the ap if you tack. I will look at this tomorrow. RE: Tack functionality does not work for me - partyvi - 2019-09-02 (2019-08-10, 11:41 PM)seandepagnier Wrote: it's clearly a bug, which crashes the ap if you tack. I will look at this tomorrow. Did you have ever chance to look in? RE: Tack functionality does not work for me - Rellek - 2019-09-05 I have the exact same problem sadly! RE: Tack functionality does not work for me - seandepagnier - 2019-09-05 I have fixed it already but did not push git yet. RE: Tack functionality does not work for me - partyvi - 2019-10-11 (2019-09-05, 08:08 PM)seandepagnier Wrote: I have fixed it already but did not push git yet. Thanks, any chance to push ;-) RE: Tack functionality does not work for me - seandepagnier - 2019-10-11 (2019-10-11, 05:25 AM)partyvi Wrote:(2019-09-05, 08:08 PM)seandepagnier Wrote: I have fixed it already but did not push git yet. I did recently push some changes, let me know if tacking is still not working. There are actually a lot of parameters needed to cover tacking all types of boats. RE: Tack functionality does not work for me - partyvi - 2019-10-11 (2019-10-11, 04:49 PM)seandepagnier Wrote:(2019-10-11, 05:25 AM)partyvi Wrote:(2019-09-05, 08:08 PM)seandepagnier Wrote: I have fixed it already but did not push git yet. Did pull and rebuilt yesterday, I still have a problem. RE: Tack functionality does not work for me - svkatielee - 2019-10-12 (2019-10-11, 04:49 PM)seandepagnier Wrote: I did recently push some changes, let me know if tacking is still not working. Where did you push to? github.com/pypilot/pypilot still shows newest files 12days, 16 days and 17 days. |