Auto Pilot using 6dof and prop "AutoProp8" is name now.
Ole Man Earl
Posts: 262
I have been posting in the sandbox forum but people say I should post something about it here in the prop forum...
here it is...
An auto pilot using the prop and the Atomic 6DOF module.
If you can make it better and/or more code efficient...I would appreciate the help.
This is NOT a finished project yet...
Earl
Post Edited (Ole Man Earl) : 5/3/2009 5:47:28 PM GMT
here it is...
An auto pilot using the prop and the Atomic 6DOF module.
If you can make it better and/or more code efficient...I would appreciate the help.
This is NOT a finished project yet...
Earl
Post Edited (Ole Man Earl) : 5/3/2009 5:47:28 PM GMT
Comments
http://forums.parallax.com/forums/default.aspx?f=15&m=339513&p=2
Next big thing to add is the overlay S/W. I have an LM1881 sync separator. Need to put it in and do some coding..
Here is the code with the new tv text.
Hi, Earl:
I opened a file (6DOFbinary.spin) at random and I'm pretty sure I found a problem. In a number of places, you're doing something like this:
The high byte should be getting multiplied by 256, not 255. And a much faster way to multiply by 256 is to shift left 8 bits, which would make that code:
and better yet:
It's late and I'm starting to fall asleep, so please double-check my code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
You are brave indeed! I have been flying RC for about 30 years now. One of my absolute favorite planes is my Zagi, (flying wing). I can fly it in circles around myself with one wingtip brushing the grass. It is a blast. But when it comes to putting an autopilot in something I prefer a little larger airframe. This is a picture of a Sig Rascal 40 converted to electric power. In it is a Parallax GPS and a BOE. The BOE controls the auxillary rudder that you can see underneath the tail.
It will follow a route with up to about 14 waypoints - can't store any more in the BS2, then it will indefinitely (battery will last about 50 minutes) loiter around the last waypoint in graceful figure eights.
There is also a FMA co-pilot to keep the wings level. You can see it mounted to the bottom of the fuse. For a brief time it carried a self contained 360 pan/tilt video camera that mounted to the belly that was controlled by a separate operator.
The BS2 did not have enough program space to control ailerons, throttle etc... I since bought a BS2px24 but have not done anything with it. Then came the Propeller. It is one of my goals to update this plane with a more sophisticated Propeller based autopilot.
So, what I am saying is, I have an airframe... and it wants an upgrade...
Rich H
p.s. I like the way this plane flies so much that I bought another one, the Rascal 110. It's BIG!
Post Edited (W9GFO) : 5/3/2009 7:09:48 PM GMT
I need a S L O W flier. I have 160 acres to test on and more unpopulated land around me. Mabe the foamie wing is not a best first choice ?
The Rascal is not a slow flier but it is not fast either. I would not want to start out using a foamie, or any small airframe. That's adding an extra layer of challenges. The bigger they are the easier they are to fly, to see and to find. However they do cost a little more.
Things that I think are important;
Easy to fly/positive stability - don't want your autopilot to be fighting an unstable aircraft.
Easy to see - big and colorful
Easy to repair - balsa with film covering
Easy to run - brushless electric
Easy to take command - autopilot returns control to RC receiver on command or in case of faults
Easy to modify - big airframe means more room to add stuff
Altitude = safety - pretty much anything can go wrong without causing much stress if there is enough altitude to recover.
Being able to fly! If you don't know how to fly RC, get an RC Sim and crash several thousand dollars worth of virtual planes before trying a real one.
Let me know if I can be of any help.
Rich H