We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D maze in browser controlled by Small Basic
#37
Hello everyone.  Wink

This morning I assumed that when my "turn right" command is executed, the engine in the browser performs this rotation by changing the robot's angle by 30 degrees per iteration.
So when my SB program receives information that the robot has reached the 90 degrees angle I wanted, and my SB program sends a "stop turning" command, the engine has time to perform one extra step of rotation.

This means that the SB program should send the "stop" command to the engine ONE STEP BEFORE the SB program receives information that the robot has reached the desired position. And we do not need to change the command format that I wrote about in the previous message.

What do you think about this?
Reply


Messages In This Thread
RE: 3D maze in browser controlled by Small Basic - by AbsoluteBeginner - 02-04-2025, 06:57 AM

Forum Jump:


Users browsing this thread: AbsoluteBeginner, 35 Guest(s)