摘要: 在ros1串口通信中,网上关于使用Serial.h进行串口通信的博客,大多是接收数组的,而接收结构体的较少 本文介绍使用c++ ROS1中Serial库.h读入结构体: //例如,结构体定义如下: typedef struct __attribute__((packed)) { uint16_t t 阅读全文
posted @ 2024-01-21 23:18 Tanگگ 阅读(38) 评论(0) 推荐(0) 编辑
摘要: ROS在串口通信时,当我们插入USB后,catkin_make之后,报错: IO Exception (13): Permission denied, file /tmp/binarydeb/ros-noetic-serial-1.2.1/src/impl/unix.cc, line 151. [E 阅读全文
posted @ 2024-01-21 22:03 Tanگگ 阅读(85) 评论(0) 推荐(0) 编辑