View Single Post
  #4   Spotlight this post!  
Unread 03-02-2014, 10:50
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Can I implement Scaling factor in PWM?

Quote:
Originally Posted by xXhunter47Xx View Post
Oh no we're having this problem with both joysticks but I wanted to rule out twisting the joystick while strafing as a factor. We removed both y and rotational axis to see if it would happen and it did.
That rules out an errant "rotate" command signal as the root cause.


Quote:
We are using 6 inch andyMark wheels (big metal ones).
Check all the rollers on each wheel. Do they all spin freely? Or are some "dragging" somewhat? Do all the rollers have the same amount of axial free play, or is there a lot of variation?

Also, how difficult would it be to swap the hot motor with one on the other side, and see if the problem follows the motor or stays on the same side?


Quote:
We are implementing a gyro and shaft encoders to solve the problem. I just don't know where to plug the gyro in from teleop.vi
The only place I know of to "just plug in" the gyro in LabVIEW is in the VI for 3 DoF (mec or omni) drive. But this gives you field-centric joystick control - it does not prevent rotation.

If you want to use the gyro to help minimize rotation while strafing, that can be done. I could post some C pseudo-code if that would be helpful - or maybe a LabVIEW guru could post a LabVIEW picture.



Last edited by Ether : 03-02-2014 at 10:54.
Reply With Quote