|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: Victor stops blinking !!!
Then what should I do if I want the code to run continuosly?
|
|
#17
|
||||
|
||||
|
Re: Victor stops blinking !!!
Quote:
The control system is designed to allow wireless control of the ROBOTS. The Driver Station software, FirstTouch I/O module, cRIO-FRC, speed controllers, relay modules, radio, and batteries shall not be tampered with, modified, or adjusted in any way (tampering includes drilling, cutting, machining, gluing, rewiring, disassembling, etc.), with the following exceptions: D.The supplied fans attached to speed controllers may be powered from the power input terminals. They have allowed it in the past years, once again it is allowed this year. |
|
#18
|
|||
|
|||
|
Re: Victor stops blinking !!!
aah, sorry. forgot about that.
and cilginbilgin, the main.vi itself is inside of a while loop, when it is called by global.vi. anything you put in main does not need a while loop, and the inclusion of such loops can cause your robot to stall. (ours did last year, thankfully we fixed the code in qualifying matches) |
|
#19
|
|||||
|
|||||
|
Re: Victor stops blinking !!!
Quote:
Cilgin, If you have another victor that is working, swap the working PWM with the Victor that you do not believe is working. If that change works, then you may have your Victor PWM connected to the wrong PWM output on the DSC. Make sure that the output matches your software. Use a flashlight it is hard to see the pins in the dark. As a hint on the fan wiring. If you turn the fan crimp terminals upside down, then insert the screw through the two terminals, you can make the wiring look much cleaner. |
|
#20
|
||||
|
||||
|
Re: Victor stops blinking !!!
Quote:
I believe that if you have a never-ending while loop in teleop then your joystick values will never change (there is nothing reading them) And if the CIM is drawing too much current it will never work either. Do any motors actually work?Like the drive ones? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|