receive.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # coding=utf-8
00003 
00004 __author__ = "Minglong Li"
00005 
00006 import rospy
00007 
00008 class Receive(object):
00009     def __init__(self, topic, msg_type, on_received):
00010         self._topic = topic
00011         self._msg_type = msg_type
00012         self._on_received = on_received
00013         sub = rospy.Subscriber(self._topic, self._msg_type, self._on_received)
00014 


micros_mars_task_alloc
Author(s): Minglong Li , Xiaodong Yi , Yanzhen Wang , Zhongxuan Cai
autogenerated on Mon Jul 1 2019 19:55:03