Go to Post I think this is the forest that ChiefDelphi often misses as we're picking the branches off every tree. - Libby K [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 04-03-2010, 20:47
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
Question Target tracking/centering converted to tank drive: help?

Since our robot is driven with tank drive, we had to convert NI's robot centering code from arcade drive to tank drive. It is not working right now, so we would appreciate if you could help us out...

The code uses the camera and gyro to center the robot with the camera, as you may know. But it sends out one value for the X axis of an arcade drive robot. So I took that value and made 2 out of it for each side of the drive. See my logic for negating one of them in the picture of my code.

Unfortunately this doesn't seem to work, as it turns in the wrong direction. When I negated the other side of the drive instead, it still turned in the wrong direction.

By the way, I multiplied the initial value by .5 because the robot was turning too fast, kept overshooting, and swaying side to side. But after this, it started acting weird.

Thanks for any of your help!
__________________
My engineering blog: noeticbrainwaves.blogspot.com

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


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Team 39: Target AND Field Oriented Drive (Target tracking) TotalChaos Robot Showcase 13 02-03-2010 15:55
Need help with tank drive nickcvet89 NI LabVIEW 16 02-02-2010 16:35
Tank and Arcade Drive Help? baihooli3022 FRC Control System 2 25-01-2010 22:36
Tank Drive help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Idaman323 Programming 3 18-02-2005 15:17


All times are GMT -5. The time now is 11:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi