Go to Post i do not TOUCH the robot. i don't even press the load button or the reset button. nooo touchy. but i like it better like that, this way, when something goes wrong, i can wholly blame the electronics ppl - nehalita [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 27-01-2009, 15:02
Felipe Sagui Felipe Sagui is offline
Registered User
FRC #1382 (EtepTeam)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Brazil
Posts: 25
Felipe Sagui is an unknown quantity at this point
Send a message via MSN to Felipe Sagui
Using Sensors in Autonomous Independent

I have a doubt about how use sensors in autonomous mode.

I create my own VI with the Gyro PID logic, when I put it on Basic Robot Main inside the "TeleOp Execute" case it works, but when I put this on Autonomous Independent VI it doesn't works.

Can anyone show me a solution or ideia to solve this problem?
__________________
Felipe Cezar Salgado
ETEPTEAM #1382
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2009, 16:53
Felipe Sagui Felipe Sagui is offline
Registered User
FRC #1382 (EtepTeam)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Brazil
Posts: 25
Felipe Sagui is an unknown quantity at this point
Send a message via MSN to Felipe Sagui
Re: Using Sensors in Autonomous Independent

Sorry , the other programmer from my team forgot the while loop on the autonomous independent, so it was only running 1 time.

This problem is solved.

Thanks and sorry.
__________________
Felipe Cezar Salgado
ETEPTEAM #1382
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2009, 17:25
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Using Sensors in Autonomous Independent

Quote:
Originally Posted by Felipe Sagui View Post
I have a doubt about how use sensors in autonomous mode.

I create my own VI with the Gyro PID logic, when I put it on Basic Robot Main inside the "TeleOp Execute" case it works, but when I put this on Autonomous Independent VI it doesn't works.

Can anyone show me a solution or ideia to solve this problem?
Quote:
Originally Posted by Felipe Sagui View Post
Sorry , the other programmer from my team forgot the while loop on the autonomous independent, so it was only running 1 time.

This problem is solved.

Thanks and sorry.

I sounds to me from what I am reading here that you have the Gyro code running in two separate locations. There really is no need to do this. It is redundant, eats up more program space and may not work quite like you want it to.

If you run the gyro vi in it's own while loop, outside of the tele-op loops in Basic Robot Main, it will run regardless of whether you are in tele-op or autonomous. Then all you need to do is create Globals for the angle and/or rate outputs,to be accessed from within the "Autonomous Independent" vi, and you should be good to go.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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
Using sensors Bronson Electrical 5 09-01-2008 23:17
Using Sensors thoughtful Programming 11 16-12-2003 10:28
Anyone using sensors??? Willum Robot Showcase 42 25-02-2003 18:57
pre-built autonomous sensors? BandChick Technical Discussion 4 05-01-2003 22:06
Is anybody using the sensors? Jeremy L Rules/Strategy 26 03-03-2002 22:42


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

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