08 2019 档案

摘要:工作空间名为catkin_cart 1.安装步骤: https://google-cartographer-ros.readthedocs.io/en/latest/compilation.html 2.按照他的步骤来,会在最后编译的时候出错 3.解决思路。 删除掉之前安装的cere和protobu 阅读全文
posted @ 2019-08-30 11:42 penuel 阅读(815) 评论(0) 推荐(0)
摘要:1.主机: sudo /etc/hosts 写入从机的地址和用户名: 192.168.31.14 raspi2 2.从机 sudo /etc/hosts 写入主机的地址和用户名 192.168.31.198 hcx vim ~/.zshrc 写入 export ROS_MASTER_URI=hcx: 阅读全文
posted @ 2019-08-28 17:24 penuel 阅读(441) 评论(0) 推荐(0)
摘要:1.sudo vim /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf 2.添加autologin-user=yourusername 阅读全文
posted @ 2019-08-27 16:20 penuel 阅读(1155) 评论(0) 推荐(0)
摘要:1.打开树莓派配置 2.选择 localisation options 3.选择 change Timezone,在里面选择亚洲ASIAN,里面选择地址,我选的上海 4.选择change wi-fi country,选择中国 阅读全文
posted @ 2019-08-27 09:18 penuel 阅读(2047) 评论(0) 推荐(0)
摘要:1、打开树莓派设置 sudo raspi-config,选择 5、Interfacing Options ,然后回车: 2、选择3 VNC,再回车: 3、选择yes: 4、编辑vncserver,sudo vim /etc/init.d/vncserver,添加以下命令,然后保存退出: 5、修改权限 阅读全文
posted @ 2019-08-27 09:15 penuel 阅读(752) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_40641902/article/details/79607225 1.直接下载 Understand-3.1.670-Linux-64bit.tgz文件:https://pan.baidu.com/s/1i52nrut(感谢博主提供资源!) 阅读全文
posted @ 2019-08-13 10:40 penuel 阅读(2238) 评论(0) 推荐(0)
摘要:服务端实现一个加法,将结果反馈给客户端 客户端将要计算的和的两个数发给服务的。 1.自定义服务数据 创建一个srv文件:AddTwoInts.srv 上面是request数据,下面是response数据,中间用 隔开 打开package.xml文件,加入 打开CMakeLists.txt文件加入 2 阅读全文
posted @ 2019-08-13 10:18 penuel 阅读(324) 评论(0) 推荐(0)
摘要:1.listener.cpp 2.talker.cpp 3.CMakeList.txt加入 阅读全文
posted @ 2019-08-12 17:26 penuel 阅读(246) 评论(0) 推荐(0)
摘要:https://github.com/tonyrobotics/RoboWare/ https://blog.csdn.net/lixujie666/article/details/80139112 roboware-studio 打开软件 阅读全文
posted @ 2019-08-12 16:17 penuel 阅读(1469) 评论(0) 推荐(0)
摘要:1.mkdir catkin_ws/src 2.cd catkin_ws/src 3.catkin_init_workspace 4.cd ~/catkin_ws/ 5.catkin_make 6.在bashrc中添加 source ~/catkin_ws/devel/setup.bash 7.so 阅读全文
posted @ 2019-08-12 15:16 penuel 阅读(3280) 评论(0) 推荐(0)
摘要:1.查看节点关系图: rqt_graph 2.查看当前系统话题列表 rostopic list 3.显示当前系统话题的数据 rostopic echo [topic] topic为话题名 4.日志输出工具 rqt_console 5.数据绘图工具 rqt_plot 6.动态参数配置工具 rosrun 阅读全文
posted @ 2019-08-12 15:10 penuel 阅读(424) 评论(0) 推荐(0)
摘要:1.因为pthread不是C标准库,需要链接 2.在CMakeLists.txt里添加: FIND_PACKAGE(Threads REQUIRED) TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${CMAKE_THREAD_LIBS_INIT}) 阅读全文
posted @ 2019-08-11 21:16 penuel 阅读(2174) 评论(0) 推荐(0)
摘要:1.卸载 sudo apt-get remove libprotobuf-dev which protoc 然后删除路径即可 2.安装 sudo apt-get install autoconf automake libtool curl make g++ unzip git clone -b v3 阅读全文
posted @ 2019-08-11 11:39 penuel 阅读(6278) 评论(0) 推荐(0)
摘要:1.sudo updatedb 2.locate eigen3 3.手动删除 阅读全文
posted @ 2019-08-10 20:45 penuel 阅读(2609) 评论(0) 推荐(0)
摘要:使用张明明大神修改编译版 注意:中间出过很多错误,大部分是开源包eigen,protobuf的版本与该SLAM不匹配。 之前装了eigen的,删掉。protobuf我装的是3.6.1 1.安装依赖性: sudo apt-get install -y google-mock libboost-all- 阅读全文
posted @ 2019-08-10 20:31 penuel 阅读(1115) 评论(0) 推荐(0)
摘要:1.排除网络问题 2.增加TIMEOUT的时间: 更改 /usr/lib/python2.7/dist-packages/rosdep2/下的三个文件sources_list.py、gbpdistro_support.py、rep3.py中的DOWNLOAD_TIMEOUT = 15.0值,改大一点 阅读全文
posted @ 2019-08-09 15:06 penuel 阅读(11476) 评论(0) 推荐(0)
摘要:1.下载: git clone https://github.com/raulmur/ORB_SLAM2.git ORB_SLAM2 2.依赖项: sudo apt install autotools-dev ccache doxygen dh-autoreconf git liblapack-de 阅读全文
posted @ 2019-08-09 15:04 penuel 阅读(3969) 评论(0) 推荐(0)
摘要:1.官方教程https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation 2.在http://developer.nvidia.com/cuda-downloads上下载安装包 3. 阅读全文
posted @ 2019-08-09 12:10 penuel 阅读(3325) 评论(0) 推荐(0)
摘要:https://github.com/stevenlovegrove/Pangolin 阅读全文
posted @ 2019-08-09 11:28 penuel 阅读(1571) 评论(0) 推荐(0)
摘要:http://eigen.tuxfamily.org/index.php?title=Special%3AAllPages&from=&to=&namespace=100 除非特别需要,不建议独立安装eigen,因为什么开源库需要的版本不一样,ros也会安装。 1.git clone https:/ 阅读全文
posted @ 2019-08-09 11:10 penuel 阅读(766) 评论(0) 推荐(0)
摘要:1.安装依赖项: sudo apt-get install cmake libeigen3-dev libsuitesparse-dev qtdeclarative5-dev qt5-qmake libqglviewer-dev 2. mkidr build cd build cmake .. ma 阅读全文
posted @ 2019-08-09 11:06 penuel 阅读(1858) 评论(0) 推荐(0)
摘要:1.官网下载(www.boost.org) 2.解压并进入文件夹 3.使用命令./bootstrap.sh,可以通过加上--prefix help 4.使用命令./b2 install etc.如果运行发现缺少文件,ex.缺少threadpool文件,那么就去threadpool官网下载并安装 阅读全文
posted @ 2019-08-09 10:17 penuel 阅读(2770) 评论(0) 推荐(0)
摘要:查询可更换内核的序号 gedit /boot/grub/grub.cfg查询已安装的内核和内核的序号。找到文件中的menuentry (图中在一大堆fi-else底下)menuentry底下还有submenu,submenu底下就包含了 带有缩进的 menuentry。以下是计数规则: 第一个men 阅读全文
posted @ 2019-08-08 18:34 penuel 阅读(4653) 评论(0) 推荐(0)
摘要:1.顶层const表示指针本身是一个常量。 int i = 0; int *const p1 = &i; const int ci = 42; 代表指针指向的地址是不能变的。 2.底层const表示指针指向的对象是一个常量。 const int ci = 2; const int *p2 = &ci 阅读全文
posted @ 2019-08-08 17:32 penuel 阅读(519) 评论(0) 推荐(1)
摘要:下载和添加依赖包1、首先更新 apt-get,在安装前最好先更新一下系统,不然有可能会安装失败。在终端输入: sudo apt-get update sudo apt-get upgrade2、接着安装官方给的opencv依赖包,在终端输入: sudo apt-get install build-e 阅读全文
posted @ 2019-08-08 11:28 penuel 阅读(2200) 评论(0) 推荐(0)
摘要:1.卸载系统里低版本的英伟达驱动 2.把显卡驱动加入PPA 3.查找英伟达显卡驱动最新版本号 使用终端命令查看Ubuntu推荐的驱动版本 4.然后打开系统里的软件和更新,点击附加驱动,选择nvidia-driver-418进行应用更改。 5.安装完成后重启系统即可,会发现多了一个名为“NVIDIA 阅读全文
posted @ 2019-08-08 08:43 penuel 阅读(2181) 评论(0) 推荐(0)
摘要:https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu git clone https://gitee.com/wszqkzqk/deepin-wine-containers-for-ubuntu 阅读全文
posted @ 2019-08-07 21:24 penuel 阅读(526) 评论(0) 推荐(0)
摘要:安装:apt-get install p7zip-full 解压7z:使用方法:7z x file file是你要解压的文件名 阅读全文
posted @ 2019-08-07 21:21 penuel 阅读(7530) 评论(0) 推荐(0)
摘要:一.问题描述: 本人使用联想拯救者14IFI笔记本在安装Ubuntu系统时会出现无线硬件开关关闭的问题,当然也就无法连网(Wi-Fi)。 (最好先使用 sudo rfkill unblock all) 使用 会出现如下提示 可以看到,优先级前的ideapad_wlan的Hard blocked 默认 阅读全文
posted @ 2019-08-07 14:39 penuel 阅读(1538) 评论(0) 推荐(0)
摘要:1.引导方式一定要选UEFI,否则一些显卡驱动将不能安装 2.安装的时候,要在第四个界面,也就是选择覆盖安装还是保留双系统的那个界面,选择其他,一定要自己分区 3.分区: 4.一共5个重要分区: 1.500M的EFI引导区 2.500M的BIOS分区 3.16G的交换空间 4.挂载/根目录 5.挂载 阅读全文
posted @ 2019-08-07 12:51 penuel 阅读(509) 评论(0) 推荐(0)
摘要:cd ~/.vim/plugged/YouCompleteMe 然后运行./install.py 1.因为我是单独下载的Youcompleteme,所以要将整个文件夹拷贝到上述目录下,再运行 阅读全文
posted @ 2019-08-06 16:00 penuel 阅读(547) 评论(0) 推荐(0)
摘要:1.+重载 class Time { private: int num; public: Time operator+(const Time & t) const; }; Time Time::operator+(const Time & t) const { Time sum; sum.num = 阅读全文
posted @ 2019-08-03 16:12 penuel 阅读(157) 评论(0) 推荐(0)
摘要:1函数模板可以允许以泛型的方式编写程序 template <typename name> 或 template <class name> void swap( name & a, name & b) { name temp; temp = a; a = b; b = temp; } 2.这种写法有一 阅读全文
posted @ 2019-08-02 18:06 penuel 阅读(150) 评论(0) 推荐(0)
摘要:static void MX_USART1_UART_Init(void) { /* USER CODE BEGIN USART1_Init 0 */ /* USER CODE END USART1_Init 0 */ /* USER CODE BEGIN USART1_Init 1 */ /* USER CODE END USART1_Init 1 */ huart... 阅读全文
posted @ 2019-08-02 14:04 penuel 阅读(1384) 评论(0) 推荐(0)
摘要:1.使用的TIM1,配置如下: 2.代码: 阅读全文
posted @ 2019-08-02 13:42 penuel 阅读(1630) 评论(0) 推荐(0)