Go to Post Facebook for FIRST already exists. It's called Facebook :) - dcarr [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 27-01-2005, 13:41
Vermatitis's Avatar
Vermatitis Vermatitis is offline
Registered User
#1562
 
Join Date: Jan 2005
Location: Colorado
Posts: 6
Vermatitis is an unknown quantity at this point
Victors, Default code, & joystick configuration

Here's the deal,

Our team is considering using a two-joystick configuration for the drive-trains, where one joystick controls the right transmission, and the other controls the left. However, one of our electronics mentors says that, due to the default code for the robot, we would end up using all 4 Victors just for the drive-trains. My question is, what exactly is it about the default code that does this, and where among the first documents does it explicitly say that?
  #2   Spotlight this post!  
Unread 27-01-2005, 13:45
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Victors, Default code, & joystick configuration

Your software decision to use 2 joysticks to control the drive does not control how many Victors your robot requires.
Each motor in the kit requires its own speed controller. If you are using the KitBot transmission your choices are 1 motor per side or 2 motors per side. If you choose to use all 4 CIM motors in the transmission than you will require 4 Victor speed controllers.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
  #3   Spotlight this post!  
Unread 27-01-2005, 15:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Victors, Default code, & joystick configuration

Quote:
Originally Posted by Vermatitis
My question is, what exactly is it about the default code that does this, and where among the first documents does it explicitly say that?
The rule that specifies one victor per motor is <R77>.
  #4   Spotlight this post!  
Unread 27-01-2005, 15:33
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Victors, Default code, & joystick configuration

Quote:
Originally Posted by Vermatitis
Here's the deal,

Our team is considering using a two-joystick configuration for the drive-trains, where one joystick controls the right transmission, and the other controls the left. However, one of our electronics mentors says that, due to the default code for the robot, we would end up using all 4 Victors just for the drive-trains. My question is, what exactly is it about the default code that does this, and where among the first documents does it explicitly say that?
Your mentor is correct as Joe has pointed out. One victor per motor, but you can purchase more victors through IFI for other motors. A close look at the default code would show that the two joystick mode would control two PWM outputs, which you can split (with a splitter cable) to feed the same PWM to two Victors for a dual motor transmission. Each team will need to decide whether they need the power of both motors, I am thinking that might not be the case. You need to decide after practice.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #5   Spotlight this post!  
Unread 27-01-2005, 16:01
vtrehan's Avatar
vtrehan vtrehan is offline
Mentor - Controls & Programming
AKA: Vivek Trehan
FRC #1241 (Theory6)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Mississauga, ON
Posts: 38
vtrehan is on a distinguished road
Send a message via Yahoo to vtrehan
Re: Victors, Default code, & joystick configuration

You can use a 2-joystick configuration with 2 Victors, one speed controller for each motor on each side. As pointed out before, the programs capability has nothing to do with the number of motors you would need.

You can just you 2 PWM outputs from your RC rather than the 4 in the default code. Assuming you are using 2 motors (1 on each side with 1 victor each) the default code:

pwm13 = pwm14 = Limit_Mix(2000 + p1_y + p1_x - 127);
pwm15 = pwm16 = Limit_Mix(2000 + p1_y - p1_x + 127);

will change to something like this (where you would connect PWM13 to right motor, and PWM 15 to the left motor):
pwm13 = Limit_Mix(2000 + p1_y);
pwm15 = Limit_Mix(2000 + p2_y);

Hope this helps
__________________
2006-GM Industrial Design Award - Greater Toronto Super Regional
2006-Engineering Inspiration Award - Arizona Regional
2006-Regional Finalist - Arizona Regional

2005-Best Defensive Robot - Wonderland Off-Season
2005-Regional Chairman's Winners - Greater Toronto Regional
2005-Regional Champions - Waterloo (Thanks 68 and 1305)
2005-Best Website - Greater Toronto Regional
2005-Team Spirit Award - Waterloo
2005-Entreprenuership Award - Waterloo

2004-Rookie All-Star award - Great Lakes Regional
2004-Rookie Highest Seed - Greater Toronto Regional
2004-Rookie All-Star award - Greater Toronto Regional
2004-Team Spirit award - Greater Toronto Regional
2004-Team Spirit award - National Championship


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
user code to default code phoenixomega001 Programming 5 09-01-2005 00:09
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Changing 1 joystick code to 2 (rookie team) Brawler006 Programming 5 20-02-2004 17:00
EDU Default Code for 1 Joystick RedNebula Programming 3 18-12-2003 20:14
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58


All times are GMT -5. The time now is 03:59.

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