![]() |
Re: New C18 3.0+ Compatible FRC Code
Quote:
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
"Procrastination mode" I wonder if FIRST will use that to replace Hybrid mode next year? |
Re: New C18 3.0+ Compatible FRC Code
Quote:
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
-Kevin |
Re: New C18 3.0+ Compatible FRC Code
Quote:
http://kevin.org/frc/ifi_frc_beta_4.zip *Please* help me out and have a look at the code and documentation (start with readme.txt) and provide feedback before I go public with the code on my website, which I'd like to do on Friday or early Saturday. If you can, follow the directions in readme.txt to build the code and test with your encoder(s) and/or gyro and report any problems here. Thanks. -Kevin Edit: Code has been released and is available here: http://kevin.org/frc. -Kevin |
Re: New C18 3.0+ Compatible FRC Code
Kevin,
In your gyro initialization code in teleop.c, you have two static ints that you use as counters. (i, j) You increment both every time through the function. When you wish to print out the gyro you have the following: Code:
Code:
if(j == 300)Code:
if(==35 && i >= 300) |
Re: New C18 3.0+ Compatible FRC Code
Quote:
-Kevin |
Re: New C18 3.0+ Compatible FRC Code
In the README.TXT, in the section to enable the ISR's in ifi_frc.h, (bullet # 3)the description is misleading, or the file is incorrect.
Quote:
Code:
// #define ENABLE_INT_1 // enable if using encoder channel 1 |
Re: New C18 3.0+ Compatible FRC Code
Quote:
Code:
// Remove the comment slashes from one or more of the following lines to-Kevin |
Re: New C18 3.0+ Compatible FRC Code
I just saw the answer in encoder.c.
Sorry for the confusion. My bad.:mad: I hate it when I misinterpret instructions like that. Oh well, blame it on sleep deprivation.;) |
Re: New C18 3.0+ Compatible FRC Code
Is it recommended to use this code over the default, or should teams wait to use until it's out of its beta stages?
|
Re: New C18 3.0+ Compatible FRC Code
Kevin,
what changes should be made to the Vex C templates to run under 3.10? I'm getting library errors. |
Re: New C18 3.0+ Compatible FRC Code
Quote:
-Kevin |
Re: New C18 3.0+ Compatible FRC Code
Can we use MPlab 8.0 to use 3.10 to compile? I need to know Because I cant find 7.21
|
Re: New C18 3.0+ Compatible FRC Code
Quote:
|
| All times are GMT -5. The time now is 14:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi