Go to Post Wow, I am beginning to feel like a member of the fabled "vast right-wing conspiracy" :) - Jim Zondag [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 24-03-2013, 20:06
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 207
gixxy is on a distinguished road
Thumbs up Share your Java Utilities and Object Classes

So I am sure just about every team has written a class for something that isn't in the library, or some other utility to aid in code development/testing. In the spirit of Gracious Professionalism and Open Source, I would love to have us share our creations.

For my contributions:

XboxController Class that is compatible with the CommandBase OI Button and Scheduler system. It also assists by using subclasses for the buttons and axises to alleviate memorizing the button/axis numbers.
XboxController

Threaded RaspberryPi Socket Connection. This is a little more specifically written to our uses, but it is likely useful for any co-processor using a TCP Socket Connection in a separate thread to prevent the robot from crashing if the thread crashes.
ThreadedPi
ThreadedberryPi (subsystem)

Then I have python code for a RaspberryPi for processing images and using a TCP Socket Server. This was not written by me, but we used it on our competition robot which has perfect killer accuracy. It calculated Distance(in millifeet) and pixels from center. The distance wasn't quite accurate, but was consistently inaccurate(useful if you recorded target points).
PyGoalFinder

I hope these helps someone. And thanks for sharing if you do so!
__________________
Programmer - A creature known for converting Caffeine into Code.
Studying Computer Science @ Louisiana Tech University
Associate Consultant @ Fenway Group

2012-13: 3946 - Head of Programming, Electrical and Web
2014 - 3468 - Programming Mentor
2015 - Present - Lurker
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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