As soon as I read the word triangular, there was a bit of a brain haze right behind my eyes. Then my visual cortex kicked in and now I have a migraine!
Please let us know⦠Forget video. We want code! Or in your case: high level pseudo code.
Paint sticks are for artists. Iām a scientist and an engineer. Thatās why nothing I start is ever really "finished."
The idea is that one or more wheels, potentially rotating an various speeds and directions relative to one another will move the ābogieā in a given direction regardless of what direction itās facing.
Yeah, 3 wheels rotating the same direction and speed should rotate it about its centre. Any two wheels rotating in opposite directions will send it off in a straight line in the direction perpendicular to the third (non-rotating) wheel.
But look at the scribbles here. Itās clear that the wheels should be rotating in the direction of teh blue arrows in order to produce the overall motion indicated by the red arrows. The question is: what should the speed be?
To get it to go āforwardā (bear in mind it has no āfrontā) as fast as possible, we drive the āfrontā wheels as fast as possible, leaving the ābackā wheel fixed. To get it to go to the āright,ā the ābackā wheel rotates to the right with the frontleft wheel rotatingforward and the frontright wheel rotating backward. (Even though it relies on <I>Starfleet Universal Up</I> as it has no āfront,ā Iām now going to stop putting quotes round every reference.)
Hands up who doesnāt see the problem? Clearly, when arrempting tomove to the right, if I make the back wheel go full speed, it will move in a curve towards the top right.
It doesnāt have āforwardā. I thought youād enjoy that as an artist. The simplest way to make it go in a straight line is to drive two wheels in opposite directions while keeping the other one still. Itās a real brain bender at first!
Edit: actually āopposite directionsā is even a relative concept.It might be more accurate to call them āopposite directions in terms of rotational symmetry.ā
Heh! I knew one of you would come up with the difficult maths. Iām a bit pissed that it was so easy to find that someone has already done it. I had thought it was quite novel.
Bits and stuff I found a piece of soft plastic rod (dunno what it is, but itās about as soft as a stick of hotmelt glue). I found that a 5.5mm hole would press-fit quite nicely onto the splined head of a servo motor. I turned the rod down on the lathe to the right diameter. The wheels have a keyway in them. I cut a V groove up the length of the rod, inserted it in the middle of the wheel in line with the keyway and filled the gap up with hotmelt glue.
This kind of platform is unique enough that a kit was made of it, the PPRK - Palm Pilot Robot Kit. Lots of good experimentation. Killough was the original who developed this type at MIT I think.
Killough platforms are a subset of omnidirectional robots, sort of like how mechanum wheels can be considered a subset of omniwheels. They are unique and a lot can belearned from building and experimenting with one. A little vector and matrix math anyways.
This is a LabVIEW program which calculates the wheel velocities given the desired robot velocity in the co-ordinate frame and the angular velocity. I know not many of you read LabVIEW, but this is easy enough to follow.
"opposites" When you say āthe same wayā what do you mean? If I turn all the motors thew same way, it will spin. I know it was confusing of me to say āthe top two motors in opposite directionsā. Of course theyāre only āoppositeā if considered to be on opposite sides. Of course theyād be going the same direction, but as viewed from the top would appear to be going opposite directions.
Fristywheels I have to say, I like Fritsyās approach, but How hard could it be to copy this design? Iām thinking a bit of U-section aluminium and a cylidrical shaft. Turn down a couple of rollers onthe lathe⦠Boom. My target would be to knock them out for about $40 for a set of four.