mobile_tracker.py 文件源码

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

项目:overhead_mobile_tracker 作者: NU-MSR 项目源码 文件源码
def transform_pose(self, pose):
        try:
            new_pose = self.listener.transformPose(self.frame_id, pose)
            # now new_pose should be the pose of the tag in the odom_meas frame.
            # Let's ignore the height, and rotations not about the z-axis
            new_pose.pose.position.z = 0
        except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException):
            return None
        return new_pose
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号