摘要: 基本参数 RS-Lidar-16(以16线为例) 视角(水平)360度,角分辨率0.1度(5Hz)0.4度(20Hz) 视角(垂直)-1515度,角分辨率(垂直) 2度 测距150米 测量精度+/- 2cm 点数~300,000/秒 转速:5/10/20Hz 波长:905nm 功耗:12w 16通道 阅读全文
posted @ 2021-10-13 16:58 Maxwell'Maxwill 阅读(478) 评论(0) 推荐(0) 编辑
摘要: Map Map就是存储key-value对. #include <string> #include <iostream> #include <map> using namespace std; void Printmap(string comment, map<string, int> &m){ c 阅读全文
posted @ 2021-10-13 14:45 Maxwell'Maxwill 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 这个问题来自于input为用','分隔开的字符串,如"1,-8,1,3"。因为有'-',所以不能单个字符处理(除非多写一个if)。以下将该string的逗号去掉,并保存在vector中。 使用strtok分 vector<string> split(string orignal, string de 阅读全文
posted @ 2021-10-13 10:59 Maxwell'Maxwill 阅读(137) 评论(0) 推荐(0) 编辑