Go to Post Please no reboots. I'm so sick of reboots. Hollywood has ruined them for me. I don't even reboot my computer anymore. - Michael Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2009, 17:56
hullingerbr hullingerbr is offline
Registered User
FRC #1724 (Weber Fever)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: North Ogden Utah
Posts: 5
hullingerbr is an unknown quantity at this point
Question 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?
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2009, 18:37
Brandon_L Brandon_L is offline
The color orange triggers me
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,195
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
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:
Attached Thumbnails
Click image for larger version

Name:	untitled.JPG
Views:	36
Size:	11.1 KB
ID:	7428  
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors

Last edited by Brandon_L : 13-02-2009 at 18:47.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2009, 08:53
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Centering turning

Quote:
Originally Posted by hullingerbr View Post
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2009, 09:45
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
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.
Reply With Quote
Reply


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
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


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

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