Go to Post So measure not by the masses, but by the sparks that you generate. - Kims Robot [more]
Home
Go Back   Chief Delphi > Technical > Electrical
Team 51   CD-Events   CD-Media   CD-Swap   CD-Spy   FRC-Spy   Unsung FIRST Heroes   WFA
portal register members calendar search Today's Posts Mark Forums Read FAQ rules
VEXpro
The Chief Delphi Forums are sponsored by Innovation First International, Inc.
Chief Delphi Alumni
ADVERTISEMENT

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-17-2005, 08:29 PM
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Turning the Robot

I have one joystick programmed up to the robot, I have the p1_y's all programmed and it moves forward and backward. I have the p1_x's on pwm05 and pwm06. I have two pwm01's going to 2 victors and two pwm02's going to the other 2 victors. So where do I put the pwm05's and 06's on the victors??
  #2   Spotlight this post!  
Unread 02-17-2005, 10:58 PM
ConKbot of Doom ConKbot of Doom is offline
Team Alumni
FRC #1184 (Cobra Robotics)
Team Role: Leadership
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Maryland
Posts: 153
ConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura about
Re: Turning the Robot

You have to mix the values in the code. In the default code, pins 13-16 have a mixed signal for one joystick drive.

Look for the one joystick drive section in user_routines.c

You'll see something like
pwm13 = pwm14 = LimitMix (2000 + p1_y - p1_x + 127);

that may not be exactly it, but it will be similar. I have heard that if you use a lot of interrupts in the code, pwms 13-16 get twitchy, so you may want to change them in the code to another pwm channel. We are keeping it simple on ours, 01 for right, 02 for left, 03 for the arm motor.

Good luck
  #3   Spotlight this post!  
Unread 02-17-2005, 11:48 PM
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: Turning the Robot

So with this code, the robot should turn? I tried this and it didn't work, I'll have to look at it tomorow i guess.
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
Is allowing a practice robot good for FIRST? Matt Adams General Forum 38 01-19-2005 10:35 AM
[moderated] You write <G34> and <G35> Aidan F. Browne Moderated Discussion 109 04-21-2004 04:00 PM
Robot Collaboration Karthik General Forum 153 02-18-2004 02:40 AM
Kamikaze Robot Strategy... Joe Johnson Rules/Strategy 30 04-07-2002 08:42 PM
Calling all Lawyers... ...Define "all parts" Joe Johnson General Forum 10 03-13-2002 02:12 PM


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

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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © Delphi and Pontiac Central High School