摘要: 阅读全文
posted @ 2024-05-21 13:31 jlyw 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1、在功能包的src目录下创建源文件 cd hello_world_ws/src/hello_world_pkg/src touch hello_world.cpp #include "rclcpp/rclcpp.hpp" int main(int argc, char **argv) { rclc 阅读全文
posted @ 2024-05-20 21:14 jlyw 阅读(3) 评论(0) 推荐(0) 编辑
摘要: (1)创建工作空间 mkdir -p helloWorldWS (2)编译工作空间 cd helloWorldWS colcon build //编译所有功能包 colcon build –packages-select package_name //编译指定的功能包 (3)创建功能包 cd src 阅读全文
posted @ 2024-05-17 20:40 jlyw 阅读(6) 评论(0) 推荐(0) 编辑
摘要: sudo apt install python3-colcon-common-extensions 阅读全文
posted @ 2024-05-17 19:45 jlyw 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 1、cd 进入.repo/manifests cd .repo/manifests 2、执行如下三条命令 git stash git clean -f -d 3、开始同步 .repo/repo/repo sync -c 阅读全文
posted @ 2024-05-15 08:39 jlyw 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 执行vmware-toolbox-cmd disk list命令查看磁盘挂载点,可以看到有两个挂载点: 执行vmware-toolbox-cmd disk shrink /,压缩第一个挂载点 执行vmware-toolbox-cmd disk shrink /boot/efi,压缩第二个挂载点 阅读全文
posted @ 2024-05-14 15:23 jlyw 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1 安装分屏工具terminator 打开ubuntu自带终端,输入sudo apt-get install terminator命令安装分屏工具terminator。 再重新打开ubuntu自带终端,在屏幕上右击 阅读全文
posted @ 2024-05-09 09:25 jlyw 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1 安装分屏工具terminator 打开ubuntu自带终端,输入sudo apt-get install terminator命令安装分屏工具terminator。 再重新打开ubuntu自带终端,在屏幕上右击 阅读全文
posted @ 2024-05-09 09:22 jlyw 阅读(1) 评论(0) 推荐(0) 编辑
摘要: vim /etc/rc.local,加入如下两行 #!/bin/sh -e sudo vmhgfs-fuse .host:/ /mnt/hgfs -o nonempty -o allow_other 确保该文件具有执行权限,sudo chmod a+x /etc/rc.local 阅读全文
posted @ 2024-05-07 16:12 jlyw 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 本文安装ros2系统,以ubuntu20.04为例,不同的ubuntu版本安装方法略有不同 1、确定虚拟机中是否设置了支持UTF-8 使用locale命令查看, 如上图所示,本虚拟机已经支持UTF-8,因此无需设置。如果不支持UTF-8格式,则需要配置支持UTF-8,配置命令如下: sudo apt 阅读全文
posted @ 2024-04-07 11:25 jlyw 阅读(26) 评论(0) 推荐(0) 编辑