示例#1
0
文件: rt_proxy.py 项目: cxyhjl/m3core
 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
示例#2
0
文件: rt_proxy.py 项目: cxyhjl/m3core
 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
示例#3
0
文件: rt_proxy.py 项目: cxyhjl/m3core
 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