wstool CMD [ARGS] [OPTIONS] wstool将尝试从上下文推断安装路径 help 帮助提供命令帮助 init 将目录设置为工作空间 set 从工作区配置中添加或更改一个条目 merge 将您的工作区与另一个配置集合并 remove(rm)从工作区配置中删除条目,而不删除文件 scrape 以交互方式将所有找到的非托管VCS子文件夹添加到工作区 ...
mkdir -p new_workspace/src cd new_workspace/src wstool init wstool set repo1 https://github.com/user/repo1.git --git ... # repeat for all repos wstool up preferhttps://to ease multi-system setups, you may use the converter script to convert before committing ...
bash wstool init src <新的.rosinstall文件URL> 重新编译工作空间: 在更新或修改.rosinstall文件后,重新编译你的工作空间以确保所有依赖项都是最新的: bash cd ~/你的工作空间目录 catkin_make 通过以上步骤,你应该能够解决因.rosinstall文件冲突导致的问题,并成功更新或修改你的ROS工作空间配置。
wstool init src # Merge the cartographer_ros rosinstall file and fetch code for dependencies. wstool merge https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall wstool update # Merge the cartographer_ros.rosinstall file and fetch code for dependencies...
wstool init .会创建本地的.rosinstall文件 wstool merge将对应的.rosinstall文件合并到本地 wstool update就可以下载相应文件 这里的gilbreth.rosinstall文件内容如下: - git: local-name: gilbreth uri: https://github.com/swri-robotics/gilbreth.git version: kinetic-devel - git: local-name: universal_robot...
$ wstool init ~/jade /opt/ros/jade set add or changes one entry from your workspace config The command will infer whether you want to add or modify an entry. If you modify, it will only change the details you provide, keeping those you did not provide. if you only provide a uri, ...