【问题标题】:"catkin build" not working in ros noetic via docker\"catkin build\" 无法通过 docker 在 ros noetic 中工作
【发布时间】:2023-01-14 07:29:23
【问题描述】:

我在 Windows 上通过 docker 使用 ros noetic。

命令“catkin build”返回“bash:catkin:command not found”。

我试过了:

  • sudo pip3 install git+https://github.com/catkin/catkin_tools.git

  • sudo apt-get 安装 python3-catkin-tools

没有任何效果。

有人可以帮忙吗?

【问题讨论】:

  • 您使用的是官方 ROS docker 镜像吗?还是自己建的?
  • 你能复制docker inspect <image or container name>的输出吗?可能你的entrypoint不见了

标签: docker ros


【解决方案1】:

您缺少让系统知道 catkin 是什么的源代码部分。尝试执行 source /opt/ros/noetic/setup.bash 并在您的工作区中运行命令 catkin build

【讨论】:

    猜你喜欢
    • 2021-11-21
    • 2023-01-29
    • 2019-06-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-19
    • 1970-01-01
    相关资源
    最近更新 更多