Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Autonomous Mode Lessons Learned?? (http://www.chiefdelphi.com/forums/showthread.php?t=31678)

Ross Loeb 13-12-2004 13:40

Re: Autonomous Mode Lessons Learned??
 
Quote:

Originally Posted by cbolin
Great feedback!

Have any of you placed switches on the controller so you can select various autonomous modes?

For example:
auto_mode == 0 means 'do nothing'.
auto_mode == 1 means 'follow line'
auto_mode == 2 means 'go and grab goal', etc.

Regards,
ChuckB

We used jumpers on two discrete inputs to let us select from 4 autonomous (binary mode -- no jumper, J1, J2, both) and a third input for starting right/left side.

Too confusing, and too easy to make a mistake during competition. This year we'll take the time to wire in a rotary switch for autonomous and a toggle switch for starting side and clearly label both.

cbolin 13-12-2004 15:08

Re: Autonomous Mode Lessons Learned??
 
Hi,
I have a BCD thumbwheel that can convert a decimal value to a binary value. You could connect this to only three digital inputs. This would allow the operator to dial in a digit from 0 to 7....8 different modes. Or dial in a 0 to 3 (4 different modes like you say).
Regards,
ChuckB

Orborde 13-12-2004 22:42

Re: Autonomous Mode Lessons Learned??
 
I'd just add some switches on digital inputs on the robot itself. It's bulletproof.

Astronouth7303 16-12-2004 19:03

Re: Autonomous Mode Lessons Learned??
 
Quote:

Originally Posted by cbolin
Great feedback!

Have any of you placed switches on the controller so you can select various autonomous modes?

For example:
auto_mode == 0 means 'do nothing'.
auto_mode == 1 means 'follow line'
auto_mode == 2 means 'go and grab goal', etc.

Regards,
ChuckB

We did, but most of the modes went unused.


All times are GMT -5. The time now is 17:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi