|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
It will take 2 seconds to get to max output. Is that the problem, were you expecting such a long ramp? Is your autonomous code running for the correct amount of time?
|
|
#2
|
|||
|
|||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
No, that's the problem, I don't get ANY motor output. And it is definitely just those lines. I comment them out, it works, I comment those four lines back in, and I get zero motor movement. I've left it for about 2 minutes thinking maybe it was just a slow ramp, but the motors do not change :/ Is there a different set function you have to call after using the SetVoltageRampRate? Is there something in the web interface you have to do? I'm running it through CAN if that helps, but like I said it's not a wiring issue, it works perfectly until I put those lines in then it stops doing any motor output.
|
|
#3
|
||||
|
||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
Please grab the self-test results when a Talon SRX is not meeting your expectations. That's always the first step.
Also check the DS Messages view on the right side for anything. If the view is not empty, correct the problems listed in the messages listview. |
|
#4
|
|||||
|
|||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
You are also setting an actual motor output value somewhere, right? Just configuring the ramp rate doesn't tell the Talon to drive anything. Based on your commenting the lines in/out and having it fail/work, I don't think you're being so silly, but I just want to make sure.
|
|
#5
|
|||
|
|||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
Yeah, I am. I'm setting them all to 1.0 for autonomous. do you maybe need to tell it to monitor a specific pdp port or something? I'm at a loss because supposedly it just works, and the documentation for this section of the software is lacking a bit for trouble shooting.
|
|
#6
|
||||
|
||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
The Talon programing manual (pg. 63) implies the throttle range is 1023 to -1023. 1 is essentially 0? I know the joy stick output is 1 to -1 but maybe the gets scaled somewhere that is not obvious before being sent to the talon?
|
|
#7
|
||||
|
||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
Quote:
Did you by chance set the limits to normally closed at some point and leave them that way? Check the status using the web interface and see if something looks goofy. What revision of the firmware is on the Talons? |
|
#8
|
|||
|
|||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
Quote:
Quote:
Also, would you mind posting your applicable code? Just so I can see if perhaps I'm missing some basic issue? |
|
#9
|
|||
|
|||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
And I'm running hardware revision 1.4, bootloader revision 2.6, Firmware revision 0.28. And all of them are set to coast mode, and normally opened on both forward and reverse limit switch.
|
|
#10
|
||||
|
||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
Unrelated but......
Firmware 0.28? Did you read rule R59? You must update the Talons to be FRC-legal (1.1 or greater). |
|
#11
|
|||||
|
|||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
I'm not sure it's unrelated at all. The early firmware does not implement all the features of the current firmware (1.1-1.4).
|
|
#12
|
||||
|
||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
Yeah, update to 1.1 or even better to 1.4 and try again.
|
|
#13
|
||||
|
||||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
Hey, looks like there was a throttle-ramp fix back in 0.34. Cool (jeesh that was back in November) Forgot about that. Good thinking Alan.
So anyway, this is addressed to ALL teams : PLEASE UPDATE YOUR CAN DEVICES because... -The ship firmware is not legal -Updating them at the comp wastes a great deal of time. -The legal firmware is what the control system team and beta teams have been using/testing. Sparkyshires, please update your Talons. |
|
#14
|
|||
|
|||
|
Re: talon srx SetVoltageRampRate disabling motor controllers
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|