|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Gyro code problem
Hi
im tring to use the gyro code . the gyro is working fine but the p1_x is not getting changing when i move the joystick... (p1_x moves when i move the y - axis) can anyone tall me what do i need to change in the code to make it work? thanks |
|
#2
|
||||
|
||||
|
Re: Gyro code problem
Quote:
-Kevin |
|
#3
|
|||
|
|||
|
Re: Gyro code problem
Im calling the Default_routine function from ther and it still not working...
i think the problem is in the serial port routine becuse when im traing to use "FRC SERIAL PORT" code its not working as well Amiram |
|
#4
|
|||||
|
|||||
|
Re: Gyro code problem
Hey Amiram,
מה קורה? אני ממליץ שתשתמש בבודק שגיאות האיות באנגלית, ככה יהיה להם יותר נוח לקרוא את ההודעות שלך ולעזור לך... -ליאב קבוצה מס' 1578 |
|
#5
|
||||
|
||||
|
Re: Gyro code problem
Quote:
I was wondering if you could elaborate on this, I did not comment much of what you had commented whaen I added your gyro code to my code from last year, what risks does this present? James |
|
#6
|
|||
|
|||
|
Re: Gyro code problem
Quote:
AMIRAM, It sounds like you either have a bad joystick, or someone was playing with the Disable switches on the OI. I suggest trying another joystick, or looking at those switches. |
|
#7
|
||||
|
||||
|
Re: Gyro code problem
I dont see how this being uncommented is any different then the default code, I changed Kevins variable i in order to avoid haing to variables with the same name. Could you please elaborate, I dont see how this would enable any motors that woulnt be enabledin the default code.
Thanks James |
|
#8
|
|||
|
|||
|
Re: Gyro code problem
Quote:
Ignore the rest of my post other then this: Quote:
|
|
#9
|
||||
|
||||
|
Re: Gyro code problem
Oh alright, I see what you meant in you origianal post sorry about that
|
|
#10
|
||||
|
||||
|
Re: Gyro code problem
Quote:
-Kevin |
|
#11
|
|||
|
|||
|
Re: Gyro code problem
Hi
Im using the FRC 2006 Default_code when i add kevin's serial port code the FRC is not geting the right Data from the OI .. can u tell me who to edit the "Serial_Char_Callback" function to recive Data from the ttl port tried to do it with kevin's serial code and it didnt work thanks |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gyroscope Code | Kevin Watson | Programming | 65 | 01-03-2008 23:46 |
| Analog-to-Digital Converter Code | Kevin Watson | Programming | 29 | 17-02-2008 13:07 |
| Trying to import Camera code into program without. | Kingofl337 | Programming | 1 | 18-02-2005 00:43 |
| Problem running compiled code | jskene | Programming | 10 | 23-01-2005 21:13 |
| Wierd gyro code problems...pls help | Salik Syed | Programming | 4 | 14-03-2004 01:29 |