Go to Post I'd like to thank FIRST for giving me this wonderful opportunity. I've learned so much! - Leav [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 03-02-2016, 10:14
GreyingJay GreyingJay is offline
Robonut
AKA: Mr. Lam
FRC #2706 (Merge Robotics)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Ottawa, Canada
Posts: 766
GreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond repute
Re: Easiest way to program autonomous?

Quote:
Originally Posted by Heber Hooper View Post
We are running short on time and as a rookie team we need help with programming. Any help is great thanks.
Last year I was surprised at how few robots at two regionals even tried to do autonomous. You got a few points just by moving yourself into the auto zone, and this year's game is similar - if you can get yourself to reach a defense, you will earn points. Reaching a defense can be as simple as "drive forward 6 feet". This should not be beyond the grasp of any team.

The simplest way is something called dead reckoning. Your software just fires the motors blindly for a set amount of time. For example, if you fire the drive motors at, say, 50% speed for 1.5 seconds, your robot should travel X number of feet. I say "should" because you have no sensor feedback to confirm that the robot moved where you hoped it would. It's like driving blindfolded. But it's a starting point. Measure how far it actually travels and adjust the timing and power levels to hit the speed and distance that you want.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2016, 10:31
TJP123 TJP123 is offline
Registered User
AKA: Tom Pospeshil
FRC #0503 (Frog Force)
Team Role: Coach
 
Join Date: Sep 2012
Rookie Year: 2012
Location: MI
Posts: 61
TJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant futureTJP123 has a brilliant future
Re: Easiest way to program autonomous?

Quote:
Originally Posted by GreyingJay View Post
Last year I was surprised at how few robots at two regionals even tried to do autonomous. You got a few points just by moving yourself into the auto zone, and this year's game is similar - if you can get yourself to reach a defense, you will earn points. Reaching a defense can be as simple as "drive forward 6 feet". This should not be beyond the grasp of any team.
2014 might be a better example. Last year, you got 0 points just by moving unless both of your partners could do the same. With teams stealing canisters and the need to stay out of the way of 3-tote autons, it often wasn't worth it. We had a number of different auton programs that all worked, but I believe we ended CMP with exactly 0 auton points.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2016, 10:52
team-4480's Avatar
team-4480 team-4480 is online now
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 218
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: Easiest way to program autonomous?

We are planning on using a NavX, ultrasonic sensors, and some very basic vision to try and score a goal in autonomous. Will this be enough to have it consistently score a low or high goal each time? We haven't messed with encoders so we really don't have enough time now.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2016, 12:14
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,171
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: Easiest way to program autonomous?

Quote:
Originally Posted by team-4480 View Post
We are planning on using a NavX, ultrasonic sensors, and some very basic vision to try and score a goal in autonomous. Will this be enough to have it consistently score a low or high goal each time?
IMHO: "Basic Vision" - No.

Except for the low bar, crossing a defense introduces a lot of uncertainty on where you end up. You will need more than "basic vision" and NavX to figure out where you are to shoot a high goal.

NavX can get you close (+/- 0.5 meters after 7 seconds). Who knows how much NavX will be thrown off by all the bumping over the Defense. Then use Vision to find the goal and figure out what you have to do to get to a shooting position.

If you want to score the low goal, then you need to drive up to the wall (note: the ultrasonic sensor has a minimum distance of 12 inches), turn, and then drive some more. I have no idea how easy it is to find the low goal with the ultrasonic sensor (low goal may be at an angle, and has a big hole in it).

Last edited by rich2202 : 03-02-2016 at 12:16.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2016, 19:00
team-4480's Avatar
team-4480 team-4480 is online now
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 218
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: Easiest way to program autonomous?

Quote:
Originally Posted by rich2202 View Post
IMHO: "Basic Vision" - No.

Except for the low bar, crossing a defense introduces a lot of uncertainty on where you end up. You will need more than "basic vision" and NavX to figure out where you are to shoot a high goal.
Well that means we have a chance because we(as well as 90 percent of the CD community) are going under the low bar. I don't expect to hit the high goal every time, but if we get at least three or four in a regional, I would be satisfied.
Reply With Quote
  #6   Spotlight this post!  
Unread 03-02-2016, 19:38
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,171
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: Easiest way to program autonomous?

Quote:
Originally Posted by team-4480 View Post
Well that means we have a chance because we(as well as 90 percent of the CD community) are going under the low bar. I don't expect to hit the high goal every time, but if we get at least three or four in a regional, I would be satisfied.
What happens if you have an alliance where all the robots can only do low bar for autonomous?
Reply With Quote
  #7   Spotlight this post!  
Unread 03-02-2016, 20:56
Brian Michell's Avatar
Brian Michell Brian Michell is offline
Timelord and programmer
FRC #5416 (TaRDIS)
Team Role: Programmer
 
Join Date: Aug 2015
Rookie Year: 2015
Location: Houston
Posts: 24
Brian Michell is an unknown quantity at this point
Re: Easiest way to program autonomous?

I agree with GreyingJay about just "blind firing" your motors. Simply follow the template provided in the autonomous independent.vi that is generated by default. There are still about 19 days left until bag 'n tag, plenty of time to write a quality autonomous program. Even after bag 'n tag if you have a second chassis built that runs similarly to your robot in the bag you can program it. Just add weight to that second chassis until it is about equal to your competition robot.

If you need anything feel free to PM me, I would be glad to help.
Reply With Quote
  #8   Spotlight this post!  
Unread 04-02-2016, 09:33
team-4480's Avatar
team-4480 team-4480 is online now
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 218
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: Easiest way to program autonomous?

Quote:
Originally Posted by rich2202 View Post
What happens if you have an alliance where all the robots can only do low bar for autonomous?
If that is the case, I would see who has the best shooter autonomous and let them go through the low bar. Our robot would then try to just get over a different defense without trying to shoot.
Reply With Quote
  #9   Spotlight this post!  
Unread 04-02-2016, 11:40
GreyingJay GreyingJay is offline
Robonut
AKA: Mr. Lam
FRC #2706 (Merge Robotics)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Ottawa, Canada
Posts: 766
GreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond repute
Re: Easiest way to program autonomous?

Quote:
Originally Posted by team-4480 View Post
If that is the case, I would see who has the best shooter autonomous and let them go through the low bar. Our robot would then try to just get over a different defense without trying to shoot.
Yup, let the most reliable guy go for the tower shot, and everyone else can try a reach or a cross on another defense.

You could also start one of them as the spy bot, for potentially a second shot at the tower.
Reply With Quote
  #10   Spotlight this post!  
Unread 03-02-2016, 10:50
Doug Frisk's Avatar
Doug Frisk Doug Frisk is offline
Keeping Score
AKA: Doug Frisk
no team
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Behind the FMS
Posts: 349
Doug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond repute
Re: Easiest way to program autonomous?

Quote:
Originally Posted by GreyingJay View Post
Last year I was surprised at how few robots at two regionals even tried to do autonomous. You got a few points just by moving yourself into the auto zone, and this year's game is similar - if you can get yourself to reach a defense, you will earn points. Reaching a defense can be as simple as "drive forward 6 feet". This should not be beyond the grasp of any team.

The simplest way is something called dead reckoning. Your software just fires the motors blindly for a set amount of time. For example, if you fire the drive motors at, say, 50% speed for 1.5 seconds, your robot should travel X number of feet. I say "should" because you have no sensor feedback to confirm that the robot moved where you hoped it would. It's like driving blindfolded. But it's a starting point. Measure how far it actually travels and adjust the timing and power levels to hit the speed and distance that you want.
Yep, this is going to be a good bet for a lot of teams. Drive forward into the defense and if you make it over you get points and if you only hit it or straddle it you still get points. Sit there like a potato and you get nothing. Don't be a potato.

It's ded (short for deduced) reckoning by the way.
Reply With Quote
  #11   Spotlight this post!  
Unread 03-02-2016, 10:57
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,048
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: Easiest way to program autonomous?

Quote:
Originally Posted by GreyingJay View Post
Last year I was surprised at how few robots at two regionals even tried to do autonomous.
Autonomous points were negligible last year unless you could do everything yourself. Also the auto zone was very small so getting completely in the zone reliably was difficult for many teams.

This year we will see more attempts at auto because it is worth more and teams will be able to score points independently of partners.

Last edited by Caleb Sykes : 03-02-2016 at 11:11.
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 10:45.

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