View Single Post
  #3   Spotlight this post!  
Unread 04-03-2010, 23:03
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Target tracking/centering converted to tank drive: help?

I think I see where you're going with not having to convert, meaning that you just control the drive with the Arcade Drive VI when you are driving it autonomously. We would have to switch out some stuff in the code since we are controlling it manually with Motor Set Speed VIs (long story on why we wouldn't use the Tank Drive VI), but I don't think it would be that bad.

With actually converting it, there is no speed because the centering VI always sends out 0 for Y. So it's a simple matter of running the two sides of the drive train at the speed it sends out for X. You just have to negate one to run it backwards, which I reasoned to be the right side one. So why did it still not work?
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote