Go to Post I thought you guys were surposed to be nerds. - Funzo [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 8 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 02-01-2015, 12:19 AM
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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:17 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi