代码拉取完成,页面将自动刷新
#!/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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。