Beispiel #1
0
 def _pub_remocon_status(self, app_hash, running_app):
     remocon_status = rocon_interaction_msgs.RemoconStatus()
     remocon_status.platform_info = self.platform_info
     remocon_status.uuid = str(self.key.hex)
     remocon_status.running_app = running_app
     remocon_status.hash = app_hash
     print "[remocon_info] publish remocon status"
     self.remocon_status_pub.publish(remocon_status)
Beispiel #2
0
 def _publish_remocon_status(self):
     remocon_status = interaction_msgs.RemoconStatus()
     remocon_status.platform_info = self.platform_info
     remocon_status.uuid = str(self.key.hex)
     remocon_status.version = rocon_std_msgs.Strings.ROCON_VERSION
     running_interactions = []
     for interaction_hash in self.launched_interactions.active():
         running_interactions.append(interaction_hash)
     remocon_status.running_interactions = running_interactions
     console.logdebug("Remocon : publishing remocon status")
     self.remocon_status_publisher.publish(remocon_status)
Beispiel #3
0
 def _publish_remocon_status(self):
     remocon_status = rocon_interaction_msgs.RemoconStatus()
     remocon_status.platform_info = self.platform_info
     remocon_status.uuid = str(self.key.hex)
     remocon_status.version = rocon_std_msgs.Strings.ROCON_VERSION
     running_interactions = []
     for interaction in self._interactions_table.interactions:
         for unused_process_name in interaction.launch_list.keys():
             running_interactions.append(interaction.hash)
     remocon_status.running_interactions = running_interactions
     console.logdebug("Interactive Client : publishing remocon status")
     self.remocon_status_pub.publish(remocon_status)