1 Star 1 Fork 0

deepjunjie/lidar_IMU_calib_for_RS-16

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
calib.sh 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
bag_path="/home/neu/work/ar_junjie/calibration/lidar_imu_data"
outdoor_sync_bag_name=(
#"Court-01.bag"
#"Court-02.bag"
#"Court-03.bag"
#"Court-04.bag"
#"Court-05.bag"
)
indoor_sync_bag_name=(
"2023-12-02-22-25-27.bag"
#"Garage-02.bag"
#"Garage-03.bag"
#"Garage-04.bag"
#"Garage-05.bag"
)
imu_topic_name=(
"/imu/data"
#"/imu2/data_sync"
#"/imu3/data_sync"
)
bag_start=30
bag_durr=60
scan4map=15
timeOffsetPadding=0.015
show_ui=true #false
bag_count=-1
sync_bag_name=(${outdoor_sync_bag_name[*]} ${indoor_sync_bag_name[*]})
for i in "${!sync_bag_name[@]}"; do
let bag_count=bag_count+1
ndtResolution=0.5 # indoor
if [ $bag_count -lt ${#outdoor_sync_bag_name[*]} ]; then
ndtResolution=1.0 # outdoor
fi
for j in "${!imu_topic_name[@]}"; do
path_bag="$bag_path/${sync_bag_name[i]}"
echo "topic_imu:=${imu_topic_name[j]}"
echo "path_bag:=${path_bag}"
echo "ndtResolution:=${ndtResolution}"
echo "=============="
roslaunch li_calib licalib_gui.launch \
topic_imu:="${imu_topic_name[j]}" \
path_bag:="${path_bag}" \
bag_start:="${bag_start}" \
bag_durr:="${bag_durr}" \
scan4map:="${scan4map}" \
lidar_model:="RS_16" \
time_offset_padding:="${timeOffsetPadding}"\
ndtResolution:="${ndtResolution}" \
show_ui:="${show_ui}"
done
done
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/deep-blue-hero/lidar_-imu_calib_for_-rs-16.git
git@gitee.com:deep-blue-hero/lidar_-imu_calib_for_-rs-16.git
deep-blue-hero
lidar_-imu_calib_for_-rs-16
lidar_IMU_calib_for_RS-16
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385