def get_command_dict(self): """Build dictionary from all published command messages""" d = {} for k, v in self.published_command.items(): d[k] = m3t.GetDictFromMsg(v['command']) return d
def get_param_dict(self): """Build dictionary from all published param messages""" d = {} for k, v in self.published_param.items(): d[k] = m3t.GetDictFromMsg(v['param']) return d
def get_status_dict(self): """Build dictionary from all subscribed status messages""" d = {} for k, v in self.subscribed.items(): d[k] = m3t.GetDictFromMsg(v['status']) return d