Answers.Body: <p>The EV3-G programming language has mailbox blocks where it can receive bluetooth messages. You could write a program that until the touch sensor is pressed keeps processing the messages to control the robot.
  The hard part here will be writing an app for the smartphone that sends the messages, however the BT protocol EV3 uses is documented and apps are already available implementing the messaging system, e.g. in C# here: <a href="https://github.com/jovabel/EV3Messenger" rel="nofollow noreferrer">https://github.com/jovabel/EV3Messenger</a>
  There's also the lego commander app, but I think the instructions sent by it bypass any program running on the EV3 brick, or rather they run in parallel so I'm inclined to think that the only solution is to write your own smartphone app...</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-06T21:44:20.520Z
Answers.LastActivityDate: 2018-03-06T21:44:20.520Z
Answers.UserDisplayName: Michael Verschaeve
Body: <p>I created a design challenge where students will use their touch sensor and ev3 brick to play a game of freeze tag.  Is it possible to have a program where they can manually control their robot via smart phone app, and when another robot presses another robots' touch sensor, they become disabled and play a noise warning they are turning off and done playing, being "Frozen".</p>
  
Tags: <remote-control><sensor>
Title: Sensor usage during manual control
UserDisplayName: Michael S.
ThreadText: # Sensor usage during manual control
  
  (Asked by: username_0 on 2018-03-06)
  
  I created a design challenge where students will use their touch sensor and ev3 brick to play a game of freeze tag. Is it possible to have a program where they can manually control their robot via smart phone app, and when another robot presses another robots' touch sensor, they become disabled and play a noise warning they are turning off and done playing, being "Frozen".
  
  **Tags:** remote-control, sensor
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-03-06. Score: 2
  
  The EV3-G programming language has mailbox blocks where it can receive bluetooth messages. You could write a program that until the touch sensor is pressed keeps processing the messages to control the robot.
  The hard part here will be writing an app for the smartphone that sends the messages, however the BT protocol EV3 uses is documented and apps are already available implementing the messaging system, e.g. in C# here: <https://github.com/jovabel/EV3Messenger>
  There's also the lego commander app, but I think the instructions sent by it bypass any program running on the EV3 brick, or rather they run in parallel so I'm inclined to think that the only solution is to write your own smartphone app...
  
  
  ---
  
  