![]() |
Using VEX Cortex to control FRC Robot help
Hi.
We read the thread about using VEX Cortex to control an FRC bot that was written some time last season. I am currently slightly confused as to how exactly the cortex should be connected to a Victor speed controller. I had it connected to the Digital Output using a male to male PWM cable and am running the Cortex itself off of a battery pack. I'm not sure what I'm doing wrong, but currently the Victor light still does not stabilize and continues to blink. Anyone know how to achieve this? (We're using this for our test robot while our other one is bagged). |
Re: Using VEX Cortex to control FRC Robot help
Try connecting to one of the Motor ports.
|
Re: Using VEX Cortex to control FRC Robot help
Plug the PWM wire into one of the 8x three-wire Motor ports, and it should functionally exactly the same as a regular VEX motor.
You may have to recalibrate the Victor to the Cortex PWM output values to ensure the Victor operates over the full output range. |
Re: Using VEX Cortex to control FRC Robot help
Quote:
|
Re: Using VEX Cortex to control FRC Robot help
Do I need a jumper? I don't usually work with Cortex so I'm not sure exactly how it should be hooked up; I thought I didn't need a jumper but now I'm not sure. I tried the wires both directions, moved the ports, etc...the light on the Victor refuses to stabilize at all. I'm running the Cortex off the battery pack to avoid severing some wires to attach it to our power distribution board, does that matter?
|
Re: Using VEX Cortex to control FRC Robot help
It's also important to ensure you're sending the Vic a signal within the code.
|
Re: Using VEX Cortex to control FRC Robot help
Update: Got the cortex working, thanks for all the help!
|
| All times are GMT -5. The time now is 03:11. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi