New tracked robot help requested

This is my second attempt at posting this request. I tried to post pictures and as most of you probably already know, it the forum won’t let you on your first post. All of the typing for nothing :frowning: .

  1. The left track on my vehicle rotates slowely in reverse when I pick up the robot (no load). As a consequence the robot veers to the left so that I have to make constant corrections to keep it tracking straight. Any ideas on what could be wrong?

  2. What range should I expect to get from the remote. When I first tried the robot I could control it 50ft away in a different room. Now I cannot get very good control at all in a different room.

You will need to give details of what kind of tracked bot you have, how it is built, and its remote control details.

Hi Bomber,

Yep, they had to do some limitations with first postings and the like to help keep the spam under control.

May I assume you have the tritrack unit with a PS2 controller hooked up to a Basic Atom Pro? What program are you running? Maybe ps2a4wd1.bas? What switch settings do you have on the Sabertooth?

I have not used this program before, nor do I have a tracked robot, but I do have a rover and the control is more or less the same. So I am only guessing!

Things I might try include:

  1. Minor update to the Normalize function. Near the end of this file is the function Normalize, which looks like:

Normalize if NormalizeValue < (NormalizeNull-DeadBand) then NormalizeValue = (127*NormalizeValue)/(NormalizeNull-DeadBand) MAX 127 elseif NormalizeValue > (NormalizeNull+DeadBand) NormalizeValue = (127*(NormalizeValue-NormalizeNull)/(255-DeadBand-NormalizeNull) + 127) MAX 255 else NormalizeValue = 127 endif return
I would change the NormalizeValue = 127 to be 128 instead of 127. I doubt that this would make much of a change but you can try.

  1. I might play with the calculations for what is going to be sent to the Sabertooth. In particular these lines:

'CALCULATE DRIVE SPEEDS FROM JOYSTICK POSITIONS AND SPEED LIMIT ldrive=((lvert*GEAR) + 1500 - (GEAR *128)) ' Forward / backward rdrive=((lhori*3) + 1500 - (3 *128)) ' steering
The change in 1 should now make such that these two variables should be 1500 at the center. They were off by hair as the normalize center for lvert and lhori would be 127. Not sure if that makes sense or not.

If still problem I would experiment with these two equations. For example maybe change the 1500 in the rdrive equation to 1495 or 1505. Does it get better or does it get worse. Try different values…

That is all for now. Good Luck
Kurt

Kurte,

Your assumptions were correct. I’m not a programmer by any stretch but will try and make the modifications you suggested.

THX

Bomber

Haven’t had a chance to try any of the tweaks yet. In the interim, here are some pics of what I have done so far:

http://i293.photobucket.com/albums/mm77/hardgear/ar15uploads/P1000972.jpg

http://i293.photobucket.com/albums/mm77/hardgear/ar15uploads/P1000971.jpg

Hey Bomber, very nice build there! Whats the frequency and range on the camera system? I assume it’s not 2.4ghz. Good job! 8)

I like this build too. I like the portability of it! And judging from that receiver, it does appear to be 2.4 GHz.