Motors not reacting to Ultrasonic Sensor

Reply Sun 24 Mar, 2013 08:04 am
I am relatively new to the NXT Mindstorms and I am a mentor for the local grade school Mindstorms for our company. I am building the basic maze robot. I know that my Ultrasonic sensor is working and the motors are working but the bot does not respond to the ultrasonic. When the bot gets close to the wall it should turn away but it just runs into the wall instead. Can anyone tell me what part of my programming is wrong.

It starts with the loop set to infinity. Within the loop is the Ultrasonic sensor on slot 4 set to 4 inches. Within is the swith with motors to move to or away from the wall.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 2,215 • Replies: 0
No top replies


Related Topics

The Dawn of Blade Runner Is Upon Us!! - Discussion by tsarstepan
Leftfield take on the 'Uncanny Valley' - Discussion by hingehead
Japan is disappearing - Question by Lash
ROBOTS THAT CAN'T BE STOPPED[URL= - Discussion by Setanta
Univ. of Md. robotic bird - Question by gungasnake
Robotics Club Management - Discussion by hyperdereky1
  1. Forums
  2. » Motors not reacting to Ultrasonic Sensor
Copyright © 2022 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 01/22/2022 at 09:48:20