![]() |
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.::rtm::
|
Re: Easiest way to program autonomous?
Quote:
|
Re: Easiest way to program autonomous?
Quote:
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. |
Re: Easiest way to program autonomous?
Quote:
|
Re: Easiest way to program autonomous?
Quote:
It's ded (short for deduced) reckoning by the way. |
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.
|
Re: Easiest way to program autonomous?
Quote:
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. |
Re: Easiest way to program autonomous?
Quote:
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 |
Re: Easiest way to program autonomous?
Quote:
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). |
Re: Easiest way to program autonomous?
Quote:
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. |
Re: Easiest way to program autonomous?
Quote:
/end joke |
Re: Easiest way to program autonomous?
We are using labview and I will talk to my mentor about it.
|
Re: Easiest way to program autonomous?
Quote:
|
Re: Easiest way to program autonomous?
Quote:
|
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. |
| All times are GMT -5. The time now is 10:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi