View Single Post
  #6   Spotlight this post!  
Unread 01-02-2015, 00:19
hwu24110 hwu24110 is offline
Registered User
FRC #0988
 
Join Date: Feb 2014
Location: Las Vegas
Posts: 44
hwu24110 is an unknown quantity at this point
Re: Remote command failed with exit status 1

I found the problem. Turns out it was a problem with the code.
Code:
 myRobot = new RobotDrive(0, 1, 2, 3);
        myRobot.setExpiration(0.1);
        xbox = new Joystick(0);
        xbox2 = new Joystick(1);
        LF = new Victor(0);
        LR = new Victor(1);
        RF = new Victor(2);
        RR = new Victor(3);
        FARM = new Talon(4);
        RARM = new Talon(5);
        lintake = new Talon(6);
        rintake = new Talon(7);
I didn't know that RobotDrive constructed/declared/identified (I don't know what the term is... oops) the motors, and then I constructed the motors later, so I constructed them twice and the builder didn't like that. Thanks for taking the time to respond though.
Reply With Quote