View Single Post
  #9   Spotlight this post!  
Unread 07-02-2013, 15:18
ohhs4284 ohhs4284 is offline
Registered User
FRC #4284
 
Join Date: Jan 2013
Location: Cicinnati
Posts: 11
ohhs4284 is an unknown quantity at this point
http://s1358.beta.photobucket.com/us...tml?sort=3&o=2
http://s1358.beta.photobucket.com/us...tml?sort=3&o=1
http://s1358.beta.photobucket.com/us...tml?sort=3&o=0

This is the output I see.

http://s1358.beta.photobucket.com/us...s4284/library/

this is our output. Thanks for the help so far guys.

Quote:
package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.Jaguar;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.Servo;
import edu.wpi.first.wpilibj.SimpleRobot;
import edu.wpi.first.wpilibj.camera.AxisCamera;

public class ASimpleJavaBot extends SimpleRobot {

Joystick leftStick = new Joystick(1);
AxisCamera cam= AxisCamera.getInstance("10.42.84.11");
RobotDrive robotDrive = new RobotDrive(3,4,1,2);
public ASimpleJavaBot(){
getWatchdog().setExpiration(0.1);
}

public void operatorControl() {
while (isOperatorControl() && isEnabled()) {
getWatchdog().feed();
robotDrive.arcadeDrive(leftStick.getY(),-1*leftStick.getX());

}

}
}
This is the watered down version we are working with just for driving.This is what is failing

Last edited by artdutra04 : 07-02-2013 at 20:30. Reason: Merged three back-to-back posts together
Reply With Quote