Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

Floor Map - The Right Turn Mystery

Can anyone explain this

1. Add a script manager control
2. Add a script called forward
1. Add the Forward() script command
3. Add a script called rightturn
1. Add the Right() script command
4. Add the Floor Map control
1. Set it up like this:
A.Number of pixels/second moving forward or reverse: 10
B.Number of degrees/second turning: 10
5. Set up a custom movement control
1. Add the foward script to forward command
2. Add the right script to right command
6. Add this script and call it Box

Code:


:LoopStart
Forward(255,5000)
Right(255, 9000)
Goto(LoopStart)


7. Execute the box script. I am assuming it should draw a perfect square in the floor map control but it does not. The first turn occurs at: 56.1 degrees. Why not ninety degress as it it set to turn for nine seconds at ten degrees per second?



ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

PRO
Synthiam
#1  
It's an estimated value because there is communication and other dependencies. You will calibrate the values based on your robot - it'll be impossible to calibrate your robot based on the values.:)
PRO
Synthiam
#2  
I should also add that there is a new Floor Map in development - that has some neat new features. I can look into the timing a bit further to see how we can increase the accuracy
#3  
Okay,excellent. I was figuring there was a rounding issue going on that was somehow linked to milliseconds to seconds just a guesstimate. I'm looking forward to the new floor map. It would be nice to be able to specify values for the control in ez script that would be real slick.