My first robot programming - Simple “GoTo” MSRDS First Beginner Course – STEP4 Young Joon Kim http://www.helloapps.com
“GoTo” Drive Commands GoTo Usages Range of motor power values Drive given distance Usages robotname.GoTo(distance, power) Range of motor power values -1.0 (Max backwards) ~ 1.0 (Max forwards) 0: Stop the motor Unit of distance meter
“GoTo” command
“GoTo” command Reuse “script/SimpleGo.txt”
“GoTo” command Save as “script/SimpleGoTo.txt”
“GoTo” command Add drive command as follows base1.GoTo(1.0, 0.3) Distance will be set as 1.0 meter Power will be set with 0.3
“GoTo” command Add command as follows
“GoTo” command Execution result 1.0m