def _newCommandMessage(self, commandName, **commandArgs):
     commandId = newUUID()
     self.sentCommands.add(commandId)
     commandArgs['commandId'] = commandId
     commandArgs['collectionId'] = self.collectionId
     commandArgs['command'] = commandName
     msg = lcmbotcore.system_status_t()
     msg.value = numpyjsoncoder.encode(commandArgs)
     msg.utime = getUtime()
     return msg
 def _newCommandMessage(self, commandName, **commandArgs):
     commandId = newUUID()
     self.sentCommands.add(commandId)
     commandArgs['commandId'] = commandId
     commandArgs['collectionId'] = self.collectionId
     commandArgs['command'] = commandName
     msg = lcmbotcore.system_status_t()
     msg.value = numpyjsoncoder.encode(commandArgs)
     msg.utime = getUtime()
     return msg
 def _newCommandMessage(self, commandName, **commandArgs):
     commandId = newUUID()
     self.sentCommands.add(commandId)
     commandArgs['commandId'] = commandId
     commandArgs['collectionId'] = self.collectionId
     commandArgs['command'] = commandName
     msg = lcmdrc.affordance_collection_t()
     msg.name = numpyjsoncoder.encode(commandArgs)
     msg.utime = getUtime()
     return msg
 def prettyPrintCollection(self):
     print(
         json.dumps(json.loads(numpyjsoncoder.encode(self.collection)),
                    indent=2))
 def prettyPrintCollection(self):
     print json.dumps(json.loads(numpyjsoncoder.encode(self.collection)), indent=2)