上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 一、通过包管理器安装 #Debian: sudo apt install libspdlog-dev #Homebrew: brew install spdlog #MacPorts: sudo port install spdlog #FreeBSD: pkg install spdlog #Fe 阅读全文
posted @ 2021-11-22 15:25 chenjian688 阅读(4494) 评论(0) 推荐(0)
摘要: 1、std::lock_guard 这个类是一个互斥量的包装类,用来提供自动为互斥量上锁和解锁的功能,简化了多线程编程,用法如下: #include <mutex> std::mutex kMutex; void function() { // 构造时自动加锁 std::lock_guard<std 阅读全文
posted @ 2021-11-05 13:56 chenjian688 阅读(159) 评论(0) 推荐(0)
摘要: nohup ./frps &ps -aux | grep "frps" kill -9 PID 阅读全文
posted @ 2021-10-27 20:22 chenjian688 阅读(216) 评论(0) 推荐(0)
摘要: 一、插件安装 二、快捷键配置 extension.fileheader 是文件头的注释快捷键 extension.cursorTip 是函数注释的快捷键 三、json文件配置 "fileheader.customMade": { //文件头注释 "Date": "Do not edit", // 文 阅读全文
posted @ 2021-10-27 13:43 chenjian688 阅读(511) 评论(0) 推荐(0)
摘要: 一、下载到自己工作空间使用 sudo apt-get install libgps-dev cd catkin_ws/src git clone https://github.com/swri-robotics/gps_umd.git cd .. catkin_make 二、安装到系统目录 sudo 阅读全文
posted @ 2021-10-24 22:03 chenjian688 阅读(1907) 评论(0) 推荐(0)
摘要: 一、安装 vnc viewer的安装很简单,去realvnc官网下载即可 vnc service的安装也一样,不过安装后需要先用图形界面启动一次,才能使用vnc service 远程监控。(原因未知) 二、问题及解决办法 1、有的Ubuntu 18.04 重启后,出现如下问题 This only h 阅读全文
posted @ 2021-09-18 13:18 chenjian688 阅读(564) 评论(0) 推荐(0)
摘要: 1、曲率半径的计算 一般小汽车的转弯半径为8-12米 一般无人车的轨迹跟踪需要用到轨迹的曲率,规划器根据当前位置规划出一段局部轨迹,一般会多给出车后的几个点,规定各点间距1m,给出55个点即可。用三点拟合圆,求曲率,每次只求第二个点的曲率,假设第一个点和最后一个点的曲率和最近点的曲率相同。则一共算5 阅读全文
posted @ 2021-04-30 17:13 chenjian688 阅读(530) 评论(0) 推荐(0)
摘要: 一、从机设置 1、hosts设置 运行下列命令 sudo gedit /etc/hosts 添加下列命令 192.168.1.70 nvidia-desktop #主机ip和机器名 2、.bashrc中添加 export ROS_MASTER_URI=http://192.168.1.70:1131 阅读全文
posted @ 2021-04-30 09:53 chenjian688 阅读(348) 评论(0) 推荐(0)
摘要: 1、安装ssh服务 sudo apt install ssh 2、启动ssh服务 sudo systemctl start ssh #单次启动ssh-server,重启失效 sudo systemctl enable ssh #设置ssh服务端开机自启 sudo /etc/init.d/ssh st 阅读全文
posted @ 2021-04-26 11:12 chenjian688 阅读(227) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/13efab3f67e0 新建的package 用rosrun 不会自动补全 就自己打一遍,以后就会提示了 阅读全文
posted @ 2021-04-15 13:47 chenjian688 阅读(104) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页