记录二维码标定ROS小车
前一段时间电脑系统崩溃,导致Ubuntu重装。
- 共享文件夹方法:
https://jingyan.baidu.com/article/fec7a1e54ff0935191b4e765.html
- Ubuntu 网络激活失败解决办法
(但是解决后好像还是会继续出现这个毛病):
https://blog.youkuaiyun.com/Javaxw666/article/details/88137325
- 编译出错:
分析:缺少缺少ros的串口包
解决办法:
sudo apt-get install ros-melodic-serial
见博客:https://blog.youkuaiyun.com/weixin_37058227/article/details/79319056
- 编译出错:
关于serialport,没有在include中找到头文件 “serial_port/xyz.h”,serialport的include文件夹是空的
[ 86%] Built target rplidarNode
Scanning dependencies of target apriltags2_ros_generate_messages
[ 86%] Built target apriltags2_ros_generate_messages
/home/superman/catkin_ws/src/serial_port/src/serial_port.cpp:12:14: error: ‘laser’ in namespace ‘serial_port’ does not name a type
serial_port::laser laser_array;
^~~~~
/home/superman/catkin_ws/src/serial_port/src/serial_port.cpp:61:47: error: ‘laser’ in namespace ‘serial_port’ does not name a type
void chatterCallback_laser(const serial_port::laser::ConstPtr& msg)//
^~~~~
/home/superman/catkin_ws/src/serial_port/src/serial_port.cpp:61:62: error: expected unqualified-id before ‘&’ token
void chatterCallback_laser(c