Note: this whole post is based on my potentially fallible interpretation of the rules
Quote:
Originally Posted by ALIBI
Can you do the following using your RoboCoach:
Hybrid starts and by pressing signal 1, 2 or 3 you communicate to the robot which position your trackball is in. Meaning, you call up a routine that will start a series of preprogamed auton actions to remove the trackball from any of the three positions.
Yes, I read the sections, I just do not understand them in plain terms.
Thankyou for your help!
|
I think that would be legal, since each of your modes could be explicitly written as "bump out ball 1, bump out ball 2, bump out ball 3, etc"
Quote:
We're using an Apple remote. It has the typical circle of four buttons with one in the middle.
Top: Increment speed (both motors)
Bottom: Decrement speed
Right: Increment right motor speed (for turning)
Left: Decrement right motor speed
Is that legal?
|
I don't think so, since each one would depend on the previous internal state of the software in terms of speed. It could be argued that you're dynamically changing your 'top' response from "go to speed 137" to "go to speed 147" to "go to speed 157", etc. after each button press.
Quote:
button 0 : toggle bit 0 high or low
button 1: toggle bit 1 high or low
and so on, which would allow for 2^4 - 1 combinations of events.
technically, i don't think that is actually encoding a message from the remote, nor is it dynamically changing the rule set.
but still, i think it is probably illegal... and probably dumb idea considering that the robocoach would get confused very easily.
|
I think that'd violate R69: your robot would be reacting to more than 4 distinct commands, and it'd have to store its state from previous button presses. Also, it'd be dynamically changing its command set depending on what other buttons had been pressed earlier: if b1 was set and button 3 was pressed, the command that button 3 represent would have changed.
Quote:
|
It looks to me that this means your entire alliance can send commands to your robot Think of the possibility if theres 12 commands
|
You'd need 3 IR boards though, since you can't train your team's board to recognize more then 4 commands. You could distribute remotes to all your alliance partners I guess so they could control yours as well when it is in their corner, but I imagine that is banned by some rule regarding how many SIGNALLING DEVICEs alliance robocoaches may carry. I should emphasize though that there may not be such a rule, I'm not sure.
Quote:
|
For example, toggling the arm could be one button, toggling drive direction could be another.
|
I don't think this would be legal because you'd be dynamically changing your command set. Button 1 would be "drive forward" at one point, and "drive backwards" at another.
I think a good rule of thumb for your button assignments would be "if you have to write the word 'if' on your 3x5 card, then you probably broke a rule". Another thing to think of is to imagine that all your internal state variables get reset upon each IR signal, so you can't respond to your current state.