Go to Post Man, what's the point of teaser videos if nobody looks closely at them. - Knufire [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 06-04-2015, 10:26
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Team 2084: Robots By The C - Code Release

Since our official competition is over, we are open sourcing our robot and related Java code for others to learn from and so we can reuse it in future years. We use the Command based system and Robot Builder, but our drive code is completely custom.

Robot Code
  • Nearly full documentation for everything.
  • Flexible drive system that makes it easy to implement different drive systems. The mecanum code features support for gyros and wheel encoders, but not everything is fully tested.
  • ParameterCommand - allows Commands to have parameters that can be set from the SmartDashboard.
  • State machines to control other robot subsystems.
  • Semi-functional driver for the ITG3200 gyro (we didn't use it).
  • There is a lot of code there (6549 lines at the moment), so I probably forgot to list some interesting things.

SmartDashboard Extensions
  • Slider - a simple slider control, something that is missing from the built in widgets.
  • ParameterCommand - widget that displays the parameters from a ParameterCommand on the robot
  • WheelController - Used in conjunction with our drive code to display throttle, current and other values from our motors.

Vision Code
  • We didn't use vision in competition, but this still has some usefulness.
  • VideoServer - allows for streaming of any OpenCV image over http as an mjpg. It could probably use some improvement, but it works okay. It was ported from a (non-FRC) C++ version I wrote earlier, which I released here, in case anyone wants to see it.

I hope someone finds this useful.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
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 10:49.

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