Go to Post Why climb up to the scaling rungs when you can move the entire field down to your robot's height? - marcusbernstein [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2014, 14:49
blackdiamond377 blackdiamond377 is offline
Registered User
FRC #2928
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Seattle WA
Posts: 2
blackdiamond377 is an unknown quantity at this point
Well, I guess Jon beat me to it, but I do actually have some input on the left/right mix up.
If you pass in a joystick to the built in arcade drive method you will have that problem. I'm not entirely sure why, but you can fix it by passing in the y and x axis as speed and rotation, respectively, yourself.

Something like this should work:

speed = joy.GetY()
rot = joy.GetX()
robotDrive.ArcadeDrive (speed, rot)
  #2   Spotlight this post!  
Unread 04-02-2014, 19:22
Anthony4939 Anthony4939 is offline
Registered User
None #4939
 
Join Date: Feb 2014
Location: Brampton
Posts: 25
Anthony4939 is an unknown quantity at this point
Re: Mixed Up Colours on Victors

Thanks everyone.......we figured out the left right issue.
  #3   Spotlight this post!  
Unread 04-02-2014, 22:51
Exla357's Avatar
Exla357 Exla357 is offline
Certified Joystick Pusher
FRC #0159 (Alpine Robotics)
Team Role: Electrical
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Fort Collins, CO
Posts: 30
Exla357 will become famous soon enoughExla357 will become famous soon enough
Re: Mixed Up Colours on Victors

I just had the programmers run all motors the same direction and then inverted the power outputs on two of the Victors so that the positives were hooked up to the negative and vice verse. It works fine, and now full forward gives 4 green.
Closed Thread


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 05:09.

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