I have the robot starter kit. When using the ultrasonic mode, my robot defaults to turning right. When I put my hand in front of the sensor, it will back up but it will never go forward on its own. I have tested the robot with the IR mode and everything works fine. I am using the code from the Makeblock Library.
Trouble with ultrasonic mode
psaik25
#2
I have found the answer! It wasn’t a problem with my ultrasonic sensor or robot. When I had tested the IR mode, I didn’t take into account that the directions pressed on the remote weren’t the same as how the robot was supposed to move. Instead, I manually edited the example code to fix my problem there. But in the end, I had the motor connections backwards.
Here is the link to my problem: http://forum.makeblock.cc/t/my-starter-goes-for-reversed-direction-how-to-fix/2021