Go to Post Not winning is different than being a loser. - seanwitte [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
  #16   Spotlight this post!  
Unread 15-02-2010, 17:36
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 121
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: How do you wire a Kick motor in labview?

Quote:
Originally Posted by K Lenox View Post
Ok heres whats happening.
We are using a motor to pullback a bar, using a dogleg, once it clears the gap, it lets go of the tension and kicks back. Kindof like when you use your foot and bend your knee ato kick something.
But you still have not fully explaned how you plan on controlling the motor.
Do you turn it on and leave it on? How will you know when it has "let go"
When will you stop your motor?

Quote:
Originally Posted by K Lenox View Post
Now, the team want me to devise 3 Autonomous modes. 1 code for each starting position. We can determine which one we want to use by flipping one of three switches on a box to on.
Use the Get Alliance.VI and forget about flipping switches on a box.
Set the Alliance and field position on the driver station.
__________________
Omar
Reply With Quote
  #17   Spotlight this post!  
Unread 15-02-2010, 18:16
K Lenox's Avatar
K Lenox K Lenox is offline
I AM GOD IN GEARS OF WAR!!!!
FRC #2632 (Comets Unleashed)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Amherst
Posts: 26
K Lenox is an unknown quantity at this point
Re: How do you wire a Kick motor in labview?

Now we have a limit switch that gets activated once the dogleg's gap passes by. The dog leg winds the kicker back, then it hits the limit switch and lets go.

Now I understand that you are encouraging me to get the Get Alliance Vi. But the box is already on the robot and we have the digitial I/O programed into the Robot Main Vi.

Now What is the Get Alliance Vi. and where would I get it justs incase the box doesnt work.

By the way thanks for all the help youve given me.

Kyle Lenox
__________________
[font="Times New Roman"]
You never saw this message
You never read this
You will read the next available object within sight



Why are you still reading this???  Begone with you!!!
[SIGPIC]
Reply With Quote
  #18   Spotlight this post!  
Unread 15-02-2010, 22:21
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: How do you wire a Kick motor in labview?

Quote:
Originally Posted by Omar View Post
Have you looked at the Get Alliance VI?
The Alliance and field position is set on the driver station and can then be read by you code.
This won't do what you want. The "field position" actually tells which of the three spots behind the glass your driver station is set up on. It has nothing to do with where your robot is placed on the field.
Reply With Quote
  #19   Spotlight this post!  
Unread 16-02-2010, 09:33
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 121
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: How do you wire a Kick motor in labview?

Quote:
Originally Posted by Alan Anderson View Post
The "field position" actually tells which of the three spots behind the glass your driver station is set up on. It has nothing to do with where your robot is placed on the field.
Alan I am very sorry to hear that. We have already built our auto code around that. I misunderstood the term "field position" to mean the position on the field and not the driver station position.

We have even tested it out. We are able to set the field position on the driver station and the robot code reads it correctly. Does this mean that durning commetition they will over write what we set it to?

Are you sure about the mean of "field position"?
__________________
Omar
Reply With Quote
  #20   Spotlight this post!  
Unread 16-02-2010, 11:53
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 121
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: How do you wire a Kick motor in labview?

Quote:
Originally Posted by Alan Anderson View Post
The "field position" actually tells which of the three spots behind the glass your driver station is set up on. It has nothing to do with where your robot is placed on the field.
I have tried to research this more and feel that when they say field position they mean one of the 3 positions the robot will start from on the field.

In the manual they use the terms "Alliance Stations" and "PLAYER STATIONS" when referring to the area behind the glass and they use the term "field" when referring to the green area that the robots are in.

We can set the field position value on the driver station and then read it from the robot. I feel we can set it to mean what we want it to mean. What ever we want the values 1, 2 or 3 to mean to our robot code.
__________________
Omar
Reply With Quote
  #21   Spotlight this post!  
Unread 16-02-2010, 12:00
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 121
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: How do you wire a Kick motor in labview?

Quote:
Originally Posted by K Lenox View Post
Now What is the Get Alliance Vi. and where would I get it justs incase the box doesnt work.
Kyle Lenox
It is located on the DriverStaion sub palette.
__________________
Omar
Reply With Quote
  #22   Spotlight this post!  
Unread 16-02-2010, 12:20
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How do you wire a Kick motor in labview?

I'm behind Alan.
Get Alliance only specifies your Driver Station location, not your robot's actual location on the actual field.

We get assigned Driver Station positions for the benefit of the Field Management System (FMS). That's the only reason that information is available.

Robot starting position is unrelated to Driver Station position and is negotiated ahead of the match between the three alliance partners rather than the starting positions being randomly assigned by FMS.

FMS has no way to tell where you have negotiated with your two alliance partners and agreed to place your robots, and it doesn't really care.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-02-2010 at 14:27. Reason: I'm Field Tech at the SBPLI event
Reply With Quote
  #23   Spotlight this post!  
Unread 16-02-2010, 14:22
K Lenox's Avatar
K Lenox K Lenox is offline
I AM GOD IN GEARS OF WAR!!!!
FRC #2632 (Comets Unleashed)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Amherst
Posts: 26
K Lenox is an unknown quantity at this point
Re: How do you wire a Kick motor in labview?

Okay so let me get this straight.

My team wants me to make 3 Autonomous Codes. One code relating to the 3 places where your robot starts out on the field.(near, middle, far)

We currently have a white box with three switches in it. all switches are a on/off flipper type switch. Somehow in labVIEW, I should be able to take the Digital Outputs ( I/O 6, I/O 7, I/O8) and program it so when one is set to on(true) and the others are set to off(false) it should bring up its corresponding Autonomous Code and deploy it.

Now we were talking and if we can select which code to use in the driver station, that would be even better.(take off the box, save some weight)

But from reading your messages, The Get Alliance vi. wont let us do that?
I thought it would, but now it seems like that vi wont work like that......

Am I right? Am I misunderstanding? I have only been using Labview for the month of Febuary. Any clarifacation would be nice.

Thanks, any help is appriciated
Kyle Lenox
__________________
[font="Times New Roman"]
You never saw this message
You never read this
You will read the next available object within sight



Why are you still reading this???  Begone with you!!!
[SIGPIC]
Reply With Quote
  #24   Spotlight this post!  
Unread 16-02-2010, 14:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How do you wire a Kick motor in labview?

You can easily make your Autonomous choice from the driver station before the match begins and you're required to step back from the controls.

In your code you'd use the Driver Station Get Dig In.vi to test any switches you attached to the Diriver Station via the Cypress IO board.

Or without the Cypress IO board you can select your Autonomous from the I/O tab.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
How do you wire the ADXL354 Accelerometer? AustinGra Sensors 4 11-02-2010 23:33
How do you wire a rotating component? alleah2338 Electrical 7 12-02-2009 08:26
How do you wire a limit switch? JMH Electrical 1 16-02-2005 17:44
how to wire the new two motor gearbox Vince lau Electrical 10 14-02-2005 07:30
How do you wire ADXRS150EB gyro? MaxM Electrical 2 16-02-2004 13:43


All times are GMT -5. The time now is 04:48.

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