Go to Post If robotics is bad for you, well then I guess I'm gonna die. At least I'll die happy. - karinka13 [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:06
Heber Hooper's Avatar
Heber Hooper Heber Hooper is offline
Rocktaπ Inkling
AKA: Heber Hooper
FRC #6051 (Rocktaπ)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Converse
Posts: 25
Heber Hooper is an unknown quantity at this point
Exclamation Easiest way to program autonomous?

We are running short on time and as a rookie team we need help with programming. Any help is great thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2016, 10:09
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 392
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
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.
Which template are you using? SampleRobot, IterativeRobot, or Command-Based? If you are using Command-Based it is pretty easy, compared to the other formats.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #3   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: 781
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
  #4   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: 65
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
  #5   Spotlight this post!  
Unread 03-02-2016, 10:50
Doug Frisk's Avatar
Doug Frisk Doug Frisk is online now
Keeping Score
AKA: Doug Frisk
no team
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Behind the FMS
Posts: 352
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
  #6   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: 228
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
  #7   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,057
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
  #8   Spotlight this post!  
Unread 03-02-2016, 11:04
ahartnet's Avatar
ahartnet ahartnet is offline
Registered User
AKA: Andrew Hartnett
FRC #5414 (Pearadox)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2005
Location: Houston, Texas
Posts: 201
ahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet 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.
Can you post a little more info? Are you using Java, labview, or C++? What are you thinking is achievable for your team?

I'm happy to help via PMs or skype. We'll be at Alamo and if you don't have anything by then I can stop by your pit (most likely) to help at least get an autonomous mode that drives forward. But it'll be easier to help if I know what language you're using
__________________
Team 451 The Cat Attack, Student Alumni (2005)
Team 1646 Precision Guessworks, Mentor (2006-2008)
Team 2936 Gatorzillas, Mentor (2011-2014)
Team 5414 Pearadox, Mentor (2015-Present)
Reply With Quote
  #9   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,212
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
  #10   Spotlight this post!  
Unread 03-02-2016, 12:21
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,212
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 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.
Use Smart Dashboard to set the amount of Time to energize the drive motors during autonomous. Maybe even the power level. Determine in advance your parameters for each defense. Once you know which defense you will be going over, the Driver sets the parameter while the robot is being placed on the field.

Your Autonomous will then read in those values, and execute a straight drive for that many seconds at the desired power level.

At a minimum, you should get "reach" points. If you are successful in crossing, then you will get crossing points.
Reply With Quote
  #11   Spotlight this post!  
Unread 03-02-2016, 13:12
Zebra_Fact_Man's Avatar
Zebra_Fact_Man Zebra_Fact_Man is offline
]\/[ Go Blue!
AKA: Solomon
FRC #1076 (Pi Hi Samurai)
Team Role: Coach
 
Join Date: Mar 2012
Rookie Year: 2006
Location: Ann Arbor, MI
Posts: 473
Zebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant future
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.
DON'T!!!

/end joke
__________________
My Journey in FIRST:

Mentor/Coach/Engineer
2014-2017: Team 1076 - Pi Hi Samurai
____ 2014: Team 5220 - The Rockets
2009-2014: Team 313 - The Bionic Union/Bionic Zebras
Student
2006-2009: Team 313 - The Bionic Union
Reply With Quote
  #12   Spotlight this post!  
Unread 03-02-2016, 16:21
Heber Hooper's Avatar
Heber Hooper Heber Hooper is offline
Rocktaπ Inkling
AKA: Heber Hooper
FRC #6051 (Rocktaπ)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Converse
Posts: 25
Heber Hooper is an unknown quantity at this point
Re: Easiest way to program autonomous?

We are using labview and I will talk to my mentor about it.
Reply With Quote
  #13   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: 228
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
  #14   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,212
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
  #15   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
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:28.

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