Write a algorithm for Chris and be Loved...
Well folks,
I have been working on this problem for 4 days now and don't seem to be making any headway. There has got to be a math or programming geek out there that can figure this one out. The video should be self-expanitory, and the chart with the values is right here. In addition, I attached the pic as a file as well (full size) so you might be able to see the numbers a bit better. --Sorry no scanner.

| Attachment | Size |
|---|---|
| Walter_1.3_Joystick_001.jpg | 2.68 MB |



@ Sat, 2009-02-28 02:14
I have the same problem when
must try to understand the robologist solution, seems much more easier than I though
@ Sat, 2009-02-28 02:07
This diagram stinks
I recreated a diagram like it, using expected values. Correcting for SIN(joystick-angle). The Y/X numbers along the SE and SSE positions are reversed. And most numbers are off from the predicted values by as much as 30 (at ESE and NNW for example).
But from the resulting values I can deduce that your stick does not move around in a circle, but in a square. And a motor does not get full power unless the other motor is completely stopped.
But maybe that is just the way I expected them to be.
@ Sat, 2009-02-28 15:21
Normal
(Little geometry joke for you there!)
2D pots are normally like that. The X limit is flat for the full Y extents and vice-versa. I agree - it's not intuitive. My first calculations overflowed for exactly the reasons you mention. Whatever I'd done, the bot went wherever I told it EXCEPT in a straight line.
@ Sat, 2009-02-28 01:36
Yup, Robologist...
You nailed it dude...
Now, I do have to kick myself for the 4 days I racked my brain on this one... I can't believe how simple the final code is!
Thanks again
@ Sat, 2009-02-28 08:34
No prob, hope it gets Walter
@ Sat, 2009-02-28 01:43
Coded
Ah. you coded it already. Fairy nuff. My approach was only slightly different. My bot takes as its inputs (1) speed and (2) radius of turn. I was about to sit and figure out how to convert speed and radius of turn (the results from MY algorithm) into coaxial track PWMs!
Do I still get the Coveted Rusty Soldering Iron Trophy for doing it first?
@ Sat, 2009-02-28 01:32
Need a bigger front page
I know robots don't seem to stay on the front page for very long, but have you seen GreenRoomBaa? What you describe is precisely what she does.
Did you figure it out, or do you still need that algorithm? It's 11.30pm, I'm going for Zzzz, but can probably chat tomorrow.
@ Fri, 2009-02-27 23:00
This community is simply great!
@ Sat, 2009-02-28 01:40
They're exactly the same as
They're exactly the same as the ones I used in Pictomatix's remote control.
In fact I did a mini walkthrough on making your ownIR remote using these within Pictomatix's posting.
It may have some information to help you. Beware though that if your making an IR remote you will have some limitations such as it won't work in bright daylight and the transmission rate is fairly slow making it not very responsive in realtime.
Check out Guibot's custom remote with an X-bee.
@ Fri, 2009-02-27 23:54
You big tease!
How dissatifying 8-( .
You promised us a problem to crack! I bet your just checking your firmware version right now...