[FTC]: code error

we are a new team trying to code a servo button on the joystick. we got the servo to work without a joystick but now we get an error and we don’t know what it means. any help? thanks

error says “servo out of range (34)”


#pragma config(Hubs, S1, HTMotor, none, none, none)
#pragma config(Sensor, S1, , sensorI2CMuxController)
#pragma config(Motor, mtr_S1_C1_1, motorD, tmotorNormal, openLoop, reversed)
#pragma config(Motor, mtr_S1_C1_2, motorE, tmotorNormal, openLoop)
#pragma config(Servo, srvo_S2_C1_1, ramp, tServoStandard)
#pragma config(Servo, srvo_S2_C1_2, servo2, tServoNone)
#pragma config(Servo, srvo_S2_C1_3, servo3, tServoNone)
#pragma config(Servo, srvo_S2_C1_4, servo4, tServoNone)
#pragma config(Servo, srvo_S2_C1_5, servo5, tServoNone)
#pragma config(Servo, srvo_S2_C1_6, servo6, tServoNone)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//

#include “JoystickDriver.c”

const int RAMP_DOWN=255;
const int RAMP_UP = 128;
//TJoystick joystick;

task main()
//int i;
while (true)
motor[motorD] = -joystick.joy1_y2;
motor[motorE] = -joystick.joy1_y1;

else if(joy1Btn(2))
  servoTarget(ramp)= RAMP_UP;
  /*for (i = 0; i <= 256; i += 16)
    servo[ramp] = i;