Go to Post Uh .. The CMU cam still needs some tuning. It was more attracted to the trees and the green panels on the fence than the actual vision tetra. - Mike Hendricks [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2014, 18:29
ATEC Robotics ATEC Robotics is offline
Registered User
FRC #4694
 
Join Date: Jan 2014
Location: Amarillo, Texas
Posts: 7
ATEC Robotics is an unknown quantity at this point
Where does autonomous go in Labview

Hello, we are a second year team with a fresh programming squad that is still learning the ropes. We cannot seem to find exactly where to place the autonomous program. We looked at last years program that had an autonomous program but cannot seem to find where it was placed. Any help would be delightful, thank you.
  #2   Spotlight this post!  
Unread 12-02-2014, 18:33
Alpha Beta's Avatar
Alpha Beta Alpha Beta is offline
Strategy, Scouting, and LabVIEW
AKA: Mr. Aaron Bailey
FRC #1986 (Team Titanium)
Team Role: Coach
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Lee's Summit, Missouri
Posts: 763
Alpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond repute
Re: Where does autonomous go in Labview

Autonomous independent.vi

Edit: On the block diagram of "Robot Main" you will see a red/blue icon marked "Auto Indep".
__________________
Regional Wins: 2016(KC), 2015(St. Louis, Queen City), 2014(Central Illinois, KC), 2013(Hub City, KC, Oklahoma City), 2012(KC, St. Louis), 2011(Colorado), 2010(North Star)
Regional Chairman's Award: 2014(Central Illinois), 2009(10,000 Lakes)
Engineering Inspiration: 2016(Smoky Mountain), 2012(Kansas City), 2011(Denver)
Dean's List Finalist 2016(Jacob S), 2014(Cameron L), 2013(Jay U), 2012(Laura S), 2011(Dominic A), 2010(Collin R)
Woodie Flowers Finalist 2013 (Aaron Bailey)
Championships: Sub-Division Champion (2016), Finalist (2013, 2010), Semifinalist (2014), Quaterfinalist (2015, 2012, 2011)
Other Official Awards: Gracious Professionalism (2013) Entrepreneurship (2013), Quality (2015, 2015, 2013), Engineering Excellence (Champs 2013, 2012), Website (2011), Industrial Design (Archimedes/Tesla 2016, 2016, 2015, Newton 2014, 2013, 2011), Innovation in Control (2014, Champs 2010, 2010, 2008, 2008), Imagery (2009), Regional Finalist (2016, 2015, 2008)

Last edited by Alpha Beta : 12-02-2014 at 18:36.
  #3   Spotlight this post!  
Unread 12-02-2014, 18:37
ATEC Robotics ATEC Robotics is offline
Registered User
FRC #4694
 
Join Date: Jan 2014
Location: Amarillo, Texas
Posts: 7
ATEC Robotics is an unknown quantity at this point
Re: Where does autonomous go in Labview

We tried this, but had no success.
  #4   Spotlight this post!  
Unread 12-02-2014, 18:44
Alpha Beta's Avatar
Alpha Beta Alpha Beta is offline
Strategy, Scouting, and LabVIEW
AKA: Mr. Aaron Bailey
FRC #1986 (Team Titanium)
Team Role: Coach
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Lee's Summit, Missouri
Posts: 763
Alpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond repute
Re: Where does autonomous go in Labview

What does the code look like that you put in autonomous?

We recently posted some of our training material on our web-site that describes how we go about it. You're welcome to look through it.
__________________
Regional Wins: 2016(KC), 2015(St. Louis, Queen City), 2014(Central Illinois, KC), 2013(Hub City, KC, Oklahoma City), 2012(KC, St. Louis), 2011(Colorado), 2010(North Star)
Regional Chairman's Award: 2014(Central Illinois), 2009(10,000 Lakes)
Engineering Inspiration: 2016(Smoky Mountain), 2012(Kansas City), 2011(Denver)
Dean's List Finalist 2016(Jacob S), 2014(Cameron L), 2013(Jay U), 2012(Laura S), 2011(Dominic A), 2010(Collin R)
Woodie Flowers Finalist 2013 (Aaron Bailey)
Championships: Sub-Division Champion (2016), Finalist (2013, 2010), Semifinalist (2014), Quaterfinalist (2015, 2012, 2011)
Other Official Awards: Gracious Professionalism (2013) Entrepreneurship (2013), Quality (2015, 2015, 2013), Engineering Excellence (Champs 2013, 2012), Website (2011), Industrial Design (Archimedes/Tesla 2016, 2016, 2015, Newton 2014, 2013, 2011), Innovation in Control (2014, Champs 2010, 2010, 2008, 2008), Imagery (2009), Regional Finalist (2016, 2015, 2008)
  #5   Spotlight this post!  
Unread 12-02-2014, 19:48
ATEC Robotics ATEC Robotics is offline
Registered User
FRC #4694
 
Join Date: Jan 2014
Location: Amarillo, Texas
Posts: 7
ATEC Robotics is an unknown quantity at this point
Re: Where does autonomous go in Labview

This is what our program looks like that we put in the autonomous independent.vi.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	92
Size:	35.7 KB
ID:	16212  
  #6   Spotlight this post!  
Unread 12-02-2014, 23:27
Alpha Beta's Avatar
Alpha Beta Alpha Beta is offline
Strategy, Scouting, and LabVIEW
AKA: Mr. Aaron Bailey
FRC #1986 (Team Titanium)
Team Role: Coach
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Lee's Summit, Missouri
Posts: 763
Alpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond repute
Re: Where does autonomous go in Labview

Thank you for providing the code sample. There are several things that jump out at me.

1. I'm not sure how the 1 second wait and the time delay impact each other. I suggest getting rid of all the time delays and just run the wait.

2. To drive forward in tank drive both the Left Axis and Right Axis should be wired.

3. The safety configs are unnecessary. If implemented they need to receive updated information every 100 ms. The 1000 ms wait would make them time out if they were enabled.

4. The red dots indicate a mismatch between the data type of the terminal and constant applied to it. To automatically get the right data type right click on an unwired terminal and select create/constant from the menu.

5. I think the booleans should work for setting the solenoids but if you follow the advice in #4 above you would be selecting off/on from the menu for a single acting solenoid or forward/reverse for a double acting solenoid.

Attached is a simplified version of the code to try.
Attached Thumbnails
Click image for larger version

Name:	Simple Auto.PNG
Views:	62
Size:	12.0 KB
ID:	16216  
__________________
Regional Wins: 2016(KC), 2015(St. Louis, Queen City), 2014(Central Illinois, KC), 2013(Hub City, KC, Oklahoma City), 2012(KC, St. Louis), 2011(Colorado), 2010(North Star)
Regional Chairman's Award: 2014(Central Illinois), 2009(10,000 Lakes)
Engineering Inspiration: 2016(Smoky Mountain), 2012(Kansas City), 2011(Denver)
Dean's List Finalist 2016(Jacob S), 2014(Cameron L), 2013(Jay U), 2012(Laura S), 2011(Dominic A), 2010(Collin R)
Woodie Flowers Finalist 2013 (Aaron Bailey)
Championships: Sub-Division Champion (2016), Finalist (2013, 2010), Semifinalist (2014), Quaterfinalist (2015, 2012, 2011)
Other Official Awards: Gracious Professionalism (2013) Entrepreneurship (2013), Quality (2015, 2015, 2013), Engineering Excellence (Champs 2013, 2012), Website (2011), Industrial Design (Archimedes/Tesla 2016, 2016, 2015, Newton 2014, 2013, 2011), Innovation in Control (2014, Champs 2010, 2010, 2008, 2008), Imagery (2009), Regional Finalist (2016, 2015, 2008)
  #7   Spotlight this post!  
Unread 13-02-2014, 07:18
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Where does autonomous go in Labview

Your initial question sounded like you may be putting your code into a fresh VI or unsure where to put code that should run in autonomous. In case your issue wasn't addressed, please provide more background on what your autonomous independent VI looks like and any changes made to Robot Main. The framework automatically starts and stops the auto VI and automatically pulses the teleop VI. In most situations those two VIs are the ones you edit. If you make changes to Robot Main, you can break the scheduling and transitions.

Greg McKaskle
  #8   Spotlight this post!  
Unread 13-02-2014, 09:43
jdaming jdaming is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2007
Location: New Orleans, LA
Posts: 43
jdaming is on a distinguished road
Re: Where does autonomous go in Labview

Also remember that you need to choose autonomous on the driver station or run a practice match.
  #9   Spotlight this post!  
Unread 18-02-2014, 15:34
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Where does autonomous go in Labview

Anything in the same frame of a filmstrip can run in any order. Basically right now you can have the "wait" occur prior to setting the motors & solenoids, then the motors & solenoids will be set, then set again.

Recomendation: Create a new frame between the existing two, then move your 1 second wait into the new frame.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Closed Thread


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 02:42.

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