shaine-ashley
Uploaded by
12 SLIDES
257 VUES
120LIKES

Beginner Robot Programming: Mastering the "Turn" Command in MSRDS

DESCRIPTION

Dive into the fundamentals of robot programming with this beginner-friendly course by Young Joon Kim. Focused on the "Turn" command, you'll learn how to drive a robot using rotation angles and motor power settings. This lesson covers the range of motor power values from -1.0 to 1.0, how to use commands like `myrobot.Turn(90, 0.2)`, and how to set up your programming environment. Gain hands-on experience by creating a visual programming layout (VPL), and see your robot execute precise movements. Join us and unleash your creativity!

1 / 12

Télécharger la présentation

Beginner Robot Programming: Mastering the "Turn" Command in MSRDS

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“Turn” MSRDS First Beginner Course – STEP4 Young Joon Kim http://www.helloapps.com

  2. “Turn” Drive Commands • Turn • Drive a robot with rotation angle and motor power • Usages • robotname.Turn(degrees, power) • Range of motor power values • -1.0 (Max backwards) ~ 1.0 (Max forwards) • 0: Stop the motor • Range of degrees • -180 ~ 180

  3. Preparing basic environment

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

  5. “Turn” command

  6. “Turn” command • Add a new “Data” activity and change its type as “string” 1 2

  7. “Turn” command • Type “myrobot.Turn(90, 0.2)” in the new “Data” activity • Rotation degrees : 90 degrees • Motor power : 0.2

  8. “Turn” command • Add an new “SPL Drive” service

  9. “Turn” command • Connect the output point of “Data” activity to the input point of “SPL Drive” service by dragging

  10. “Turn” command • Select “value” item on the left list 1 2

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

  12. “Turn” command • Execution result 90 degrees

More Related