![]() |
setting autonomous mode
is it allowed to have something like a switch or jumpers on your OI to set your autonomous mode or does it have to be done on the robot? if not how do we choose the autonomous mode we want?
thanks in advance allison |
Re: setting autonomous mode
Quote:
The safe way is to have switches on the robot that you set to indicate which autonomous mode you want. Your program then reads these and figures out what you want it to do from them. |
Re: setting autonomous mode
Quote:
autonomous mode. The OI won't be active while autonomous mode is underway -- default values will be transmitted to the robot -- so you'll have to make sure not to accidentally try to read the mode selection after the match begins. |
Re: setting autonomous mode
I read it when Default_Routine() is ran. Then I store it to a variable and use that in User_Autonomous_Code().
|
Re: setting autonomous mode
We have three binary switches on the robot to select one of the 8 auto modes. Its worked well so far, but it took a while to explain it to the drivers that set the robot before a round.
|
Re: setting autonomous mode
Quote:
|
Re: setting autonomous mode
i was wondering if anyone had any sucess with reading switches off the OI after the match had started and before autonomus was enabled?
|
Re: setting autonomous mode
team update 13 said the OI values are read when the bot is diabled, so you should be able to send them from there
I dont think we have enough switches left free on the OI - we have 4 switches onthe bot tied to the rc_dig_inputs to tell it what to do in auton mode the most important one you MUST have is a disable - sooner or later you are going to want to sit out auton mode. |
Re: setting autonomous mode
well currently were only using 2 joystics... that leaves 8 switches open, thats like 64 programs or watever. so i could have done it that way. but there are two big red togle switches on the robot that are clearly labled "disable/enable autonomus" and "knock ball/dont knock ball". it makes it pretty easy. we have 4 digital IOs on the rc left; with just 2 banner sensors. next year i hope they give us more inputs!
|
Re: setting autonomous mode
Quote:
|
Re: setting autonomous mode
lol shush im writing a history paper and CDing at the same time. not thinking using the right part of my brain :p
|
| All times are GMT -5. The time now is 00:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi