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
#15
(2020-10-23, 09:09 PM)seandepagnier Wrote: if you want to drive the servo directly from the pi, check servo.py.   Otherwise it may work directly from motor.ino but pypilot will output relative movement and the servo will move to an absolute angle.   This may be ok if you adjust the gains differently, but it's a different level of integration.
Hi,

I first tried the option of making the RC servo continuous. I checked my modification with a simple arduino sketch and am am able to comand it at a slow speed.
I then tried to reduce servo speed modifying parameters in pypilot.conf (servo connected to the arduino and using the servo's potentiometer as feedback). I was not able to reduce speed and the servo run at a speed such as it always overpasses configured the max rudder range. What are the parameters in pypilot.conf that allows to drastically reduce motor speed ?

I also noticed that reducing the servo speed (with my simple arduino sketch) also comes with a huge reduction of the torque. So i am not sure making the servo continuous is the best option.
I tried to explore the option of commanding the servo angle directly from pypilot. I checked servo.py and I have few questions : 
 - in the option of driving the sevo directly from the raspi? how to make such as RaspberryHWPWMServoDriver is called instead of to arduino motor driver.
- I guess using the absolute pilot combined with RaspberryHWPWMServoDriver would be the option to explore, right ? 

Thanks
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: 2 Guest(s)