yaml文件写法

%YAML:1.0
# General sensor definitions.
sensor_type: camera
comment: VI-Sensor cam0 (MT9M034)

# Sensor extrinsics wrt. the body-frame.
T_BS:
  cols: 4
  rows: 4
  data: [0.0148655429818, -0.999880929698, 0.00414029679422, -0.0216401454975,
         0.999557249008, 0.0149672133247, 0.025715529948, -0.064676986768,
        -0.0257744366974, 0.00375618835797, 0.999660727178, 0.00981073058949,
         0.0, 0.0, 0.0, 1.0]

# Camera specific definitions.
rate_hz: 20
resolution: [752, 480]

camera_model: pinhole
intrinsics: [458.654,457.296,367.215,248.375] #fx,fy,cx,cy
intrinsic_matrix: !!opencv-matrix
  cols: 3
  rows: 3
  dt: d
  data: [458.654,0,367.215,
         0.0,457.296,248.375,
         0.0,0.0,1.0]
  
distortion_model: radial-tangential
distortion_coefficients: !!opencv-matrix
  cols: 1
  rows: 4
  dt: d #u represent 8-bit unsigned number
		#c represent 8-bit signed number
        #w represent 16-bit unsigned number
        #s represent 16-bit signed number
        #i represent 32-bit signed number
        #f represent single precision floating-point  number
        #d represent double precision floating-point  number
  data: [-0.28340811, 0.07395907, 0.00019359, 1.76187114e-05]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值