Robotics
An article to orchestrate gamepad services using VPL and Microsoft Robotics Environment
CodeProject Article
Before going on i assume that you have a minimal knowledge of CCR and of DSS libraries. The verb says that "Writing an application using the Microsoft Robotics Studio is a simple matter of orchestrating the input and output between a set of services. Services represent the interface to software or hardware and allow you to communicate between processes that perform specific functions".An interesting question is: how do i orchestrate input and output
Microsoft Robotics Pad GUI Service
CodeProject Article
In the previous article, we created a game pad service. Here, we will create another service that will provide graphical feedback about the pad. Even for this article, remember that this is not a CCR or a DSS tutorial, and a good knowledge of these technologies will be very useful. In this article, I assume you know what messages, queues and services are. I will also skip all the actions that are similar to the previous service: service creation, message definition and message handling.
Microsoft Robotics Studio - Implement a pad service using CCR and DSS
CodeProject Article
In this article you will see how to create a Microsoft Robotics (from now MR) service to use a game pad. This article is not a CCR or a DSS tutorial, and a good knowledge in these technologies will be very useful. In this article I assume you know what messages, queues and services are.
The base idea is quite simple: the service will poll the gamepad device every x milliseconds. The gamepad device will be queried using managed direct input (.NET version) and will return values from -1 to 1. So, for example the left upper corner will be (-1,1) and the right lower corner will be (1,-1).