Go to Post Soon, some of those teams will learn to rise about current and former powerhouses. - Akash Rastogi [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 18-01-2014, 13:00
DarthMaulCIS DarthMaulCIS is offline
Registered User
FRC #4607
 
Join Date: Jan 2014
Location: Becker, Minnesota
Posts: 24
DarthMaulCIS is an unknown quantity at this point
Forklift

So we have a forklift on our robot that my team wants to be controlled by the joystick instead of a button. I don't know how i would go about that, as far as teleop.vi programming.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2014, 13:06
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Forklift

Tell us a little bit more about the forklift mechanism. How is it driven? What does it do?
__________________
Per Audacia Ad Astra
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2014, 14:09
DarthMaulCIS DarthMaulCIS is offline
Registered User
FRC #4607
 
Join Date: Jan 2014
Location: Becker, Minnesota
Posts: 24
DarthMaulCIS is an unknown quantity at this point
Re: Forklift

"Two miniCIM motors are connected to two sprockets via #25 chain. The motors are run in tandem to move the forks." As dictated by my teammate.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2014, 14:10
DarthMaulCIS DarthMaulCIS is offline
Registered User
FRC #4607
 
Join Date: Jan 2014
Location: Becker, Minnesota
Posts: 24
DarthMaulCIS is an unknown quantity at this point
Re: Forklift

They want it to be tied to the x-axis of our joystick. I am thinking it would be easier for everyone to have two buttons lower/lift the forklift instead.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2014, 14:22
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Forklift

You can read the joystick axis like a potentiometer (-1 to 1), then map the position of the forklift with a PID loop and some encoders using the joystick axis as the setpoint.

If you don't know how to use PID or what it is, a quick search on this site will bring up many helpful links.
__________________
Per Audacia Ad Astra
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2014, 21:42
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: Forklift

Do you want the joystick to control the speed of motion of the motors? You can just get the joystick x-axis value and wire it to a motor set function. That way, if the joystick is centered the motor does not turn, and the farther away from center the joystick is moved, the faster the motor turns.
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


All times are GMT -5. The time now is 09:46.

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