View Single Post
  #2   Spotlight this post!  
Unread 02-19-2016, 08:11 PM
Ty Tremblay's Avatar
Ty Tremblay Ty Tremblay is offline
Robotics Engineer
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Alton NH
Posts: 815
Ty Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond repute
Re: SRX Position Woes

The SRX runs in absolute positions.

Aka, if you want to move your arm 400 ticks from where it is, you have to move it to the value that is 400 ticks from where it is.

Quote:
We are attempting to read the current position of the gear, determine the difference between the current and commanded positions and use the difference with a SET() command to move to the desired position.
This leads me to believe you're attempting a relative move. If your arm is at 400, and you want to move to 800, you should use Set(800) if your SRX is in position mode.
__________________
Reply With Quote