|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Signal isssue
Our new robot is all wired up however our motor controllers are not reviving any signal aside from one which is blinking red. we are using the Talons motor controller for the drive and two victors. we tried everything that came to mind Crio imaging, Digital side cart, code rewrite. Please help us i wanna go home, they wont let me leave
![]() |
|
#2
|
|||||
|
|||||
|
Re: Signal isssue
What kind of motor speed controller is blinking red? Talons blink either red or green when being driven at less than full power.
You are enabling the robot before deciding that the Talons and/or Victors aren't getting signal, right? |
|
#3
|
||||
|
||||
|
Re: Signal isssue
we are using the talons for the drive and victors for the manipulator and we did enable the robot and it is one of the talons that is blinking red
|
|
#4
|
||||
|
||||
|
Re: Signal isssue
Few Baseline Questions to ask:
1)What language are you using? 2)Are the lights on the victors solid when you enable it? 3)Is the Digital Sidecar receiving power? 4)Are the PWM wires plugged into the correct slots? 5)Also with whatever you are using to control the robot(controller/gamepad/joystick etc.), is it numbered as in when you open up the driverstation and go to the status/diagnostic page(don't remember which one offhand) is that controller in slot 1(or whichever value you are setting your controller as in the code) in the table on the right hand side? (I can't say anything about Talons, I have not worked with them.) If the Victor lights are solid when the robot is enabled, then it is receiving a signal and its a problem where the value you are sending from your controller is not setting the victor values. |
|
#5
|
||||
|
||||
|
Re: Signal isssue
we get no solid lights at all, all wiring has been checked joysticks are being seen by the driverstation and we are using c++.
|
|
#6
|
||||
|
||||
|
Re: Signal isssue
Then it can be a problem with your code. Are you initializing the Victors/Talons correctly and and setting a value corresponding to the controller input value? Print out what you are sending to the motors and what the motors are receiving, or just print out all necessary info.(Printf helps alot with debugging).
ex: Code:
Victor *DriveMotor; DriveMotor = new Victor(1); DriveMotor->Set(1.0);//sets Victor to drive forward at full speed |
|
#7
|
||||
|
||||
|
Re: Signal isssue
Quote:
We had the exact same issue initially and it was solved by creating a simple program that just sends the joystick value to the motor and completing the process for each Talon. Afterwards they worked perfectly. Last edited by eddie12390 : 11-02-2014 at 09:28. |
|
#8
|
|||||
|
|||||
|
Re: Signal isssue
Are your cRIO modules in the correct places?
-Nick |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|