|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Unidentifiable Problem
Blinking orange means you're speed controllers are not getting a PWM signal. Check your connections between the Speed Controller and the Digital Sidecar and the connections between the Digital Sidecar and the Crio
|
|
#2
|
|||
|
|||
|
Re: Unidentifiable Problem
But when we enable autonomous the wheels are moving
|
|
#3
|
|||||
|
|||||
|
Re: Unidentifiable Problem
When you enable Autonomous I can assume at that point the orange lights on your speed controller are no longer blinking?
|
|
#4
|
|||
|
|||
|
Re: Unidentifiable Problem
Yes
|
|
#5
|
|||||
|
|||||
|
Re: Unidentifiable Problem
Seems to me that something in your drive code isn't working quite right. I'm sure others will have ideas as well, posting some of your code might help.
Sorry I couldn't be of more assistance. |
|
#6
|
|||
|
|||
|
Re: Unidentifiable Problem
Thanks any way
|
|
#7
|
||||
|
||||
|
Re: Unidentifiable Problem
Check to make sure your joysticks are recognized by the driver station and in the USB 1 position.
|
|
#8
|
|||||
|
|||||
|
Re: Unidentifiable Problem
Could you post your teleop code for us?
|
|
#9
|
|||
|
|||
|
Re: Unidentifiable Problem
Ill post an image
Last edited by Vkamra20 : 12-02-2014 at 16:08. |
|
#10
|
|||
|
|||
|
Re: Unidentifiable Problem
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.SimpleRobot; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.RobotDrive; public class RobotTemplate extends SimpleRobot { RobotDrive myDrive=new RobotDrive(1,2); Joystick driveStick=new Joystick(1); public void autonomous() { } public void operatorControl() { while(isAutonomous()&& isEnabled()){ myDrive.arcadeDrive(driveStick); } } public void test() { } } |
|
#11
|
|||
|
|||
|
Re: Unidentifiable Problem
Glancing at your code snippet, should not it be:
Code:
while(!isAutonomous()&& isEnabled()){
|
|
#12
|
||||
|
||||
|
Re: Unidentifiable Problem
Quote:
Code:
while(isOperatorControl()&&isEnabled(){
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|