Go to Post While science and technology can solve difficult problems, it is people and interaction that make it all work. - DonRotolo [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 03-02-2011, 18:56
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Smile How to program an arm?

I have the 3 servo motors for the arm programmed in the begin vi, I have The second joystick programmed in the teleop vi, and the begin vi , now what.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2011, 19:03
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: How to program an arm?

Well you need to decide how you want to control your arm
1.buttons?
2.joystick?
3.telekinesis?
You need to give us some details so we can help you the best
__________________
Expect the best, Prepare for the worst
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2011, 19:08
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

well it will have 3 degrees of freedom so 3 motors, (telekinisis would be nice ) but one motor with the x axis, and the other 2 with 2 buttons each.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2011, 19:13
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

We already have the arcade drive with the first joystick for the driving part programmed good, we just need the arm. I even have the 2nd joystick programmed into the teleop vi, i just need to know how to program the buttons and x axis to joystick.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2011, 19:31
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: How to program an arm?

1-ok, well First you are going to want to pull out the reference for your second joystick
2-Second you need to pull down a Get.vi
3-Third you need to get two unbundle by name functions from the Cluster,Class and Varient section
4-Wire the unbundles to the button and axis output
5-you need to create open.vi's for three motors (each one set to its pwm)
6-To make the motors move on a button you are going to need a case structure for each motor with the set speed.vi in the case structure set to the speed you want to move it
6-for the axis just wire axis one into a set speed.vi

If you are needing to learn the basics i suggest you watch the videos from here http://www.frcmastery.com/
__________________
Expect the best, Prepare for the worst

Last edited by bladetech932 : 03-02-2011 at 19:33.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2011, 17:07
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

and this is all in the teleop vi?
Reply With Quote
  #7   Spotlight this post!  
Unread 04-02-2011, 17:10
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: How to program an arm?

Yes, sorry i would post a pic but snowed in without a programming computer
__________________
Expect the best, Prepare for the worst
Reply With Quote
  #8   Spotlight this post!  
Unread 04-02-2011, 17:13
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

np. by the way, how is your season going?
Reply With Quote
  #9   Spotlight this post!  
Unread 04-02-2011, 17:17
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

and on step 6 i am confused, the other 5 i already got.
Reply With Quote
  #10   Spotlight this post!  
Unread 04-02-2011, 22:13
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: How to program an arm?

to get a motor to turn at a certain speed when using a button you put a motor set speed.vi in the true case of the case structure,then wire the unbundled button to the case condition. The false case needs to be a set speed.VI set to what you want the motor to do when the button isnt pressed
__________________
Expect the best, Prepare for the worst
Reply With Quote
  #11   Spotlight this post!  
Unread 05-02-2011, 10:25
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

wait, so i have step 2 in the 7 steps thing, now what?
Reply With Quote
  #12   Spotlight this post!  
Unread 05-02-2011, 10:50
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

can you email me a diagram/picture?
Reply With Quote
  #13   Spotlight this post!  
Unread 05-02-2011, 11:02
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

is it the set speed jaguar vi.
Reply With Quote
  #14   Spotlight this post!  
Unread 05-02-2011, 11:30
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: How to program an arm?

and how do i wire the set speed?
Reply With Quote
  #15   Spotlight this post!  
Unread 05-02-2011, 11:56
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: How to program an arm?

Yes, The bundle data (pink wire) from the motor devref needs to be wired to the set speed and the speed value needs a constant in each case
__________________
Expect the best, Prepare for the worst
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 10:12.

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