|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: SRX closed-loop problems
I tried using the reverseSensor() method but it does not affect the velocity at all.
|
|
#2
|
|||||
|
|||||
|
Re: SRX closed-loop problems
Problem solved. Note to myself. seems like enableControl() needs to be called
|
|
#3
|
||||
|
||||
|
Re: SRX closed-loop problems
enableControl() shouldn't be necessary unless disableControl() is called somewhere. OR if you are calling changeMode() but not calling set() immediately after like in Section 16.12 (Talon SRX Software Reference Manual).
Just in case it helps anyone else, a simple Java example for Position Closed-Loop. https://github.com/CrossTheRoadElec/...bot/Robot.java |
|
#4
|
|||||
|
|||||
|
Re: SRX closed-loop problems
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|