|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Team 1625's 2014 Code
Please feel free to comment and let me know what you think, and any advice you have for us!
|
|
#2
|
||||
|
||||
|
Re: Team 1625's 2014 Code
Can you explain what the laser did? All I see is a DIO Input for it and that the global value written to is used in Autonomous. Was it your hot-goal detection?
Last edited by Invictus3593 : 29-05-2014 at 15:08. |
|
#3
|
|||||
|
|||||
|
Re: Team 1625's 2014 Code
Yes, it is used to detect the hot goals.
|
|
#4
|
||||
|
||||
|
Re: Team 1625's 2014 Code
Obviously this didn't affect your performance, but I'll ask anyways.
Why is there all kinds of code in teleop? Would it not be more responsive and give you more control over timing the loops if you put it all into Periodic Tasks in one-or-more loops and just set globals from the controllers in teleop? |
|
#5
|
|||||
|
|||||
|
Re: Team 1625's 2014 Code
Honestly.... Yes, Probably. The reason there is a lot of code in TeleOP is mainly due to rushed coding and bad habits. Like I said, we aren't the most legit.. haha its something we strive to improve every year.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|