#!/bin/bash
# 交互式启动 BaYeSe perf 容器，entrypoint 为 /bin/bash
# 用于在容器内交互式使用 BPU（hrt_model_exec 等工具）

docker run -it --rm \
  --name hrt-perf-bayese-interactive \
  --privileged \
  -v /opt/hobot:/opt/hobot:ro \
  -v /usr/hobot:/usr/hobot:ro \
  -v /opt/tros:/opt/tros:ro \
  -v /lib/aarch64-linux-gnu:/host_lib/aarch64-linux-gnu:ro \
  -e LD_LIBRARY_PATH="/usr/hobot/lib:/host_lib/aarch64-linux-gnu:/lib/aarch64-linux-gnu" \
  -e ROS_DOMAIN_ID=0 \
  --entrypoint /bin/bash \
  hrt_perf_bayese:v1.24.5
