Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Centering turning (http://www.chiefdelphi.com/forums/showthread.php?t=74371)

hullingerbr 13-02-2009 17:56

Centering turning
 
Hello. I was wondering if it was possible to make it so that when you let go of the joystick, the motor returns to a pre-set position. Any help?

Brandon_L 13-02-2009 18:37

Re: Centering turning
 
1 Attachment(s)
Joystick: Get axis then if whatever axis=0 set motor to your speed. If you can't get it from that I could make an example.

EDIT: I don't have a robot or a cRIO in front of me so this would be pretty vauge but this is the idea:

Alan Anderson 14-02-2009 08:53

Re: Centering turning
 
Quote:

Originally Posted by hullingerbr (Post 820181)
Hello. I was wondering if it was possible to make it so that when you let go of the joystick, the motor returns to a pre-set position. Any help?

That's too large a topic to answer quickly in a forum like this. Do a web search (or even just a Chief Delphi search) for "position PID". You'll need an absolute position sensor on whatever your motor is controlling; quadrature encoders alone won't be enough.

airnate 14-02-2009 09:45

Re: Centering turning
 
We use potentiometers attached to the steering axis to give us feedback on the current steering angle. From this we can actuate the motors to steer to a specific angle.


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

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