|
Re: Jaguar Programming with NetBeans
Quote:
Originally Posted by yBother
Greetings! We're trying to program our Jaguar, but it does not respond to the commands that we copied from the official PDF. Can someone please take a look:
Here's our codes regarding the Jaguar:
private testJaguar;
testJaguar = new Jaguar(1);
testJaguar.setSafetyEnabled(true);
testJaguar.set(testJoystick.getY());
No error message appeared on the NetBeans, but we can't get control over the Jaguar.
THANKS SO MUCH!
|
Is your code in a loop in the OperatorControl part of the program? If not, it will execute once and exit.
Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
|