Here's the basic breakdown: Ultrasonic Sensor: The MBot2 uses its 'eyes' (the ultrasonic sensor) to measure distance to objects in front of it. Decision Making: The Python code constantly checks this distance. If something gets too close, it makes a decision to stop and turn. Motors: The commands in the code tell the MBot2's motors when to move forward, stop, and which direction to turn. This is just a simple obstacle avoidance program. Want to see a more in-depth explanation with the actual code? Let me know and I can make a follow-up video!"
Hello, I tried your code on the mBot2 that I just bought, the def on_start(): line gives an error. I think the @event.start line may be faulty. Can you help? Thanks
Thanks for the comment, this is just a simple obstacle avoidance program. Want to see a more in-depth explanation with the actual code? Let me know and I can make a follow-up video!"
It's so cool video
through which app
Thank you 😊
Here's the basic breakdown:
Ultrasonic Sensor: The MBot2 uses its 'eyes' (the ultrasonic sensor) to measure distance to objects in front of it.
Decision Making: The Python code constantly checks this distance. If something gets too close, it makes a decision to stop and turn.
Motors: The commands in the code tell the MBot2's motors when to move forward, stop, and which direction to turn.
This is just a simple obstacle avoidance program. Want to see a more in-depth explanation with the actual code? Let me know and I can make a follow-up video!"
Hello, I tried your code on the mBot2 that I just bought, the def on_start(): line gives an error. I think the @event.start line may be faulty. Can you help? Thanks
Share me the error code please
Great ❤
Thanks
Great tutorial.
Is this code work on a mBot 1?
How can i discuss with you?
Watching from Cameroon in Africa.
Thanks
No this is only for mbot 2
Can you please do same with VinciBot.
Definitely, I will try see how I can get one of those VinciBot
@ thank you
Thanks for the lessons
Thanks
Is there a book or full tutorial on coding this robot with python?
I am not sure, but i did few videos and planning to create more.
Great 👍 Thank you
Your Welcome
pretty good thx
Thank you
You programmed okay.how does it work ....explain ...the command and processd
Thanks for the comment, this is just a simple obstacle avoidance program. Want to see a more in-depth explanation with the actual code? Let me know and I can make a follow-up video!"
Please also give explanation of each line sir please good one but please think it
Will do, thanks