Go to Post If you want to grow the program such that every student on the planet has the chance to participate, you have to start THINKING with a world-centric mindset. - Racer26 [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 27-01-2008, 10:27
DarKCroNo's Avatar
DarKCroNo DarKCroNo is offline
Registered User
FRC #2670
 
Join Date: Dec 2007
Location: Toronto
Posts: 37
DarKCroNo is an unknown quantity at this point
Re: Motor control for steering

Quote:
Originally Posted by Don Rotolo View Post
So, let's say a left turn is a 184 reading on your potentiometer: Command the motor to spin in the correct direction until the pot reads 184. Or, take the steering input from a joystick (0 to 255), multiply by 4, and that't the Pot's target value.

It really requires PI or PID control, not hard to implement but really important.

Don
Okay I understand that part, but how do I implement PID onto easyC?, Sorry but it's our rookie year and I've been reading on PID control and all I've been getting are the theory but I don't understand how to code it with easyC
 


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
Steering for mecanum? eyekantspel Control System 9 09-01-2008 21:58
Four Wheel, all steering, non-omniwheel, ONE power/motor source drive FizMan Technical Discussion 31 27-04-2004 12:12
need glp programing steering with a steering wheel Matchew Programming 2 10-02-2003 14:20
Gyrochip for Straight Steering, any tips? archiver 2001 1 23-06-2002 23:34
Motor Control archiver 2000 1 23-06-2002 23:01


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

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