I solved this problem back in the original Mindstorms with the RCX. I called it Better Bumper. It had two bumbers, if both were triggered within a certain amount of time, it backed up, turned 180 degrees and went on. In your case, since you have only one touch sensor, you could program it for two triggers within say, 3 seconds of each other.
I solved this problem back in the original Mindstorms with the RCX. I called it Better Bumper. It had two bumbers, if both were triggered within a certain amount of time, it backed up, turned 180 degrees and went on. In your case, since you have only one touch sensor, you could program it for two triggers within say, 3 seconds of each other.
neamerjell 3 months ago