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:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3 ways to bring gps to OpenCPN and Pypilot in OP2
#14
Well this is already impressive! You seem to have made a successful UI connection to a tinypilot (connected to...) , and if I'm not mistaking, your tinypilot has a successful connection with an Arduino controller ('idle'). Am I right? Furthermore, you have provided your tinypilot successfully with gps messages (blue lines in the nmea debug) and pypilot on the tinypilot responds positively by showing 'gps' as autopilot mode in the dropdown. This is probably because there is also an RMC message, but I cannot see that in your output.

The overcurrent_fault you get because the arduino measures the current that goes through your motor. It does this by measuring a voltage on one of its pins (A1), which pin is supposed to be tied to a shunt resistor, that is tied on one end to ground, on the other end to the motor driver. If you don't tie up that pin, its voltage will float around and could trigger that error. I don't know exactly what line you have commented out, but the overcurrent error I believe cannot be disabled. I't try to tie A1 to ground and see if that gets rid of the message. Over all, I see no reason to throw your towel into the ring at this point. Next step would be to get hold of one of those IMU's.
Reply


Messages In This Thread
RE: 3 ways to bring gps to OpenCPN and Pypilot in OP2 - by ironman - 2021-03-06, 11:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)