Log in

View Full Version : 4334 2013 Robot Code


joelg236
01-05-2013, 16:51
We're proud to release our code this year. Although the code isn't extremely well documented, the API behind it is so everything should make sense.

https://github.com/joelg236/robot-code13

Ask if you have questions.

William Kunkel
05-05-2013, 10:44
Is there supposed to be a branch called "depreciated", or did you mean "deprecated"?

joelg236
05-05-2013, 12:33
Is there supposed to be a branch called "depreciated", or did you mean "deprecated"?

It's supposed to be depreciated... Why deprecated?

Grim Tuesday
05-05-2013, 13:45
It's supposed to be depreciated... Why deprecated?

Depreciated means that it has diminished in value over time. Deprecated means it is no longer in use.

I think you mean deprecated, unless they mean different things in Canada :P

joelg236
05-05-2013, 14:41
Depreciated means that it has diminished in value over time. Deprecated means it is no longer in use.

I think you mean deprecated, unless they mean different things in Canada :P

No, it definitely is depreciated. It's for old code that isn't as useful as it once was, considering we've replaced it with new code. It's also not in use anymore, but the important part is that it's been replaced.

commodoredl
05-05-2013, 16:26
I'm fairly certain the industry term for what you are describing is in fact "Deprecation."
http://en.wikipedia.org/wiki/Deprecation
Not to be confused with Depreciation.

Deprecation is a status applied to a computer software feature, characteristic, or practice indicating it should be avoided, typically because of being superseded.

joelg236
05-05-2013, 16:32
I'm fairly certain the industry term for what you are describing is in fact "Deprecation."
http://en.wikipedia.org/wiki/Deprecation

I stand corrected. Well I'll be sure to switch that for next year.

krieck
05-05-2013, 17:12
The ThreadableCommand looks unique.

Can you tell us what the robot does in autonomous mode?

joelg236
05-05-2013, 18:10
The ThreadableCommand looks unique.

Can you tell us what the robot does in autonomous mode?

ThreadableCommand just gives everything the option to be run in a new thread. It's convenient for button mapping when you want it to start a new process instead of delaying everything.

Auto is just 3 discs. It uses a scripting language (gordian (https://github.com/Team4334/gordian)) to run the commands necessary. The variables are in the text file, so we don't need to recompile every time.