Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Holding Down Buttons on the Remote (http://www.chiefdelphi.com/forums/showthread.php?t=63325)

Tim Arnold 18-02-2008 00:15

Re: Holding Down Buttons on the Remote
 
Quote:

Originally Posted by ay2b (Post 701262)
Please be aware that the GDC has said that you cannot hold the button down.



http://forums.usfirst.org/showthread.php?t=8565

Isn't holding the button down outputting the same thing as rapidly pressing the button? The remote is emitting pulses even if you hold it down...

seanl 04-03-2008 10:44

Re: Holding Down Buttons on the Remote
 
Quote:

Originally Posted by Tim Arnold (Post 701312)
Isn't holding the button down outputting the same thing as rapidly pressing the button? The remote is emitting pulses even if you hold it down...

that is exactly what i was thinking.
it is sending out pulses. that would be the same as pushing the button really fast.
like for example: if you are sending pulses that drive your robot forward but making the robot "pulse" forward. wouldnt that be legal? because each pulse it doing one action that drives the robot forward a little but. so holding it or pressing it really fast would be the same and drive the bot forward.

Uberbots 04-03-2008 11:27

Re: Holding Down Buttons on the Remote
 
one of our earlier autonomous modes worked like this:

it had two vectors: the forward vector and the angular vector
these vectors constantly return to 0 using a linear ramping technique
when a forward signal is received from the IR board, it ramps the speed up 20%. further presses of the button will yield more speed (linearly, 20 40 60 80 100)
when a turn left/right signal is received, it ramps up the turning vectors inverse-exponentially (to improve turning)
there is also a stop command which would reverse the robot for a couple ticks

we ended up ditching it because it was too borderline within the rules, the IR signal dropped out at the other end, and we made a better autonomous mode after that.

I dunno about the rules though... a single button press always does the same "add 20%" thing, and they arent held down in order to do it. any thoughts?

RyanW 11-03-2008 22:29

Re: Holding Down Buttons on the Remote
 
Uberbots,
Seems okay - changing orientation by a fixed amount is legal, and I guess the ramping back would be an autonomous thing.

seanl,
I agree that you could use semantics to get around the "no holding buttons down" rule, but it would be nice to stay within the spirit of GDC's decisions as well as the letter.


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

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