LSL Protocol/Restrained Love Open Relay Group/sensor

sensor

STATUS: draft

version: 002

version 001 implemented in Dahlia's multirelay 1.2.14 and anythingRLV3.6RC8

Description of !x-sensor

(DEPRECATED) Syntax with optional parameter full

The parameters are the same as for the LSL command llSensor(string name, key id, integer type, float range, float arc), with an additional optional parameter "full".

97116a5b-686b-64a9-a086-cae72a95ce6b,ccb7ce46-eec4-e790-9995-47d789adfe49,l1,l2,Object1Object2

i.e. two uuid keys, two integers which are the lengths of the strings Object1 and Object2 and the concatenation of Object1 and Object2.

No other acknowledgment of receipt is possible.

Two examples with

C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593,97116a5b-686b-64a9-a086-cae72a95ce6b,ccb7ce46-eec4-e790-9995-47d789adfe49,
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593,00000000-0000-0000-0000-000000000000
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593/full
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593/full,97116a5b-686b-64a9-a086-cae72a95ce6b,ccb7ce46-eec4-e790-9995-47d789adfe49,l1,l2,Object1Object2
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593/full
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593/full,00000000-0000-0000-0000-000000000000,0,
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593,ko
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593/full
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593/full,ko

Syntax with optional parameter name

The parameters are the same as for the LSL command llSensor(string name, key id, integer type, float range, float arc), with an additional optional parameter "name".

97116a5b-686b-64a9-a086-cae72a95ce6b,ccb7ce46-eec4-e790-9995-47d789adfe49,Object1,Object2

i.e. a list consisiting of the two uuid keys, and the two strings Object1 and Object2.

No other acknowledgment of receipt is possible.

Two examples with

C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593,97116a5b-686b-64a9-a086-cae72a95ce6b,ccb7ce46-eec4-e790-9995-47d789adfe49,
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593,00000000-0000-0000-0000-000000000000
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593/name
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593/name,97116a5b-686b-64a9-a086-cae72a95ce6b,ccb7ce46-eec4-e790-9995-47d789adfe49,Object1,Object2
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593/name
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593/name,00000000-0000-0000-0000-000000000000,
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593,ko
C-->R  sensor,!x-sensor//nullkey/3/20.0/3.141593/name
C<--R  sensor,!x-sensor//nullkey/3/20.0/3.141593/name,ko

Semantics

The effect of this command is that the relay executes a llSensor() with the given parameters, and sends the result as a list of UUID keys separated by a comma to the source in the acknowledgment of receipt using llRegionSayTo().

Remarks