Go to Post Robotics competitions take place in the same "perfect" environment that basic physics equations take place in. :rolleyes: - Branden Ghena [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2013, 21:22
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Exclamation Arcade Drive Help!

Hey guys,

So we have been having some problems with our drive code. Last week the code was working flawlessly, and since this weekend it has fallen apart. The only changes we made was switching in a new victor to replace one that stopped working. This problem has been reduced to something that I cannot figure out how to fix in code. The arcade drive code works like its supposed to when going forward or backwards, but when I try turning, all the signal lights on the victors go to the same color as opposed to half being one color and half being the opposite color.

All the victors are wired correctly and do receive signal from the digital sidecar.

If you want any pieces of code, let me know. Thanks for the help.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2013, 23:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Arcade Drive Help!

What colors are the Victor LEDs when driving forward? When driving backward? Does the robot actually turn when you tell it to? If not, what does it do instead?

I'm used to robots that are wired so that motors on the left side spin in the opposite direction from motors on the right side in order for the robot to go straight. That means when turning in place they all spin the same direction, with the LEDs all the same color.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2013, 06:23
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Re: Arcade Drive Help!

Quote:
Originally Posted by Alan Anderson View Post
What colors are the Victor LEDs when driving forward? When driving backward? Does the robot actually turn when you tell it to? If not, what does it do instead?

I'm used to robots that are wired so that motors on the left side spin in the opposite direction from motors on the right side in order for the robot to go straight. That means when turning in place they all spin the same direction, with the LEDs all the same color.
When forward, one side all red, other side all green. Same concept for reverse, just colors swap. Not sure if robot actually turns because we disconnected all the power leads to the motors while we are figuring this out just in case we ran a program that made 2 victors on the same side run opposite of each other.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2013, 08:09
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Arcade Drive Help!

I don't see a problem. It sounds like your motors are being told to run in the proper direction.
Reply With Quote
Reply


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


All times are GMT -5. The time now is 22:51.

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