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
Preparing basic environment
Preparing basic environment Add a “Data” activity and “SPL Engine” Type “Script/BasicEnv0.txt” in the “Data” activity
“GoTo” command
“GoTo” command Add below diagrams Drive 1.0m distance with 0.2 power
“GoTo” command Run VPL diagram by pressing “F5” key or clicking “Start” icon
“GoTo” command Execution result 1.0m