What Is a Service?

To accommodate the special needs of robotics applications, MSRS uses a service as the key object. Each Web-based service contains the code needed to perform one or more functions, such as reading data from a single sensor or sending an output signal to an actuator. The service can also be used to communicate with another service or external software. A robotics application consists of multiple services that work together to achieve a common task—operating the robot. For example, Figure 2-1 is an application diagram that represents the services used to operate a LEGO Mindstorms NXT.

Multiple services work together to support the operation of a LEGO Mindstorms NXT.

Figure 2-1. Multiple services work together to ...

Get Programming Microsoft® Robotics Studio now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.