Go to Post You can never have enough figurative language. - Travis Hoffman [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 10-03-2010, 16:31
mattom1992 mattom1992 is offline
Registered User
FRC #2072
 
Join Date: Feb 2010
Location: Houston
Posts: 11
mattom1992 is an unknown quantity at this point
can someone help me kick a ball?

Hello fellow robots Im kind of a rookie when it come to programing in labview and would like some examples of Autonomous code and a kicker program for teleop mode or even a nudge in a good direction
Reply With Quote
  #2   Spotlight this post!  
Unread 10-03-2010, 16:39
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: can someone help me kick a ball?

There are many here that would be glad to help you program your robot's kicker but we are going to need more information to be of assistance.

How does your kicker work? Think specifically about the exact process and what you need to control (motors, pneumatics etc.) in what direction and order/timing to complete the kick.

An example for my team's kicker is:

1. Drive CIM motor in reverse to draw back kicker
2. Set Solenoid on Port 1 to fire kicker
3. Wait until "Latched" signal on GPIO 8 goes high
4. Un-Set solenoid on Port 1
5. Drive CIM forward until "Latched" signal on GPIO 8 goes low
6. Drive CIM reverse until kicker reaches "home position"

Steps 1 and 6 are controlled using a magnetic encoder
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #3   Spotlight this post!  
Unread 10-03-2010, 17:05
mattom1992 mattom1992 is offline
Registered User
FRC #2072
 
Join Date: Feb 2010
Location: Houston
Posts: 11
mattom1992 is an unknown quantity at this point
Re: can someone help me kick a ball?

below is a picture of our kicker's code in TeleOp. we are using buttons 1 and 2 to kick and retract the kicker. button 1 will kick the ball, and button 2 will retract the kicker. the buttons are responding as expected, but the kicker is not moving its full motion in either direction.
Attached Thumbnails
Click image for larger version

Name:	HAHAHAHAHA.JPG
Views:	47
Size:	39.1 KB
ID:	8875  
Reply With Quote
  #4   Spotlight this post!  
Unread 10-03-2010, 17:09
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: can someone help me kick a ball?

Is there anything in the false case of those case statements?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #5   Spotlight this post!  
Unread 10-03-2010, 17:12
mattom1992 mattom1992 is offline
Registered User
FRC #2072
 
Join Date: Feb 2010
Location: Houston
Posts: 11
mattom1992 is an unknown quantity at this point
Re: can someone help me kick a ball?

no, each statement has code for only the true case for each button when pressed.
Reply With Quote
  #6   Spotlight this post!  
Unread 10-03-2010, 17:18
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: can someone help me kick a ball?

That code should fully extend or retract the cylinder if only the appropriate button is pressed. If the same thing happens if you tap the button versus holding the button that will verify that the code is correct.

Are you sure the issue is in code and not mechanical?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #7   Spotlight this post!  
Unread 10-03-2010, 17:22
mattom1992 mattom1992 is offline
Registered User
FRC #2072
 
Join Date: Feb 2010
Location: Houston
Posts: 11
mattom1992 is an unknown quantity at this point
Re: can someone help me kick a ball?

we thought it might be the same thing but we're still beginners so we weren't sure if it was a programing error or a mechanical; what do you think is most likely our problem?
Reply With Quote
  #8   Spotlight this post!  
Unread 10-03-2010, 17:26
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: can someone help me kick a ball?

Quote:
Originally Posted by mattom1992 View Post
we thought it might be the same thing but we're still beginners so we weren't sure if it was a programing error or a mechanical; what do you think is most likely our problem?
Without seeing your mechanical setup it is difficult to be sure, but I would lean towards a mechanical issue. Depending on your full pneumatics setup and what the cylinder is pushing against you may either be running out of air causing your working pressure to dip below 60PSI or you may not have enough force to do what you are trying to do even with 60PSI air.

You can verify that the code isn't the problem by unplugging the solenoid from the cRIO and using the manual override to switch it.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #9   Spotlight this post!  
Unread 10-03-2010, 17:34
mattom1992 mattom1992 is offline
Registered User
FRC #2072
 
Join Date: Feb 2010
Location: Houston
Posts: 11
mattom1992 is an unknown quantity at this point
Re: can someone help me kick a ball?

well thats how we orignaly did it because pneumatics was ready before the program was. i thought it may be the amount of time the signal takes to go threw was to fast but im not sure how to mess with that theory.
Reply With Quote
  #10   Spotlight this post!  
Unread 10-03-2010, 17:36
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: can someone help me kick a ball?

Quote:
Originally Posted by mattom1992 View Post
well thats how we orignaly did it because pneumatics was ready before the program was.
So the kicker did go through the full motion with the manual override but doesn't with the software control?

So when you push for example the extend button and that's it the kicker extends partially then stops?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #11   Spotlight this post!  
Unread 10-03-2010, 17:38
mattom1992 mattom1992 is offline
Registered User
FRC #2072
 
Join Date: Feb 2010
Location: Houston
Posts: 11
mattom1992 is an unknown quantity at this point
Re: can someone help me kick a ball?

yes its a very small motoin and isn't even noticabe if you arent paying attention
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
Maybe someone can help me with my...TV? Kage Chit-Chat 3 15-02-2010 10:53
DiscoBots Kick Ball Test lynca Robot Showcase 1 21-01-2010 00:24
can someone help me with the goals? archiver 2001 2 23-06-2002 23:15
Can someone clear up please? archiver 2000 1 23-06-2002 22:23


All times are GMT -5. The time now is 22:01.

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