Go to Post Being the GDC is not an easy job, anything can happen. Lunacy happened ::rtm:: - Conor Ryan [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 04-01-2013, 12:43
sophiad68's Avatar
sophiad68 sophiad68 is offline
Registered User
AKA: Sophia Doerr
FRC #4478 (Materia Oscura)
Team Role: Student
 
Join Date: Nov 2012
Rookie Year: 2004
Location: Milford, Michigan
Posts: 3
sophiad68 is a jewel in the roughsophiad68 is a jewel in the roughsophiad68 is a jewel in the roughsophiad68 is a jewel in the rough
FRC Team 4478 Code

Hello all,
I am attaching my team’s practice code generated by Robot builder. There are two attached files; the C++ file generated by robot builder, and the Java file generated by robot builder. I would attach the Robot builder file and the wiring file, but Chief Delphi won't allow me to. The robot that was modeled with the Robot builder has a two motor drivetrain, along with a pneumatic shifter, and a manipulator with a double actuated cylinder, a navigation subsystem with two encoders and a gyro.

The pneumatic subsystem contains a compressor. We have decided to use gamepads instead of joysticks under the Operator Interface, one for the driver and one for the manipulator, and this required creating our own gamepad class, as it is not provided in the wpilib. Under commands, we have included a generic drive with gamepad command for teleoperated mode and an autonomous command for autonomous mode. We have also decided to include two commands to operate the manipulator, Cylinder In and Cylinder Out.

We also modified the Iterative Robot class for Java, so that periodic loops can follow a timer instead of the driver station packets, like C++.

RobotBuilder can be found on firstforge and I assume on http://wpilib.screestepslive.com tomorrow.
Attached Files
File Type: zip FRC4478_Cpp_2012.zip (100.5 KB, 30 views)
File Type: zip FRC4478_Java_2012.zip (253.6 KB, 62 views)
 


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 21:41.

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