get_angular_combined.py 文件源码

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

项目:dashgo 作者: EAIBOT 项目源码 文件源码
def __init__(self):
    self.lock = threading.Lock()
    self.sub_imu = rospy.Subscriber('robot_pose_ekf/odom_combined', PoseWithCovarianceStamped, self.imu_cb)
    self.last_imu_angle = 0
    self.imu_angle = 0
    while not rospy.is_shutdown():
      rospy.sleep(0.1)
      rospy.loginfo("imu_angle:"+str((self.imu_angle)*180/3.1415926))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号