Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 933 Bytes

write_imu_params.rst

File metadata and controls

29 lines (18 loc) · 933 Bytes

写入 IMU 标定参数

SDK提供了写入IMU标定参数的工具 imu_params_writer

有关如何获取, 请阅读 :ref:`get_imu_params`

参考运行命令:

./tools/_output/bin/writer/imu_params_writer tools/writer/config/imu.params
# Windows
.\tools\_output\bin\writer\imu_params_writer.bat tools\writer\config\imu.params

其中,tools/writer/config/imu.params 是参数文件路径。如果你自己标定了参数,可以编辑此文件,然后执行上述命令写入设备。

Warning

请不要随意覆写参数。另外 save_all_infos 工具可帮你备份参数。

完整代码样例 imu_params_writer.cc