Go to Post When it comes to FIRST (you've all heard the cliche) -- we're all winners. When it comes to the competition: to the engineering design challenge, we're NOT all winners -- some solutions are better than others. - JVN [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 17-02-2014, 16:36
MechaKnight996 MechaKnight996 is offline
Registered User
FRC #0996
 
Join Date: Jan 2014
Location: Casa Grande, AZ
Posts: 16
MechaKnight996 is an unknown quantity at this point
Exclamation Help with programming please very urgent

I am trying to program in labview and im not very good at it. I need to make an arm move forward and backward with 2 window motors, which need to be ran by buttons on a joystick. I also need to launch a catapult with a cylinder which will eb ran by a button, there will also be 2 cylinders for opening and closing the arms inward and outward i will need to program. All of these actions need to run smoothly through joystick buttons. if anyone can tell me how to do this please reply.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2014, 16:46
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,082
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
What is controlling your window motors? Are there any sensors on your arm? How are your solenoids connected? How many buttons are on your joystick? What joystick buttons make the most sense for your drivers?
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2014, 16:49
MechaKnight996 MechaKnight996 is offline
Registered User
FRC #0996
 
Join Date: Jan 2014
Location: Casa Grande, AZ
Posts: 16
MechaKnight996 is an unknown quantity at this point
Re: Help with programming please very urgent

we are running the motors with jaguars, the solenoid will eb 3 solenoids ran by the crio and we are using the attack 3 joysticks
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2014, 16:57
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,082
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Let's focus on the arm. Are you comfortable with letting your drivers move it themselves by eye or do you want your code to be able to know where the arm is?

If it's the former, you'll just need to have one button send a forward command to the Jaguar and one button send a reverse command to the Jaguar.

If it's the latter, you'll need to implement some form of closed loop control. You'll need a sensor on the arm, and some additional logic in code.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #5   Spotlight this post!  
Unread 17-02-2014, 16:59
MechaKnight996 MechaKnight996 is offline
Registered User
FRC #0996
 
Join Date: Jan 2014
Location: Casa Grande, AZ
Posts: 16
MechaKnight996 is an unknown quantity at this point
Re: Help with programming please very urgent

for our surrent purposes we jsut need them both to spin forward at the same time and trhen both to spin back at the same time(forward is 1 button and back is 1 button)
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2014, 17:02
Wildcats1378 Wildcats1378 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: hawaii
Posts: 93
Wildcats1378 is an unknown quantity at this point
Re: Help with programming please very urgent

Quote:
Originally Posted by MechaKnight996 View Post
for our surrent purposes we jsut need them both to spin forward at the same time and trhen both to spin back at the same time(forward is 1 button and back is 1 button)
Oh, that is fairly simple and I can help you out! Let me whip up some sample code to show you how
Reply With Quote
  #7   Spotlight this post!  
Unread 17-02-2014, 17:03
MechaKnight996 MechaKnight996 is offline
Registered User
FRC #0996
 
Join Date: Jan 2014
Location: Casa Grande, AZ
Posts: 16
MechaKnight996 is an unknown quantity at this point
Re: Help with programming please very urgent

okay thanks
Reply With Quote
  #8   Spotlight this post!  
Unread 17-02-2014, 17:08
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 251
BitTwiddler is on a distinguished road
Re: Help with programming please very urgent

Quote:
Originally Posted by MechaKnight996 View Post
I am trying to program in labview and im not very good at it. I need to make an arm move forward and backward with 2 window motors, which need to be ran by buttons on a joystick. I also need to launch a catapult with a cylinder which will eb ran by a button, there will also be 2 cylinders for opening and closing the arms inward and outward i will need to program. All of these actions need to run smoothly through joystick buttons. if anyone can tell me how to do this please reply.
Hello MechaKnight996 programmer,
I am the programmer for your fellow Arizona competitor, team 1726, the NERDS. I am going to see if I can email you a copy of our LabView code. We use many of the same elements you wish to control so you can use it as as an example of how to do the tasks you describe. Hopefully Chief Delphi has your email address. If not let me know and I'll give you mine.
Reply With Quote
  #9   Spotlight this post!  
Unread 17-02-2014, 17:09
Wildcats1378 Wildcats1378 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: hawaii
Posts: 93
Wildcats1378 is an unknown quantity at this point
Re: Help with programming please very urgent

Okay! here you go! Just feel free to ask if you need any explanations or have any questions.

Just change the reference names and the buttons from the cluster as necessary

Head Programming Mentor
3878
Attached Thumbnails
Click image for larger version

Name:	Joystick buttons.png
Views:	55
Size:	6.3 KB
ID:	16278  
Reply With Quote
  #10   Spotlight this post!  
Unread 17-02-2014, 17:09
MechaKnight996 MechaKnight996 is offline
Registered User
FRC #0996
 
Join Date: Jan 2014
Location: Casa Grande, AZ
Posts: 16
MechaKnight996 is an unknown quantity at this point
Re: Help with programming please very urgent

my email is cguhsmechaknights996@gmail.com
Reply With Quote
  #11   Spotlight this post!  
Unread 17-02-2014, 17:51
MechaKnight996 MechaKnight996 is offline
Registered User
FRC #0996
 
Join Date: Jan 2014
Location: Casa Grande, AZ
Posts: 16
MechaKnight996 is an unknown quantity at this point
Re: Help with programming please very urgent

what about the solenoids?
Reply With Quote
  #12   Spotlight this post!  
Unread 17-02-2014, 21:29
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 251
BitTwiddler is on a distinguished road
Re: Help with programming please very urgent

Quote:
Originally Posted by MechaKnight996 View Post
I've forgotten to mention an excellent source of working LabView examples put out by team 358.

Go to:
http://team358.org/files/programming...2009-/LabVIEW/
and scroll down to the bottom. You'll probably find just what you're looking for there.

A tip and a nod to the Robotic Eagles.
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 18:29.

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