Screenshots     Download     Documentation     Tutorials     Partners     Resources     Contact     Forum     Search  

 

RoboRealm setup for Microsoft Robotics Studio (MSRS)

The Microsoft Robotics Studio provides an application framework for working with complex robotic architectures. Within this platform RoboRealm can provide a smart camera interface that allows you to include machine vision within the MSRS platform. The MSRS interface can either provide the resulting processed image from RoboRealm and/or include any variables generated by RoboRealm for use in further processing. In this way your webcam can be processed for specific features at the pixel level and report any findings to the MSRS orchestrating system to determine the appropriate action.

The connection between the MSRS system and RoboRealm is similar to the webcam interface currently provided with the MSRS system.

Instructions

  1. Download and run RoboRealm if you have not already. Be sure to have selected the "Active RoboRealm API Server" checkbox in the Options Dialog. This ensures that the API server is running which is needed for the MSRS interface.

    RoboRealm Server Activation

  2. If you have not already done so download and install Microsoft Robotics Studio 1.5 in C:\

  3. Download v1.5 the RoboRealm MSRS interface code.

  4. Unzip into C:\Microsoft Robotics Studio (1.5)\samples\Platforms

    MSRS Platform folder

  5. Copy RoboRealm.Interface.manifest.xml within the Platforms/RoboRealm folder to C:\Microsoft Robotics Studio (1.5)\samples\Config\

  6. Copy *.dll (all the dll files) within the Platforms/RoboRealm folder to

    C:\Microsoft Robotics Studio (1.5)\bin

    RoboRealm folder

  7. Start MSRS by selecting your Start button, select Microsoft Robotics Studio (1.5), and then select Microsoft Robotics Studio (1.5) Prompt

    MSRS prompt

  8. This will open a command console within the MSRS folder. Within that console type bin\dsshost /p:50000 /t:50001 /m:"samples\Config\RoboRealm.Interface.manifest.xml" which will start the MSRS system and register the RoboRealm interface.

    MSRS prompt

  9. Enter the MSRS system by accessing the following url http://localhost:50000/roborealm using Internet Explorer (IE).

  10. You should now see a web interface to RoboRealm. Click on the Start button under the image to start streaming the processed video from RoboRealm.

    MSRS browser interface

  11. Below the start buttons are the variable values. To change the variable values you can enter a new/existing variable into the HTML text boxes and press save to make the changes. The current variables existing within RoboRealm are listed at the bottom of the page.

    MSRS set variable interface

  12. What's Next??

    You can play with the examples programs provided to view different effects. You will notice the configuration xml in the textarea at the bottom of the page updating based on which example program you select. Try selecting the Red Object Tracking and change the <channel>1</channel> to 2. This changes the tracking to the color green.

    MSRS script interface

  13. GetVariableExample

    A sample orchestration program called GetVariableExample is included in the RoboRealm MSRS V1.5 download code. This program shows you how to write other programs that would interface to RoboRealm to control its actions and get variables from RoboRealm via the MSRS RoboRealm interface code. This example in particular shows how to grab the COG_X and COG_Y variables from RoboRealm and write their values to the command console. Use this application as a basis for how to incorporate variable access within your own orchestration programs.

    MSRS GetVariableExample results

  14. For more information


    Microsoft Robotics

© 2008 RoboRealm. All Rights Reserved. | Contact | Glossary | Privacy | Disclaimer | Link to Us | Resources | Site Map