Botball Community Library

3 replies [Last post]
garrettsickles
garrettsickles's picture
Title: NooBot
Joined: 12/08/2011
Posts:
BotPoints: 52
User offline. Last seen 8 years 28 weeks ago.

I am starting a project to assimilate as much useful code for the CBC and Create as possible to be publicly available. I understand every programmer has their own way of programming and many times wants to keep the code exclusively created for their team secret but also I hope many of us could collaborate on this project to improve and make available code for Botball teams everywhere.

-Sickles

Garrett Sickles
807Robotics: A Narwhal's Revenge
Youth Advisory Council
Geophysics & Computer Science

ruler501
ruler501's picture
Title: NooBot
Joined: 01/29/2012
Posts:
BotPoints: 367
User offline. Last seen 7 years 20 weeks ago.

I'll gladly get together some code for you. Do you want C/++ or Java? I can supply C/++ I havent tried much with Java yet. I think this idea culd be pretty useful for newer teams.
Also how in depth do you want the code to be? How many comments? Doxygen?
Sorry for all the questions I just want to know what you'd like me to make to help out

garrettsickles
garrettsickles's picture
Title: NooBot
Joined: 12/08/2011
Posts:
BotPoints: 52
User offline. Last seen 8 years 28 weeks ago.

Well newer teams learn to program in C so that'd be best. Commented enough for teams to utilize and comprehensively understand the methodology/process/math/logic behind the functions. Doxygen might be overkill at this stage in development. If you would include your team name and author name(s) at the top of each header that'd be great. Anything you think coud be useful just email to me "garrettsickles@gmail.com" and I'll post it on the Github Repo-"Botball-Opencode". One of my friends on NAR is going to work on it as well, focussing on CBC navigation. I'm focusing on Servo/Effector code right now, but more CBC sensor code would be great. Thanks for your participation in this project.

-Sickles

Garrett Sickles
807Robotics: A Narwhal's Revenge
Youth Advisory Council
Geophysics & Computer Science

ruler501
ruler501's picture
Title: NooBot
Joined: 01/29/2012
Posts:
BotPoints: 367
User offline. Last seen 7 years 20 weeks ago.

I'll touch up my teams current create program which we have doxygen comments in and a couple useful functions and post it in just a couple minutes.
EDIT: I created a fork just now and will upload my code in a sec and put in a pull request
EDIT 2: Would you like me to add doxygen comments as best I can to the code in the repo?