2019-07-04, 02:46 AM
(2019-07-04, 02:38 AM)skyeyedoc Wrote:(2019-07-03, 12:38 AM)seandepagnier Wrote: MQTT is a great idea, but I haven't gotten around to supporting it. It is certainly possible to control pypilot from a wifi link. So far, all 4 of the control interfaces can be run on remote hosts, even the lcd and keypad script could run on a different pi zero w. The webapp needs a browser, the python scripts need python (so far only known to work on linux) and the python scripts, and pypilot plugin works on supported opencpn platforms.The only two control interfaces I've tried are the opencpn pypilot plugin and the web interface. I've bread-boarded the 'pi3B+daisyhat+sensors' box via usb to the arduino uno wifi, and that's breadboarded over to the mcu, which is driving an Autohelm 3000 motor. The web app hasn't been working well: It's not responsive enough. The pypilot plugin is responsive, but not quite right. (It's v 0.5.0, I think). No luck yet building 0.9.0.
What kind of control interface do you have in mind? I can suggest which of the existing interfaces is closest to modify if you are doing something new.
I'd like to add some kind of remote handheld (preferably not IR/optical; maybe bluetooth?), but that's way down the list for now. As I think about it, an IR tv remote to a sensor mounted under the doger somewhere isn't a bad idea. Simple, and low cost...
So, next to do:
I need help configuring a wifi link to serial connect the pi3B+daisy box to the arduino uno wifi, and I just don't know enough about arduino yet to do it. As I'd mentioned, one native path with the uno wifi is MQTT, but the coding is beyond my skill. If there's a simpler way to establish a serial wifi link between them, I haven't found a how-to yet.
Here's a link to a video of what's working so far:
RPi3B+dAISy hat+Pypilot set up
The video says "Not available".
to compile the plugin on openplotter 1.2.0 you need to add some development libraries first:
Code:
sudo apt install libwxbase3.0-dev libbz2-dev wx-common libwxgtk3.0-dev
--
Larry - s/v Katie Lee Passport 45 Ketch (For Sale) - somewhere in Taiwan
Larry - s/v Katie Lee Passport 45 Ketch (For Sale) - somewhere in Taiwan