View Single Post
  #6   Spotlight this post!  
Unread 28-03-2011, 08:25
johncap100 johncap100 is offline
Registered User
FTC #0658
 
Join Date: Aug 2009
Location: Capital High School
Posts: 95
johncap100 is an unknown quantity at this point
Re: We have some things working with java, if you need help look here

do you have a copy of this default code from last year that you might share, or do you know where i might get a copy from last year?

thanks


Quote:
Originally Posted by mark.amber View Post
We are using the following computer systems for programming in JAVA:
  • Ubuntu 64 bit, running netbeans 6.8 successfully (Ubuntu 9.10)
  • Ubuntu 32 bit, running netbeans 6.8 successfully (Ubuntu 9.10)
  • Windows Vista, running netbeans 6.8 successfully

Classmate PC running:
  • Netbeans 6.7.1. we do not use netbeans on the classmate
  • Updated driver station with compass in bottom right.
  • Recieving feed of camera from cRIO.
  • Working comunication.

The cRIO:
  • Using Victors.
  • Connected to camera, seems to run the default circle detection code, follows circles with this code.
  • Connected to a WGA600N Gaming adapter, connected to our local network, all Computers listed can download to it.
  • Working Gyro for compensating for the orientation of the robot.
  • Working Servo for adjusting camera angle.

Code contains working sections for:
  • HolonomicDrive: setup so no matter what direction the robot is heading, it will respond to the joystick the same (using mecnum wheels)
  • Controls camera position on servo using a throttle on Attack3 Joystick.
  • Using iterativerobot class
  • Using multiple methods, so the code is segmented, and easier to debug
  • Debug output to Netbeans working.

Procedures we know
  • We know the procedure to download code to the cRIO from Netbeans (complicated).
  • We know how to flash the cRIO with the latest image.
  • We know how to setup the Axis camera, for use on the cRIO.
  • We know how to use the Vision Assistant 2009 to test out different filters.
  • We know how to install the latest updates for driver station (complicated).
Reply With Quote