BrandonD-1528
06-02-2009, 09:15
All of our teams vetrens mebers graduwated last year and we have no programing mentor, were so close to geting our cood working, were down to the last 5 err0rs and eney help would be gratly apresheated.
if (leftStick.GetY() >= (1 - k))
{
leftMotor.set(leftStick.GetY());
}
error: 'leftmotor' undeclared (first use this function)
if ((leftStick(1).GetY() < (1 - k)) && (leftStick.GetY() > k))
{
if (leftStick.GetY() > leftMotor.get())
{
error:no mach for call to '(joystik)(int)'
if (rightStick.GetY() >= (1 - k))
{
rightMotor.set(rightStick.GetY());
}
error: rightStick undeclared(first use this function)
error: rightMotor undeclared(first use this function)
Start_Robot_Class(RobotDemo);
error:new types may not be defined in a return type.
if (leftStick.GetY() >= (1 - k))
{
leftMotor.set(leftStick.GetY());
}
error: 'leftmotor' undeclared (first use this function)
if ((leftStick(1).GetY() < (1 - k)) && (leftStick.GetY() > k))
{
if (leftStick.GetY() > leftMotor.get())
{
error:no mach for call to '(joystik)(int)'
if (rightStick.GetY() >= (1 - k))
{
rightMotor.set(rightStick.GetY());
}
error: rightStick undeclared(first use this function)
error: rightMotor undeclared(first use this function)
Start_Robot_Class(RobotDemo);
error:new types may not be defined in a return type.