Changes between Initial Version and Version 1 of RpactuationSpaceResource


Ignore:
Timestamp:
Oct 1, 2010, 2:00:34 PM (14 years ago)
Author:
martin.strohbach
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RpactuationSpaceResource

    v1 v1  
     1= Actuation Space Resource =
     2
     3Actuation Space Resources (ASRs) are actuation resources that provide advanced actuation functionalities such as scheduling, executing conditional and composed actuation tasks. Actuation Space Resources provide a shared memory space in which actuation tasks are inserted. For instance you can specify that the light should be turned on in five minutes or that the light should only be turned on, if it is dark.
     4
     5The current implementation of ASRs is based on the OSGi-based NLE Context Management Framework (CMF). The REP is implemented as an OSGi bundle and accepts POST requests containing an actuation task as sent via the SQI. The XML schema for actuation is available in the repository at https://svn-batch.grid.pub.ro/svn/Sensei-WP5/ActuationTaskXML.
     6
     7== How to run an ASR ==
     8First, you need to checkout the following projects from the SVN
     9* [https://svn-batch.grid.pub.ro/svn/Sensei-WP5/ActuationResourceUser ActuationResourceUser]
     10* [https://svn-batch.grid.pub.ro/svn/Sensei-WP5/ActuationTaskXML ActuationTaskXML]
     11* [[https://svn-batch.grid.pub.ro/svn/Sensei-WP5/NEC%20Binaries|NEC Binaries]]
     12* [https://svn-batch.grid.pub.ro/svn/Sensei-WP5/eu.neclab.sensei.actuation.asr eu.neclab.sensei.actuation.asr] (Optional Sources for the SENSEI REP)
     13
     14Second you run the Actuation Space Resource by invoking NEC Binaries/CMF/release.win32/ContextAgent -console
     15
     16Then, you run the [https://svn-batch.grid.pub.ro/svn/Sensei-WP5/ActuationResourceUser ActuationResourceUser] project out of eclipse.
     17
     18You should see a green window pop up as specified in the actuation task [https://svn-batch.grid.pub.ro/svn/Sensei-WP5/ActuationTaskXML/examples/coloredFrameActuation.xml coloredFrameActuation]:
     19
     20{{{
     21<act:ActuationRequest xmlns:act="http://www.sensei-project.eu/actuation"
     22        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     23        xsi:schemaLocation="http://www.sensei-project.eu/actuation ../schemas/actuationRequest.xsd">
     24        <ActuationTask>
     25                <PostCondition xsi:type="act:EntityPostCondition">
     26                        <entity>
     27                                <EntityType>display</EntityType>
     28                                <ContextAttribute>
     29                                        <attributeName>background</attributeName>
     30                                        <attributeType>string</attributeType>
     31                                        <Object xsi:type="act:ObservationMeasurement">
     32                                                <value>green</value>
     33                                        </Object>
     34                                </ContextAttribute>
     35                        </entity>
     36                </PostCondition>
     37        </ActuationTask>
     38</act:ActuationRequest>
     39}}}
     40
     41
     42== Actuators ==
     43The current implementation uses a simple JFrame actuator that responds to OM values red, green, blue and white. There is also a power socket switch acutator.
     44
     45Any SENSEI or legacy actuator resource can easily be connected to the ASR. As a result existing acutator resources are
     46* with a single interface
     47* support scheduling
     48* conditional execution
     49* Plug and Play
     50