Quote:
Originally Posted by citrusapocalyps
What do you think? Would Start/Stop count as one function in Hybrid mode or two?
|
This is all based on the Q&A response Steve W quoted above at:
http://forums.usfirst.org/showthread.php?t=8460
Start/Stop as a single RoboCoach command can be achieved if you use encoders (or any other sensor) to track whether your robot is in motion or not. You can then write a command that will stop a robot in motion, or start a stationary robot, but the RC's decision must be based on input from a sensor on the robot.
You cannot simply save a state in software that keeps track of whether your robot is moving based on when or how many times you've sent the RoboCoach command. i.e. 1st push start, 2nd push stop, toggling back and forth.
It's an important distinction to make between those two scenarios. It is possible to achieve the behaviour you're looking for, but you need to be mindful of how to go about doing it.