Recently our team had a problem that on the first time we upload code to the robot the motors (falcon 500) doesn’t move although output is being set. when we upload the same code for the second time the robot runs just fine.
Our team works on LabVIEW and we want to know if it happened to someone and if you know how to solve it?
Does this happen EVERY time you come to the shop or just the ones?
If just the once, I’d guess you didn’t have the DLLs on the roboRIO. The CTRE DLLs required to operate the Falcons need to be loaded onto the roboRIO by pushing code. That’ll make the first time you send code fail to connect to the Falcons and then each subsequent push works fine.
If you’re seeing this problem frequently, it’s likely something else we’d want to take a look at.
There was also an issue with the CTRE motor controllers that you had to open them sequentially by wiring the error out of one open into the error in of the next. Once we did this things worked better. I don’t know if this has been fixed with the new updated code release or if it is a problem with the falcon. It is easy to do though. There is another post someplace here that shows the example.
Yes, it happen every time i upload my code after i turn on the robot.
Sometimes i upload the code without the motors begin and then upload it again with the begin and the code runs as i want it to.
I do have the CTRE DLLs.
CTRE is in the process of releasing a fix for the Falcon Talon FX (and others) Open problem.
The fix comes in Phoenix Framework v5.21.1 on the CTRE website Software page.
It has a Feb 4 date. (corrected)