Results 1 to 4 of 4

Thread: Team 1114 C++ Example Code

  1. #1
    Pat Fairbank Guest

    Default Team 1114 C++ Example Code

    Over the course of the beta test, Team 1114 has been retrofitting the 2007 robot, Simbot Prime, with the new control system. Here is the C++ code we've developed for teleoperated control of the robot. It includes an example of an IterativeRobot with one-joystick drive and simple arm control, as well as some convenience classes we wrote for double solenoids and the Logitech Dual Action Gamepad.

    We're currently working on programming an autonomous mode which can score a tube on the rack guided by the green light; the code'll be released in a week or two when we're done.
    Attached Files Attached Files

  2. #2
    sharrington Guest

    Default Re: Team 1114 C++ Example Code

    Thank you for posting the code. I have one question - why are you using a class with static members instead of a namespace for your SimLib?

    I look forward to the autonomous code.

    Thanks,
    Sam
    Last edited by sharrington; 10-27-2008 at 05:11 AM.

  3. #3
    Pat Fairbank Guest

    Default Re: Team 1114 C++ Example Code

    Knowing the individual responsible for that part of the code, it's probably because that's how it would be done in Java (although that class should really have a private constructor).

  4. #4
    Pat Fairbank Guest

    Default Re: Team 1114 C++ Example Code

    Here is the final version of the code, including an autonomous mode that tracks the green light and scores a tube on a spider leg.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •