Go to Post when all else fails, try making the bot go slower - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 22-01-2004, 20:16
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
default code and the actual robot

ok did anyone have problem with the default code not working with the 'default wiring'? cuz ours seems to have a problem and we're trying to fix it
__________________

OHL 2004- ultimate NHL 2004 MOD
  #2   Spotlight this post!  
Unread 22-01-2004, 20:41
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: default code and the actual robot

*bump...
__________________

OHL 2004- ultimate NHL 2004 MOD
  #3   Spotlight this post!  
Unread 22-01-2004, 20:53
hello world's Avatar
hello world hello world is offline
Registered User
#1241
 
Join Date: Jan 2004
Location: Mississauga, Ontario
Posts: 4
hello world has a little shameless behaviour in the past
Exclamation Re: default code and the actual robot

hey BK
please do try to edit your messages before you post them. this applies to theory 6 forums as well
  #4   Spotlight this post!  
Unread 22-01-2004, 22:10
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: default code and the actual robot

im not good at grammar
__________________

OHL 2004- ultimate NHL 2004 MOD
  #5   Spotlight this post!  
Unread 22-01-2004, 22:13
Stephen Kowski's Avatar
Stephen Kowski Stephen Kowski is offline
BSEE, MSEE, JD
AKA: employed
no team
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Saint Petersburg, FL
Posts: 1,144
Stephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond repute
Send a message via AIM to Stephen Kowski
Re: default code and the actual robot

what is wrong specifically? i know we had to reupload the default code like the default code reference guide suggested....mainly our prob was with the compressor and that fixed it...
  #6   Spotlight this post!  
Unread 22-01-2004, 23:35
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: default code and the actual robot

my question was that when u just built the default code and loaded it onto the robot, does it work (robot's movement) properly for you guys?
__________________

OHL 2004- ultimate NHL 2004 MOD
  #7   Spotlight this post!  
Unread 23-01-2004, 13:46
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: default code and the actual robot

Quote:
Originally Posted by tml240
my question was that when u just built the default code and loaded it onto the robot, does it work (robot's movement) properly for you guys?
It worked as expected for us. We ploped it in last year's bot (Not Dig.IOs or Analog) and it worked as expected. Check the FRC Default Code Reference Guide for specific functions and IO mapping.
  #8   Spotlight this post!  
Unread 23-01-2004, 16:47
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: default code and the actual robot

Thanx for the info but we are still having trouble with the code and our robot. I was wondering if u edited or changed the defauls code in any way before putting it on the bot? cause we were having a lot of trouble. another thing i was just wondering was r u guys using one joystick for ur bot or r u guys using 2???? and for my finial question i was wondering how u guys set up the motors for ur wheels( like in which pwm output pin u put them in?) all ur help is greatly appreciated. thanx
__________________

OHL 2004- ultimate NHL 2004 MOD
  #9   Spotlight this post!  
Unread 23-01-2004, 16:55
Guest
 
Posts: n/a
Re: default code and the actual robot

What EXACTLY is the problem?
  #10   Spotlight this post!  
Unread 23-01-2004, 18:12
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: default code and the actual robot

if we load the default code onto the robot, the joystick is messed, x and y are switched, do u see that problem?
__________________

OHL 2004- ultimate NHL 2004 MOD
  #11   Spotlight this post!  
Unread 23-01-2004, 22:36
billstu billstu is offline
Registered User
#0835
 
Join Date: Jan 2004
Location: Michigan
Posts: 3
billstu is an unknown quantity at this point
Re: default code and the actual robot

I've seen it (left right on the joystick swapped)... but that should be easy to fix in the code...
  #12   Spotlight this post!  
Unread 24-01-2004, 09:55
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: default code and the actual robot

we are trying to fix this part:

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

ok here's the thing...

pwm 13 and 14 should be on one side and 15 and 16 on the other,
but we got 13 and 15, and 14 and 16.

so what can be fixed in the code?
__________________

OHL 2004- ultimate NHL 2004 MOD
  #13   Spotlight this post!  
Unread 24-01-2004, 10:22
Stephen Kowski's Avatar
Stephen Kowski Stephen Kowski is offline
BSEE, MSEE, JD
AKA: employed
no team
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Saint Petersburg, FL
Posts: 1,144
Stephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond reputeStephen Kowski has a reputation beyond repute
Send a message via AIM to Stephen Kowski
Re: default code and the actual robot

nah never had a problem with the default code (make sure you are reading the default code reference guide if you are planning on hacking up the default code) either you are plugging in 13, 15, 14, and 16 wrong or the aliases for them are screwed up, check in "ifi_aliases.h" and check everything is ok in there......other than that im all out of ideas at the moment.....
  #14   Spotlight this post!  
Unread 24-01-2004, 10:50
Guest
 
Posts: n/a
Hardware problem?

Quote:
Originally Posted by tml240
so what can be fixed in the code
First check what can't be fixed in the code:

Maybe somebody's already said this, but have you checked the connections from each PWM output to the Victor 884's? Then check the connections from the Victor's to the motors.

If you "fix" the code without fixing the hardware connections, your robot might work for now. But when somebody realizes that the connections are incorrect and fixes those, your robot will stop working and it'll be hard to debug.

Check software, hardware, then repeat.

Last edited by SilverStar : 24-01-2004 at 10:55.
  #15   Spotlight this post!  
Unread 24-01-2004, 11:28
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: Hardware problem?

bup forget it...we got it fixed....IT WAS THE WIRING! we are using two controllers to get the robot going...thx for the advices.... but we still need to control the speed, anyone got that?
__________________

OHL 2004- ultimate NHL 2004 MOD
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
Help On Coding 2K1 Controller GregTheGreat Programming 9 05-12-2003 18:35
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
New software?? mjt902 Programming 2 08-01-2003 10:40
PBASIC 2.5 answer from Parallax JasonS Programming 6 07-01-2003 19:21
Team 237 unleashes a "Beast" Elgin Clock Robot Showcase 5 27-03-2002 21:09


All times are GMT -5. The time now is 19: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