Go to Post Seems decretive bumpers are the new rage now. I couldn't stand making them once, never mind twice. - Gregor [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 21-01-2009, 15:14
Asmos's Avatar
Asmos Asmos is offline
Registered User
FRC #2576
 
Join Date: Jan 2009
Location: chile
Posts: 5
Asmos is an unknown quantity at this point
Question Problem with the joystick

Hello
I want to know if can you control two independets motor with only one joystick, programming with labview

can you please help me
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2009, 15:32
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Problem with the joystick

Quote:
Originally Posted by Asmos View Post
I want to know if can you control two independets motor with only one joystick
I'm pretty sure you can! How exactly do you want to control them? Maybe a few more specifics would help us.

- Austin

EDIT - And welcome to ChiefDelphi!
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2009, 15:43
Asmos's Avatar
Asmos Asmos is offline
Registered User
FRC #2576
 
Join Date: Jan 2009
Location: chile
Posts: 5
Asmos is an unknown quantity at this point
Re: Problem with the joystick

I was thinking that it can work, but does anybody know how to program it in labview?
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2009, 15:44
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: Problem with the joystick

As Austin said, yes you can.

To drive "Arcade style" (one joystick- X axis controls turning, y controls forward/backward) , simply wire the two axises up to the arcade drive subVI. To get to the axises, simply right click the joystick get subVI's axis output (NOT the button output), and click unbundle by name.

You can also control two non-driving motors in pretty much the same way. First you open the motor, then use the motor set speed subVI. If you want each axis to control a different motor, wire one up to the X, and one to the Y. If you want one axis to control two motors, wire both motors to the single axis.
__________________
Team 2052- Knightkrawler
Mentor and volunteer
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2009, 22:21
Asmos's Avatar
Asmos Asmos is offline
Registered User
FRC #2576
 
Join Date: Jan 2009
Location: chile
Posts: 5
Asmos is an unknown quantity at this point
Re: Problem with the joystick

thank you man, you safe my life
Reply With Quote
  #6   Spotlight this post!  
Unread 23-01-2009, 09:40
Robert Cawthon's Avatar
Robert Cawthon Robert Cawthon is offline
Registered User
no team
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, KS
Posts: 275
Robert Cawthon is a splendid one to beholdRobert Cawthon is a splendid one to beholdRobert Cawthon is a splendid one to beholdRobert Cawthon is a splendid one to beholdRobert Cawthon is a splendid one to beholdRobert Cawthon is a splendid one to beholdRobert Cawthon is a splendid one to behold
Re: Problem with the joystick

Don't forget that you can also use the buttons to controll the motors if you have a fixed speed in mind. Also, with a little ingenuity, you can use different buttons to send different speeds to the same motor.
__________________
Formerly a mentor with Team Stealth, 1802. Thanks, kids. It was fun!
2008 Greater Kansas City Regional Winner (Thanks 476 and 1806)
2010 Greater Kansas City Regional Gracious Professionalism Award
2012 Greater Kansas City Regional Imagery Award
"It doesn't hurt to be smart as long as you don't out-think yourself." -- Steve Fujita Former KC Chiefs player.
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
can't get joystick right with the motor coolguybigt Motors 1 16-02-2007 10:20
Problem with the program downloaded to the controller itsme Programming 9 14-01-2007 12:12
problem with joystick buttons (top left one) Richomundo Programming 5 15-02-2004 17:16
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58


All times are GMT -5. The time now is 11: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