My first robot programming simple turn
This presentation is the property of its rightful owner.
Sponsored Links
1 / 12

My first robot programming - Simple “Turn” PowerPoint PPT Presentation


  • 55 Views
  • Uploaded on
  • Presentation posted in: General

My first robot programming - Simple “Turn”. MSRDS First Beginner Course – STEP4. Young Joon Kim http://www.helloapps.com. “Turn” Drive Commands. Turn Drive a robot with rotation angle and motor power Usages robotname.Turn(degrees, power) Range of motor power values

Download Presentation

My first robot programming - Simple “Turn”

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


My first robot programming simple turn

My first robot programming- Simple“Turn”

MSRDS First Beginner Course – STEP4

Young Joon Kim

http://www.helloapps.com


Turn drive commands

“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


My first robot programming simple turn

Preparing basic environment


Preparing basic environment

Preparing basic environment

  • Add a “Data” activity and “SPL Engine”

  • Type “Script/BasicEnv0.txt” in the “Data” activity


My first robot programming simple turn

“Turn” command


Turn command

“Turn” command

  • Add a new “Data” activity and change its type as “string”

1

2


Turn command1

“Turn” command

  • Type “myrobot.Turn(90, 0.2)” in the new “Data” activity

    • Rotation degrees : 90 degrees

    • Motor power : 0.2


Turn command2

“Turn” command

  • Add an new “SPL Drive” service


Turn command3

“Turn” command

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


Turn command4

“Turn” command

  • Select “value” item on the left list

1

2


Turn command5

“Turn” command

  • Run VPL diagram by pressing “F5” key or clicking “Start” icon


Turn command6

“Turn” command

  • Execution result

90 degrees


  • Login