![]() |
How do deploy code with Eclipse?
I've been trying to deploy code to the roborio for a few days now. It's not connecting to the driver station either. It finds it in eclipse but it shows this
Code:
[echo] [athena-deploy] Copying code over.Code:
package org.usfirst.frc.team3335.robot; |
Re: How do deploy code with Eclipse?
Yes, that looks like a successful code deployment. If you're having issues though you should check for errors in the driver station log.
|
Re: How do deploy code with Eclipse?
What is Error 44009 on the driver station?
|
Re: How do deploy code with Eclipse?
Quote:
|
Re: How do deploy code with Eclipse?
Alright I'll ask the somewhat obvious questions lol.
Are you using the new driverstation, have you entered your team number into the driverstation, and how are you connecting to the rRIO? |
Re: How do deploy code with Eclipse?
It is the new driverstation, I have entered the team number into the driverstation, and I'm connected via ethernet cable. I've also tried with the type a to type b usb cable.
|
Re: How do deploy code with Eclipse?
Also, joysticks (and talons?) have a 0-index now. That code won't run unless your joystick is in slot 2.
|
Re: How do deploy code with Eclipse?
Are you saying I should put controller = new Joystick(2); ?
|
Re: How do deploy code with Eclipse?
Quote:
Your code: Code:
controller = new Joystick(1);To solve this you can either a) change the code to Code:
controller = new Joystick(0);I recomend the first. Onto your main problem. When connected via ethernet, could you post the output of "ipconfig" Are you getting No Robot Code, Comunications, or is it just not doing anything when you enable? |
Re: How do deploy code with Eclipse?
Now I'm getting communications. It just says there's no robot code.
Code:
package org.usfirst.frc.team3335.robot; |
Re: How do deploy code with Eclipse?
Okay. There is a problem in the code. When I remove the RobotDrive, the robot code shows up on the driverstation. What's happening here?
|
Re: How do deploy code with Eclipse?
Your SpeedController objects should have a type of Victor, not SpeedController.
|
Re: How do deploy code with Eclipse?
Quote:
|
Re: How do deploy code with Eclipse?
How silly of me x.x I forget that it matters which initialize first. Thank you for your help!
|
Re: How do deploy code with Eclipse?
Everything's working now. Thank you everybody!
|
| All times are GMT -5. The time now is 10:43. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi