View Single Post
  #4   Spotlight this post!  
Unread 17-01-2015, 13:09
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 990
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: RobotPy doesn't PWM?

Quote:
Originally Posted by team-4480 View Post
So I exchanged the old arcadedrive for "self.robot_drive.arcadeDrive(self.stick.getX(),se lf.stick.getY())" but it still doesn't slow down.
Closer, but that's still missing the "scale them" part. Try arcadeDrive(.125*self.stickgetX(),.125*self.stick. getY()). That should scale the joystick values down by a factor of 8 (what it looks like you were trying to do) before passing them to the arcadeDrive method.