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 and a RC boat
#3
(2020-04-08, 02:29 PM)DvdB Wrote: The motor.ino sketch is working on the arduino and the arduino is connected to the raspberry by serial and it is communicating.
We can choose in Pypilot between the compass and the gps. 

The Pypilot gives the following information:
SignalK Server: Connected
Servo Flags: DRIVER_TIMEOUT
Autopilot Errors: no motor controller!

Just to clarify: you say 'and it is communicating' but if you get NO MOTOR CONTROLLER it probably is not. Just check the lights on the Arduino: if Rx is blinking and Tx is not, it is not communicating and you might solve this by setting DIV_BOARD in motor.ino to 1.

You should connect the rudder servo pwm input to the D9 output on the arduino, and make sure D6 is high, thereby selecting RC style. In the motor.ino code this mode is referred to as pwm_style=1. You might want to check https://www.youtube.com/watch?v=kpq53e97...tu.be&t=81

As for the propulsion motor, there is no standard provision for that. PyPilot is primarily for steering.

Groeten,

-
Reply


Messages In This Thread
Pypilot and a RC boat - by DvdB - 2020-04-08, 02:29 PM
RE: Pypilot and a RC boat - by xfactor99 - 2020-04-08, 04:20 PM
RE: Pypilot and a RC boat - by ironman - 2020-04-08, 10:03 PM
RE: Pypilot and a RC boat - by seandepagnier - 2020-04-08, 11:38 PM
RE: Pypilot and a RC boat - by DvdB - 2020-04-24, 12:25 PM
RE: Pypilot and a RC boat - by seandepagnier - 2020-04-24, 06:45 PM
RE: Pypilot and a RC boat - by DvdB - 2020-04-27, 01:52 PM
RE: Pypilot and a RC boat - by jonflye - 2020-10-21, 06:12 PM
RE: Pypilot and a RC boat - by DvdB - 2020-10-22, 10:52 AM
RE: Pypilot and a RC boat - by jonflye - 2020-10-22, 05:01 PM
RE: Pypilot and a RC boat - by jmj - 2020-10-22, 02:23 PM
RE: Pypilot and a RC boat - by seandepagnier - 2020-10-22, 07:01 PM
RE: Pypilot and a RC boat - by jonflye - 2020-10-22, 09:35 PM
RE: Pypilot and a RC boat - by seandepagnier - 2020-10-23, 09:09 PM
RE: Pypilot and a RC boat - by jonflye - 2020-11-07, 04:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)