|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
|||
|
|||
|
Re: Centering turning
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: Last edited by Brandon_L : 13-02-2009 at 18:47. |
|
#3
|
|||||
|
|||||
|
Re: Centering turning
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.
|
|
#4
|
|||
|
|||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| turning a turntable | caffino54 | Technical Discussion | 2 | 07-02-2009 01:45 |
| Optical Encoder Centering Tool | Gary Bonner | Kit & Additional Hardware | 1 | 05-01-2009 18:19 |
| Need Help Centering Page | TeAm270RoCkS | Website Design/Showcase | 6 | 10-02-2008 18:10 |
| Turning 18... | Astronouth7303 | Chit-Chat | 16 | 22-05-2006 09:29 |
| Centering, and other tools, in Inventor? | LBK Rules | Inventor | 6 | 15-01-2004 00:31 |