在ROS中建立、编译、下载安装、删除包package

本文介绍如何使用Git从源代码检查并构建ROS包到个人的Catkin工作空间中,并提供了更新现有ROS包的具体步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Git
Let’s assume that the Git source you would like to check out is located at
git://repository/package_name. To do the initial checkout and build the package in
your personal catkin directory, run the following commands. (If necessary, change the
first command to reflect the actual location of your personal catkin source directory.)

cd ~/catkin_ws/src
git clone git://repository/package_name
cd ~/catkin_ws
catkin_make
source devel/setup.bash
rospack profile
To update the package later on, run the commands:
Reviewing the ROS Basics - 21$

cd ~/catkin_ws/src/package_name
git pull
cd ~/catkin_ws
catkin_make
source devel/setup.bash

评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值