mBot getting around an obstacle


#1

Hi,

I can´t figure out how to make mBot go around an obstacle.I´m using scratch. Can somebody help? Thank you!


#2

Here is a post with some hints in pseudo code:

Try if you can work it out yourself from there. If not come back.


#3

It doesn´t let me to upload with my made blocks. Maybe something else or you know what to do?


#4

You don’t have to upload, try to run from IDE instead. Anyway, instructions for both variants are here.
http://learn.makeblock.com/en/robot-kits/mbot/run-from-mblock-ide-or-upload-to-board/

What is your problem in more detail?


#5

The mbot has sensors so it will stop or turn when there is an obstacle in front it
if the mbot doesn’t move as well, check the sensors because if they are facing the wrong way the mbot thinks its bumping into its self

You have to set up the movements from scratch using different buttons and degrees


#6