Sailing a straight line
Sailing a straight line
It can only be an experiment and not a solution; it's a scale model and it's loaded down to the correct waterline.
Sailing a straight line
Seriously the weight up front needs to be enough to move CofG a significant amount ( please note it may make things worse) its a test to see what effect it does have and to try to figure out what's going on. if your CofG is to far aft then the forces you would expect to keep a boat ( or any other vehicle) following a path have too little leverage to compensate for the wayward behaviour of a real world wind/wave/passing bumble bee etc.
The pixhawk is capable of fully autonomous control of a vehicle. it can follow waypoints and depending upon how its configured control many other functions as well.
if you ever saw the BBC tv James May and his glider he used an 8 bit precursor of the pixhawk to control the glider on its 20 mile flight and landing.
http://www.dailymotion.com/video/xw66wd_new-james-may-s-toy-stories-flight-club_shortfilms
Sir Terence David John "Terry" Pratchett, OBE (28 April 1948 - 12 March 2015)
Sailing a straight line
The batteries are arranged in series to provide a single 12V supply. I have also already tried replacing both drive motors and one shaft seal (they are waterproof shafts). You would expect that having independent control of the shaft speeds would enable any tendency to turn to be countered by adjusting relative speeds. The direction of turn is random and defied those attempts.
I will try changing to one ESC and see if that helps. I will also try a weight near the bow and test its effect.
The gyro was about as high-tech as I wanted to go in looking for a solution. The pixhawk looks downright scary!
Sailing a straight line
https://pixhawk.org/modules/pixhawk
it is your choice as to which one you buy BUT clones are available from ebay. I offer one of these as a solution because it is possibly the most capable of all the autopilot systems.
it is the core of autonomous vehicles in many hobby spheres. You can set it to hold a heading. it has GPS and magnetic compass capability.
Youtube has many many videos on this beast.
Having had time to think ( always a dangerous situation)
Try adding a weight to front of the boat and see effect pls. I am thinking the problem has to be a combination of thrust lines, CofG, and centre of buoyancy.
A radical change of the CofG should change the behaviour of the boat ( for better or worse ) seeing the effect of such a change could indicate way to go .
Sir Terence David John "Terry" Pratchett, OBE (28 April 1948 - 12 March 2015)
Sailing a straight line
Have you tried 1 esc to both motors??? or 1 battery to both esc's??? just try these to eliminate the possibilities
Hope this give you a starting point
Mark
Sailing a straight line
Anyone have any suggestions on how to improve this?
Liked by
Loading…