1 / 15

Robotics Developer Studio and Visual Program Language VPL Yinong Chen

Robotics Developer Studio and Visual Program Language VPL Yinong Chen. Table of Contents. Introduction to Robotics Studio. 1. Activities and Services in VPL. 2. Example 1: Hello World in VPL. 3. Example 2: Creating a loop. 4. Introduction to Robotics Studio. Service Client.

Download Presentation

Robotics Developer Studio and Visual Program Language VPL Yinong Chen

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. Robotics Developer Studio and Visual Program Language VPLYinong Chen

  2. Table of Contents Introduction to Robotics Studio 1 Activities and Services in VPL 2 Example 1: Hello World in VPL 3 Example 2: Creating a loop 4

  3. Introduction to Robotics Studio Service Client Writing robotic applications in VPL Service Repository Service Broker Writing robotic services in VPL Robotic services in C# or VB Service Provider VPL C# VB Robotics Studio .NetFramework Download Microsoft Robotics Developer Studio 4 http://msdn.microsoft.com/en-us/robotics/aa731520

  4. Start the Application

  5. Programming Robots in Simulation

  6. Applications of Robotics Developer Studio Robosoft Kuka Coroware ASU-Intel-Carl Hayden AutoBot WhiteBoxRobotics NXT Mindstorms Watch it: http://vimeo.com/9740048 Robotics Connection

  7. Basic Activities of VPL There are 10 basic activities, and many composite services in VPL Repository • Variable: supports basic types (int, string, boolean, etc) and their arrays ( called list ) • Calculate: Calculate the value of an expression • Data: like the constant values in regular programming language

  8. Basic Activities (cont.) Activity Basic Activity • Construct a composite activity (flowchart) and can be wrapped as a service • Join: proceeds when all threads arrive; Can be used for creating parallel threads. • Merge: proceeds when one of the threads arrives. It can be used for creating a loop; • If: same as regular programming language construct; • Switch: same as regular programming language construct; • List: list of variables; • List of functions; Service Activity

  9. Services as Building Blocks Application Activity Basic Activity • Services are precompiled and deployed functions (activities) • Services can be placed locally or remotely over the internet. • For example: • Services that provide access to robots’ sensors • Simple dialog which accepts a string and shows it in a window • Math functions which can complete complex computations Service Activity

  10. A Glimpse of Applications ndServices

  11. Example 1: Hello World

  12. Hello World (cont.)

  13. Example 2: Increment a value in a loop in VPL The goal of this VPL program is to • Create a variable and initialize it to 1; • Increment the variable in a loop, and • Voice-output the value in each iteration using the Text-to-Speech service; • Stop when the value = 10.

  14. Define the Initial Value, Assign it to a Variable, and Choose the Type

  15. Increment a value in a loop (cont.)

More Related