Skip to content

Commit

Permalink
Fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoxi-scut committed Feb 3, 2024
1 parent 48f74a1 commit eafd091
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmake/RMVLModule.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ macro(rmvl_add_module _name)
install(
TARGETS ${the_module}
EXPORT RMVLModules
ARCHIVE DESTINATION ${RMVL_LIB_INSTALL_PATH}
LIBRARY DESTINATION ${RMVL_LIB_INSTALL_PATH}
)

Expand Down
2 changes: 1 addition & 1 deletion doc/intro.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RMVL 起源于 SRVL(SCUT Robotlab Vision Library——华南理工大学机器

#### 使用对象与基本情况

RMVL 为视觉硬件设备的二次开发、网络通信、串口通信、部分算法提供了相应的支持库,为工业、日常环境下某些特征的识别、追踪等提供了完整的流程,同时也可为 RoboMaster 参赛者提供有关装甲板识别与运动追踪、能量机关识别与运动追踪等自动瞄准的完整内容,具体可提供的内容如下
RMVL 为硬件设备的二次开发、网络通信、串口通信以及运动、控制、视觉算法提供了相应的支持库,为工业、日常环境下某些特征的识别、追踪等提供了完整的流程,同时也可为 RoboMaster 参赛者提供有关装甲板识别与运动追踪、能量机关识别与运动追踪等自动瞄准的完整内容,具体可提供的内容如下

- 机器人在一些经典的、特有的工作环境下的功能需求,涉及到运动追踪、视觉识别等内容
- 控制、通信、数据结构的基础工具库
Expand Down
2 changes: 1 addition & 1 deletion modules/core/include/rmvl/core/serial.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class SerialPort
{
bool retval{false};
constexpr int LENGTH = 512;
constexpr int SIZE = sizeof(SerialPort);
constexpr int SIZE = sizeof(Tp);
unsigned char buffer[LENGTH] = {0};
ssize_t len_result = fdread(buffer, LENGTH);
for (ssize_t i = 0; (i + SIZE + 1) < len_result; i++)
Expand Down

0 comments on commit eafd091

Please sign in to comment.