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 vs Tinypilot interface
#11
Actually, using openplotter pypilot clients for a remote tinypilot seems to work quite fine!
Reply
#12
(2021-04-30, 08:46 PM)ironman Wrote: Actually, using openplotter pypilot clients for a remote tinypilot seems to work quite fine!

Mine seems to need that config file you mentioned.  It's not there (that's presumably why it says so when I run it in the console).
Now, if there are no functional differences between running openplotter-pypilot vs pypilot_control x.x.x.x , then I'll just create a shortcut/link to to the command pypilot_control x.x.x.x and not worry about it. (and remove the shortcut in openplotter menu to pypilot.
Reply
#13
If it is not there, it is created the first time you run pypilot_client -s x.x.x.x

If you want to create it manually, this is how it looks like:

Code:
pi@openplotter:~ $ cat /home/pi/.pypilot/pypilot_client.conf
{"host":"10.10.10.3","port":23322}

I'd say no functional difference, but my intuition tells me one centralized config file is better than multiple hardcoded scripts. Of course you are free to document the location of the config file in your script in case you forget :-D
Reply
#14
Actually yes the file is there and settings are correct. But openplotter-pypilot shows 'no settings file found'.... and defaults to the local install of pypilot. Maybe that's what Sean is saying doesn't work. Either way, the work around is good (invoking pypilot_control x.x.x.x) through a shortcut, using the web app, or as a plugin to opencpn.
Reply
#15
I think the openplotter link may explicitly invoke the control script with localhost as it is intended pypilot is used from openplotter... Otherwise someone would have the opposite problem you have, once using it remotely an wondering why the script doesn't work locally.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)