Go to Post Health. Family. School. FIRST. Any other order is a mistake. - pfreivald [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
  #1   Spotlight this post!  
Unread 15-04-2008, 10:52
qpang qpang is offline
Registered User
no team
 
Join Date: Mar 2008
Location: mississippi
Posts: 19
qpang is an unknown quantity at this point
Drive wheel motors using OItoPWM() --- how to debug?

I'm using OI_to_PWM() function to drive wheel motors during the Operator part of the game, and set_PWM() during the Autonomous part, setting to full speed.
It is observed that during the operator mode, it is running slower than the Auto mode, even the driver pushed the joystick to the limit.
I assume when the joystick is pushed to the limit, the output to PWM port should be 255(or 0) using OI_to_PWM() function. Is that true?
Is there a way to read the output to the PWM while running the OI_to_PWM() function using EasyCPro? I mean without any hardware equipment?
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get robot to drive straigth using shaft encoders eccmaster Programming 5 02-02-2008 23:50
Four Wheel Drive Using Standard Transmissions daviamp Technical Discussion 4 18-01-2006 20:03
Using 6 motors in a drive system? FIRST JerseyKid Motors 7 12-01-2005 23:49
How many motors are you using to drive? Joseph F Motors 18 16-10-2002 21:24


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

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