Go to Post If this was really about changing the culture, FIRST would be on Will.I.Am's website. - Meredith Novak [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2017, 14:30
MAXOFLIFE's Avatar
MAXOFLIFE MAXOFLIFE is offline
Bolton Bear Bots Member
AKA: Maxwell Huffman
FRC #3666 (Bolton Bear Bots)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2013
Location: Alexandria Louisiana
Posts: 28
MAXOFLIFE is an unknown quantity at this point
In your opinion, what's the best beginners tool to help teams with autonomous?

Currently, our team has little to no experience with a smart autonomous system and would like to improve our situation. We have the FRC Gyro & Accel Board, a USB camera, a raspberry pi, an ultrasonic sensor, and two of the encoder kits from FIRSTchoice. Our experience consists of basic LabVIEW knowledge and a possible outlet for help with C++, but no experience using any of the above options.

While we would obviously love to incorporate a little bit of everything into our design, we want to choose one and do it well. Our goal for autonomous is to be able to place a gear on any of the three airship locations.

Out of what I listed (or anything else you believe to be helpful that's under $100), what do you think is the most effective tool to help make a working autonomous when considering we have 3 weeks to create a system from scratch?

Thanks for the help!
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2017, 14:42
Nessie Nessie is offline
Registered User
FRC #2702 (Rebels)
Team Role: College Student
 
Join Date: Jan 2017
Rookie Year: 2012
Location: Waterloo
Posts: 16
Nessie is an unknown quantity at this point
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

I would suggest starting off by using just the encoders to get you there. Some trial and error but I think that is the easiest for a new team. If you find you still have time, try incorporating vision. If you can set up a vision routing that will find the spring and place the gear you can use it for both auto and teleop.

First things first is you need to be able track your distance to get you there.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2017, 14:49
mastachyra's Avatar
mastachyra mastachyra is offline
Registered User
FRC #2781 (RoboPride)
Team Role: Mentor
 
Join Date: Nov 2014
Rookie Year: 2013
Location: Illinois
Posts: 251
mastachyra is just really nicemastachyra is just really nicemastachyra is just really nicemastachyra is just really nice
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

Quote:
Originally Posted by Nessie View Post
I would suggest starting off by using just the encoders to get you there. Some trial and error but I think that is the easiest for a new team. If you find you still have time, try incorporating vision. If you can set up a vision routing that will find the spring and place the gear you can use it for both auto and teleop.

First things first is you need to be able track your distance to get you there.
Agreed! A bot with just encoders could probably get it done with some moderate figuring and code. I think the Gyro is very handy and simple to set up and use.

You are on the right track. (I hope you didn't go with mecanums...)
__________________
2014: EtaBot - MWR/30th place/no PO
2015: ThetaBot - MWR/30th place/no PO, R2OC/Winners, IndyRAGE 5th Alliance, WMRI QF
2016: IotaBot - MWR/16th place/QF, R2OC/7th Alliance Captain/QF, Boiler Bot Battle/6th place/Finalist
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2017, 14:53
Dan Waxman Dan Waxman is offline
Registered User
FRC #0263 (Aftershock)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2016
Location: Long Island
Posts: 35
Dan Waxman is an unknown quantity at this point
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

Small steps I think are essential in building a very effective autonomous. Saying "we want to attack gear position 3" sounds like a very monumental task, but "driving forward 3 feet and stop" and "turning 90 degrees" and "drive forward another 3 feet" don't sound nearly as bad (those distances are entirely made up, but get the point across). This bottom-up approach is really useful for some simpler autonomous routines as you can really focus on some simpler mechanics in great detail and not worry about the bigger picture.

As far as implementation, PID controller and vision are very likely your friends.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2017, 16:32
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,290
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

You will also need some switches to tell the robot which Autonomous Code to execute (which peg).

The cheapest is to use Smart Dashbord. However, I am not a fan of Smart Dashboard.

Next is to wire 3 switches to the DIO port of the RoboRio. The problem there is if the team forgets to set the switches (or sets them wrong) and you can't go back onto the field to fix it.

Our team uses a bank of switches via a joystick emulator. That plugs into the Driver Station. It will also work with the First provided Driver Station if yours isn't working for whatever reason.
https://smile.amazon.com/dp/B00UUROWWK
__________________

Reply With Quote
  #6   Spotlight this post!  
Unread 27-01-2017, 16:53
MAXOFLIFE's Avatar
MAXOFLIFE MAXOFLIFE is offline
Bolton Bear Bots Member
AKA: Maxwell Huffman
FRC #3666 (Bolton Bear Bots)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2013
Location: Alexandria Louisiana
Posts: 28
MAXOFLIFE is an unknown quantity at this point
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

Quote:
Originally Posted by rich2202 View Post
You will also need some switches to tell the robot which Autonomous Code to execute (which peg).

The cheapest is to use Smart Dashbord. However, I am not a fan of Smart Dashboard.

Next is to wire 3 switches to the DIO port of the RoboRio. The problem there is if the team forgets to set the switches (or sets them wrong) and you can't go back onto the field to fix it.

Our team uses a bank of switches via a joystick emulator. That plugs into the Driver Station. It will also work with the First provided Driver Station if yours isn't working for whatever reason.
https://smile.amazon.com/dp/B00UUROWWK
Well, we actually have autonomous selection on our dashboard. We used it last year for when we were or were not going under the low bar.
Reply With Quote
  #7   Spotlight this post!  
Unread 27-01-2017, 17:37
Nessie Nessie is offline
Registered User
FRC #2702 (Rebels)
Team Role: College Student
 
Join Date: Jan 2017
Rookie Year: 2012
Location: Waterloo
Posts: 16
Nessie is an unknown quantity at this point
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

Quote:
Originally Posted by MAXOFLIFE View Post
Well, we actually have autonomous selection on our dashboard.
The dashboard is a great tool! Use it to the fullest of your ability. We try and throw any variables we might want to tweak up there. The worst thing is having to recompile code and deploy it to the robot at competition. Using the dashboard helps avoid this.

*there is a typo in my previous reply but I cannot edit it for some reason.
Should be "routine" and not "routing".
Reply With Quote
  #8   Spotlight this post!  
Unread 27-01-2017, 23:26
codetheweb's Avatar
codetheweb codetheweb is offline
Registered User
FRC #3299 (The Warehouse Crew)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2014
Location: Chaska, MN
Posts: 10
codetheweb is an unknown quantity at this point
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

Just an FYI: I learned this year that there's actually a built-in method in the Driver Station class to retrieve the current alliance and the position on the alliance.

Last edited by codetheweb : 28-01-2017 at 13:45.
Reply With Quote
  #9   Spotlight this post!  
Unread 28-01-2017, 15:12
gbear605's Avatar
gbear605 gbear605 is offline
Scarebear
FRC #1768 (Nashoba Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: United States
Posts: 37
gbear605 is an unknown quantity at this point
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

Quote:
Originally Posted by codetheweb View Post
Just an FYI: I learned this year that there's actually a built-in method in the Driver Station class to retrieve the current alliance and the position on the alliance.
I can't speak for this year, but I've noticed in the past at competitions that this is sometime inaccurate.
Reply With Quote
  #10   Spotlight this post!  
Unread 28-01-2017, 15:28
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 148
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
Re: In your opinion, what's the best beginners tool to help teams with autonomous?

Back to actually doing the autonomous, the most important problem to solve is movement, and as the others have mentioned, the encoders and gyro are the tools you should focus on figuring out how to use.

As for "beginners tools" I imagine you mean something along the command based system where you can write code inside a framework provided for you by wpilib and queue such "commands" up. I don't know of any such tool for labview but I'm sure it exists somewhere.

Even if and when you find one however, I have to say that in my experience the several such systems I have tried have always been less than useful, not because of some shortcoming on the side of the developers, but because by their nature they put another "black box" between your code and the robot.

I would highly recommend writing your own code when creating the "scheduling" of the autonomous components. (drive straight 3 meters, then turn right, etc...) This is both more reliable in my opinion because the student in charge knows exactly what is going on, and it is a valuable learning experience.

You will be a bit more limited in terms of flexibility and convenience compared to using such a tool, however I believe that the pros of working from scratch outweigh the pros of working with a tool like the Command Based system (not necessarily that system itself itself.)


In fact, even once y'all aren't beginners anymore, I would still recommend writing your own stuff from scratch, except I recommend writing your own tools that make autonomous programs convenient to write, again both due to the learning experience and benefit of comprehending more of the robot's code.

Best of luck.
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 12:58.

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