2021-02-21, 09:11 PM
pypilot Set-up newbie
|
2021-02-24, 07:57 AM
Hi Guys
Sorry to be such a newbie but would appreciate any help. For the motor.ino programme you have to #include "crc.h". How do I add this to my library. I downloaded the PyPilot code as in picture but this did not work, many thanks Richard (2021-02-24, 07:57 AM)richarddaneel Wrote: Hi Guys Hi Richard, I´m not an expert in this The code is here: https://raw.githubusercontent.com/pypilo...otor/crc.h If you open an text-editor, then go to the code of crc.h and copy it and paste it to your editor it should work. Save and give the file the exact name and put it in the same folder on your computer where motor.ino is. I yust read, that you can simply use the save/download option from your browser if you are at the raw code. (like above link) Good luck Andreas
2021-02-25, 03:55 AM
, I use the makefile executing "make" to compile, maybe this is easier?
Otherwise, yes maybe copy paste crc.h into motor.ino
2021-03-03, 03:01 PM
Hi Guys
Sorry for the newbie question, again. I have set-up the gps with its SignalK connection and all works well in OpenCPN. However, I now want pypilot to also, use the GPS data but I get the following error, (picture). If I go to pypilot and add device I get conflict errors, so please tell me how I set it up, many thanks Richard
2021-03-03, 10:27 PM
You need to determine how your gps data will work which is up to you.
For example, you could set the gps up using gpsd. This will automatically be detected by pypilot, and pypilot can then output signalk to signalk server. You could instead have the signalk-node server directly receive from the gps, in which case pypilot should autodetect signalk and receive gps this way. So I am not sure what is going wrong but you may need to inspect the debugging log output of pypilot.
2021-03-05, 06:23 PM
(2021-03-03, 10:27 PM)seandepagnier Wrote: You need to determine how your gps data will work which is up to you. Hi Sean As you can see in the picture I have, despite my age and stupidity, made some progress. You were right I did not configure the port entries correctly. However, as you can see I get a sync overcurrent_fault. I have no sensors attached but have adapted the motor.ino code . I deleted the "//" before define for the following. I was told this should get rid of the fault. Thanks for your input so far, much appreciated. [color=var(--color-text-primary)][color=var(--color-prettylights-syntax-comment)]//#define DISABLE_TEMP_SENSE // if no temp sensors avoid errors[/color] [color=var(--color-prettylights-syntax-comment)]//#define DISABLE_VOLTAGE_SENSE // if no voltage sense[/color] [color=var(--color-prettylights-syntax-comment)]//#define DISABLE_RUDDER_SENSE // if no rudder sense ........[/color] [/color] |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)