1 / 11

My first robot programming - Simple “GoFor”

Learn how to use the GoFor command in your first robot programming course. Drive your robot for a specific duration. Follow the Step-by-Step guide by Young Joon Kim to master this beginner's course. Visit http://www.helloapps.com for more details.

birick
Download Presentation

My first robot programming - Simple “GoFor”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. My first robot programming- Simple“GoFor” MSRDS First Beginner Course – STEP4 Young Joon Kim http://www.helloapps.com

  2. “GoTo” Drive Commands • GoFor • Drive given duration time (milliseconds) • Usages • robotname.GoFor(left_power, right_power, duration) • Range of each motor power values • -1.0 (Max backwards) ~ 1.0 (Max forwards) • 0: Stop the motor • Unit of duration time • milliseconds

  3. Preparing basic environment

  4. Preparing basic environment • Add a “Data” activity and “SPL Engine” • Type “Script/BasicEnv0.txt” in the “Data” activity

  5. “GoFor” command

  6. “GoFor” command • Add below diagrams • Drive a robot during 2 seconds with 0.5 motor power

  7. “GoFor” command • Add diagrams to make a robot stop

  8. “GoFor” command • Connect the end point of “SPL Drive” and “Data” activity Connect

  9. “GoFor” command • Select “ExecuteScript – Success” as follows

  10. “GoFor” command • Run VPL diagram by pressing “F5” key or clicking “Start” icon

  11. “GoFor” command • Execution result Move during 2 seconds

More Related