Robot Builder Jaguar Code Generation Glitch

Hello everyone,

I have encountered a problem when Robot Builder generates code for a Jaguar, an error immediately appears.

Here are the relevant code sections:

// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
cANJaguar14 = RobotMap.shooterAltitudeChangeCANJaguar14;
// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS

public void raiseShooterAltitude() {
cANJaguar14.setspeed(1.0); //Sets the Jaguar motor controller connected
//to the motor driving the screw drive that lifts and lowers the shooter
//platform(the barrel) to raise the shooter platform. Will move at full
//speed because it is set to 1,0–0.5 would be half speed.
}

public void lowerShooterAltitude() {
    acANJaguar14.setspeed(-1.0); //Sets the Jaguar motor controller connected
    //to the motor driving the screw drive that lifts and lowers the shooter
    //platform(the barrel) to lower the shooter platform. Will move at full 
    //speed because it is set to 1,0--0.5 would be half speed. Negative 
    //means the motors will move in the opposite direction, thus lowering 
    //the shooter platform.
}

On the first line inside the autogenerated code markers, the error code: “cannot find symbol symbol: class cANJaguar14 location: class ShooterAltitudeChange <identifier>expected” appears and on the two setspeed(); lines, I get the eror: “cannot find symbol symbol: variable cANJaguar14 location: class ShooterAltitudeChange”.

I am pretty sure there is some naming problem with the Some help to correct this would be greatly appreciated.

Thanks!

My apologies…I made a mistake in my code and I was not post trolling at all, just made a mistake in which motor controller I used. Sorry!