This document introduces the demo project of "rotation_action_demo", including how to rotate clockwise, anticlockwise and turn to a particular angle.

Content


IDE Preperation

          (Either one of following)


Download

Win32-Demo



Compiling

  1. Right click on "rotation_action_demo" project, set as StartUp project.


  2. Right click on "rotation_action_demo", then " Properties",configure "include" and "lib" directories to the corresponding folder path of Slamware SDK.

    It's not necessary to copy files to the project directory, user will only need to configure the path of SDK.



  3. Right click on "rotation_action_demo", then "properties",set "Command Arguments" as follows: 
    Syntax :rotation_action_demo <IP address>


  4. Click " F5" to execute.
  5. Robot's motion could be seen in Robostudio.



Code