Go to Post CAD is the oxygen for engineering. - Bharat Nain [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 02-02-2005, 18:17
Drok00 Drok00 is offline
Guy With Fluffy Hair
AKA: Jason Petrilla
FRC #0698 (Grizzly Bots)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Chandler/Tempe, Arizona
Posts: 16
Drok00 is on a distinguished road
Send a message via AIM to Drok00
Default Code Difficulties

For some reason the default code (V2.2) has the controller mapped funky, inorder to move the robot forward, you have to move the joystick to the right, reverse o the left etc...basically its all rotated 90 degreesoff what it should be... does anybody have a solution to this problem ( note, my and my accomplice are not programmers, if you could also provide a sample of the "corrected" code we would be very grateful.)
  #2   Spotlight this post!  
Unread 02-02-2005, 18:47
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Default Code Difficulties

Quote:
Originally Posted by Drok00
For some reason the default code (V2.2) has the controller mapped funky, inorder to move the robot forward, you have to move the joystick to the right, reverse o the left etc...basically its all rotated 90 degreesoff what it should be... does anybody have a solution to this problem ( note, my and my accomplice are not programmers, if you could also provide a sample of the "corrected" code we would be very grateful.)
I know this is REALLY, REALLY stupid, and sorry in advance for insulting your intellegence, but are you sure you have the joystick in the correct orientation, physically? Seconec, make sure you are using PWM output 1 for the left side, 2 for the right.
__________________
Aren't signatures a bit outdated?
  #3   Spotlight this post!  
Unread 02-02-2005, 19:18
Drok00 Drok00 is offline
Guy With Fluffy Hair
AKA: Jason Petrilla
FRC #0698 (Grizzly Bots)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Chandler/Tempe, Arizona
Posts: 16
Drok00 is on a distinguished road
Send a message via AIM to Drok00
Re: Default Code Difficulties

Quote:
Originally Posted by JBotAlan
I know this is REALLY, REALLY stupid, and sorry in advance for insulting your intellegence, but are you sure you have the joystick in the correct orientation, physically? Seconec, make sure you are using PWM output 1 for the left side, 2 for the right.
the joystick is definatley in the correct orientation ( we already eliminated that possible problem by using last year's control setup) and in the default code it uses port 13 and 15 not 1 and 2 furthermore the joystick in port one uses pwm outs 1,5,9, 13&14 (same signal) , and 15&16(same signal)
  #4   Spotlight this post!  
Unread 02-02-2005, 20:56
Drok00 Drok00 is offline
Guy With Fluffy Hair
AKA: Jason Petrilla
FRC #0698 (Grizzly Bots)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Chandler/Tempe, Arizona
Posts: 16
Drok00 is on a distinguished road
Send a message via AIM to Drok00
Re: Default Code Difficulties

okay we figgured it out. ... all we had to do was re wire the motors... i feel like an idiot now... thanks for the help
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
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
Victors, Default code, & joystick configuration Vermatitis Control System 4 27-01-2005 16:01
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
Is default code already loaded? quickie25 Electrical 8 19-02-2004 22:51


All times are GMT -5. The time now is 13:08.

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