Go to Post There can never be enough recognition of a job well done. We can never say enough Thank You's. We can never measure the impact that an inspirational teacher or mentor can make on a student because it's priceless. - KathieK [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 17-01-2015, 14:29
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 229
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: RobotPy doesn't PWM?

Quote:
Originally Posted by RufflesRidge View Post
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.
Thanks! It worked!
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi