Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Signal isssue (http://www.chiefdelphi.com/forums/showthread.php?t=126223)

harryji369 10-02-2014 22:03

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 :confused: :ahh: :mad: ::rtm::

Alan Anderson 10-02-2014 22:27

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?

harryji369 10-02-2014 22:32

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

mega900997 10-02-2014 23:04

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.

harryji369 10-02-2014 23:08

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++.

mega900997 11-02-2014 06:29

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

(This is how I do it in my code)

eddie12390 11-02-2014 09:26

Re: Signal isssue
 
Quote:

Originally Posted by harryji369 (Post 1341010)
we get no solid lights at all, all wiring has been checked joysticks are being seen by the driverstation and we are using c++.

You need to calibrate the Talon, press and hold the small button on the Talon labeled something along the lines of Calibrate and send the motor 1.0 and then -1.0 and then let go of the Calibrate button. The easiest way to do it is to set the Talon's speed straight to a joystick axis output. More information here: http://www.crosstheroadelectronics.c...Manual_1_3.pdf on page 7.

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.

Nick Lawrence 11-02-2014 09:32

Re: Signal isssue
 
Are your cRIO modules in the correct places?

-Nick


All times are GMT -5. The time now is 05:32.

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