Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Team 1625's 2014 Code (http://www.chiefdelphi.com/forums/showthread.php?t=129542)

Lightfoot26 19-05-2014 19:32

Team 1625's 2014 Code
 
I decided that it might be cool to share our code with CD.... so here it is... we don't pride ourselves on its beauty, but it works, and we had a little fun with it! This is the revision that was loaded moments before we competed on Einstein. Enjoy! If nothing else, I hope it gives you a nice laugh! :)

Link:
https://www.dropbox.com/s/s4zw3mbufe8i4f4/2014Code.rar
(Let me know if link is broken, or there are some file system errors with the code! :P )

Lightfoot26 27-05-2014 15:22

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!

Invictus3593 28-05-2014 18:09

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?

Lightfoot26 30-05-2014 14:42

Re: Team 1625's 2014 Code
 
Yes, it is used to detect the hot goals.

Invictus3593 11-06-2014 10:53

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?

Lightfoot26 12-06-2014 20:49

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.


All times are GMT -5. The time now is 12:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi