rocon_interaction_msgs¶
Contents:
Summary¶
-
rocon_interaction_msgs
¶ Version: 0.7.12
Description: Messages used by rocon interactions.
Maintainers: - Daniel Stonier <d DOT stonier AT gmail DOT com>
Licenses: - BSD
Urls: Authors: - Daniel Stonier <d DOT stonier AT gmail DOT com>
BuildDepends: BuildtoolDepends: BuildExportDepends: ExecDepends: Exports: - <architecture_independent/>
Types¶
Service types¶
rocon_interaction_msgs/RequestInteraction
rocon_interaction_msgs/GetInteraction
rocon_interaction_msgs/GetInteractions
rocon_interaction_msgs/GetRoles
rocon_interaction_msgs/SetInteractions
-
rocon_interaction_msgs/RequestInteraction
¶ Field (Request): - remocon (string) –
- hash (int32) –
Field (Response): - result (bool) –
- error_code (int8) –
- message (string) –
This is used between remocons and the interactions manager to request the launch of a remote application to interact with the concert.
Name of the remocon doing the requesting
# This is used between remocons and the interactions manager to request # the launch of a remote application to interact with the concert. # Name of the remocon doing the requesting string remocon # Hash id of the interaction being requested int32 hash --- bool result # classifying start success/failure, see ErrorCodes.msg int8 error_code # human friendly string for debugging (usually upon error) string message
-
rocon_interaction_msgs/GetInteraction
¶ Field (Request): - hash (int32) –
Field (Response): - result (bool) –
- interaction (rocon_interaction_msgs/Interaction) –
For the auto app launcher (used with nfc tag) to get the information about a single interaction.
We had to trim down the request data given to us by the nfc tag so we use crc32 hashes for uniqueness purposes.
# For the auto app launcher (used with nfc tag) to get the information # about a single interaction. # We had to trim down the request data given to us by the nfc tag # so we use crc32 hashes for uniqueness purposes. int32 hash # The rocon uri of the requester. This is used as a check to # ensure the platform is compatible. Disabling for now until we have # a real need for this. --- bool result Interaction interaction
-
rocon_interaction_msgs/GetInteractions
¶ Field (Request): - roles[] (string) –
- uri (string) –
Field (Response): - interactions[] (rocon_interaction_msgs/Interaction) –
For remocons who need to retrieve a filtered list of interactions appropriate to the role and platform they will run for/on.
Filter according to roles. If not specified it will return interactions for all roles.
# For remocons who need to retrieve a filtered list of interactions # appropriate to the role and platform they will run for/on. # Filter according to roles. If not specified it will return # interactions for all roles. string[] roles # Filter according to the rocon uri of the requesting device. T # If not specified, the manager will assume 'rocon://' (wildcards) string uri --- Interaction[] interactions
-
rocon_interaction_msgs/GetRoles
¶ Field (Request): - uri (string) –
Field (Response): - roles[] (string) –
For remocons who need to retrieve a filtered list of roles appropriate to the role and platform they will run for/on.
Filter according to the rocon uri of the requesting device. T If not specified, the manager will assume ‘rocon://’ (wildcards)
# For remocons who need to retrieve a filtered list of roles # appropriate to the role and platform they will run for/on. # Filter according to the rocon uri of the requesting device. T # If not specified, the manager will assume 'rocon://' (wildcards) string uri --- string[] roles
-
rocon_interaction_msgs/SetInteractions
¶ Field (Request): - interactions[] (rocon_interaction_msgs/Interaction) –
- load (bool) –
Field (Response): - result (bool) –
Extend or delete the rocon interactions database with this list.
# Extend or delete the rocon interactions database with this list. Interaction[] interactions # If true, load, else attempt to unload them. bool load --- bool result # Could use better error handling here - provide a list of what got # got manipulated and what did not.