nav_square.py 文件源码

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

项目:mrobot-indigo 作者: ROSClub1 项目源码 文件源码
def get_odom(self):
        # Get the current transform between the odom and base frames
        try:
            (trans, rot)  = self.tf_listener.lookupTransform(self.odom_frame, self.base_frame, rospy.Time(0))
        except (tf.Exception, tf.ConnectivityException, tf.LookupException):
            rospy.loginfo("TF Exception")
            return

        return (Point(*trans), quat_to_angle(Quaternion(*rot)))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号