control.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:uctf 作者: osrf 项目源码 文件源码
def _subscribe(self):
        assert self.state_subscriber is None
        assert self.position_subscriber is None
        self.state_subscriber = rospy.Subscriber(
            '%s/mavros/state' % self.namespace, State,
            callback=self._state_callback)
        self.position_subscriber = rospy.Subscriber(
            '%s/mavros/global_position/global' % self.namespace, NavSatFix,
            callback=self._position_callback)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号