Go to Post Although you will see lot's of people complain about parts (sometimes that includes me) all of us are held to the same constraints. That's what makes this so much fun. - Al Skierkiewicz [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 20-01-2014, 14:08
Jinni Jinni is offline
Registered User
FRC #1644
 
Join Date: Jan 2014
Location: LA
Posts: 3
Jinni is an unknown quantity at this point
Help with autonomous mode!

Hello
I need help in the autonomous mode. I'm new to Labview and i don't know what to do.My team is counting on me to get this part done. can anyone help me with understanding/ getting started with autonomous mode ?

Please and Thank you.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2014, 14:23
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,752
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: Help with autonomous mode!

What are the team goals for the autonomous period?

Start with an English description of the action sequence you want the robot to perform. We will likely ask many more questions, but can help to provide code snippets and code reviews.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2014, 14:38
Jinni Jinni is offline
Registered User
FRC #1644
 
Join Date: Jan 2014
Location: LA
Posts: 3
Jinni is an unknown quantity at this point
Re: Help with autonomous mode!

We want to be able to move FWD and track the hot target and shoot into the target.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2014, 14:49
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Re: Help with autonomous mode!

What you can try is a basic flat sequence autonomous. You can have the robot move forward by using a timer shown in the autonmous example in the cRIO project. When that has finished its execution, the flat sequence should then move on to the shooting part. Now you can use a camera to detect the retroreflective tape, and when the camera sees it, that gives the command to shoot. I can't exactly show how to track the tape since I have not played around with vision processing ever. Encoders and a gyro though can help give more control over the robot for autonomous.

Last edited by Kevin Phan : 20-01-2014 at 18:32. Reason: Grammatical
Reply With Quote
  #5   Spotlight this post!  
Unread 20-01-2014, 15:33
Jinni Jinni is offline
Registered User
FRC #1644
 
Join Date: Jan 2014
Location: LA
Posts: 3
Jinni is an unknown quantity at this point
Re: Help with autonomous mode!

Thank you, I tried it out. Someone else is working on the camera part so Ima talk to him about setting it up.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-01-2014, 18:59
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,752
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: Help with autonomous mode!

You may also want to consider analyzing the image for hot/not at the beginning of auto. Your team can decide whether your robot will rush and get to the hot goal before it changes ... or take your time and head for the soon-to-be-hot goal and get lined up.

As mentioned, encoders and other sensors are quite helpful when trying to know how you are moving on the field. Cameras shouldn't really be the only sensor on your robot.

Also, keep in mind that as the robot moves closer to the wall, at some point the camera will see less and less of the field. Simplistic vision code will lose the target and will not be able to tell you where it went. The simulator can give an idea of where this will happen.

Greg McKaskle
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 20:52.

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