View Single Post
  #10   Spotlight this post!  
Unread 14-01-2009, 10:31
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,748
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Using LabView to make Robot track the trailer

Quote:
The simple answer is "just add the two values together for each side".

In your example this will send .4 to one motor and 0 to the other, which will give to a rotation with forward motion.

You may need to clip the final sums to prevent them from exceeding 1.0, but it really is that easy.
I thought about this but was concerned about the loss of accuarcy as you approach full speed in one direction due to the clipping. Maybe it's not that big of a deal, something for our programmers to test today ;>

Sloteera:
Quote:
I hope that you can understood me. Is complicated explain algorithm in english
Excellent job of explaining the algorithm, I totally understood what you were saying. I would hate to see how I would have done trying to explain something in your language I appreciate your time and effort!
Reply With Quote