We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6c3d56 commit cf65eefCopy full SHA for cf65eef
src/standard_robot_pp_ros2.cpp
@@ -295,7 +295,7 @@ void StandardRobotPpRos2Node::receiveData()
295
// sof[0] == SOF_RECEIVE 后读取剩余 header_frame 内容
296
std::vector<uint8_t> header_frame_buf(3); // sof 在读取完数据后添加
297
298
- serial_driver_->port()->receive(header_frame_buf); // 读取除 sof 外剩下的数据
+ serial_driver_->port()->receive(header_frame_buf); // 读取除 sof 外剩下的数据
299
header_frame_buf.insert(header_frame_buf.begin(), sof[0]); // 添加 sof
300
HeaderFrame header_frame = fromVector<HeaderFrame>(header_frame_buf);
301
0 commit comments