FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Bugs in the Talon SRX vis when using position.

Our team has been really struggling with Using the Talon SRX for position of a robotic arm.

Specifically trying to use the absolute position function of the new CTR magnetic encoders.

We discovered a problem with the CTR example code and later the WPI_CANTalonSRX_SetSensorPositon.vi in the CAN Talon SRX pallet.

This vi is attempting to convert the "New Sensor Position" input from rotation to native units twice. So in our case it was multiplying the input data by 16,777,216 and setting this value as the current position.

The details can be found on Git Hub located at

https://github.com/CrossTheRoadElec/FRC-Examples/issues/2#issuecomment-192391103

It is unclear who is the owner of this problem as it is in the LabVIEW distribution of the WPI drivers for CTR's Talon SRX.

Can the NI people that monitor these threads make sure this issues gets sent to the correct people that can fix it.

Our team has lost a lot of time on this issue and I would like others who are doing Talon SRX position control to be aware of this issue.

Mark

0 Kudos
Message 1 of 2
(3,550 Views)

Hi Mark,

Thank you for bringing this issue forward. From a support perspective, the examples you are referencing are not owned/supported by NI. However, posting the issue here as well as at Github is helpful as other FRC teams use these examples.

Regards,

Samuel Sydney

Applications Engineer - Austin

National Instruments

0 Kudos
Message 2 of 2
(3,107 Views)