- 调整了 TCP 客户端和服务的启动顺序 - 移除了未使用的 include 语句 - 将 handle_data 函数移到了 serial_port_wrapper.cpp 文件的开头 - 删除了未使用的 write_to_port 和 start_periodic_send 函数 -简化了 read_from_port 函数的实现
- 将 std::vector<char> 替换为 std::vector<uint8_t> - 更新相关函数以使用新的数据类型 - 优化数据处理和传输逻辑
- 新增 MessageQueue 类,用于处理消息队列 - 在 TcpService 中添加 process_messages 方法处理消息 - 更新 SlamWrapper 中的逻辑,使用消息队列发送暂停指令 - 优化数据结构命名,提高代码可读性
- 将 serial_port_wrapper、slam_wrapper、tcp_client 和 tcp_service 类的首字母大写 - 更新了文件名以匹配新的类名 - 调整了部分代码缩进和格式以提高可读性
- 将 thirdparty目录下的文件移动到 unitree_robotics 目录 - 更新文件内容,包括版权年份、代码结构等 - 涉及 align.h、Annotation.hpp、Annotations.hpp、any.hpp 和 AnyDataReader.hpp 等文件