Skip to content

Commit

Permalink
优化 CameraConfig 类的创建方式
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoxi-scut committed Jan 26, 2024
1 parent cd911f3 commit 48f74a1
Show file tree
Hide file tree
Showing 27 changed files with 256 additions and 251 deletions.
2 changes: 1 addition & 1 deletion doc/intro.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RMVL 具有模块化结构,这意味着该软件包包含了多个共享或静
| 海康机器人 *HIKROBOT* | Hik |
| 迈德威视 *Mindvision* | Mv |

点击[此处](@ref tutorial_build)可以安装以上相机的 SDK
点击[此处](@ref tutorial_install)可以安装以上相机的 SDK

- @ref ml (**ml**),@ref rmath (**rmath**)

Expand Down
3 changes: 1 addition & 2 deletions doc/root.markdown.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ RMVL 说明文档 {#mainpage}

#### 快速开始

- @ref tutorial_build —— 安装依赖与项目配置
- @ref tutorial_install —— RMVL 编译安装
- @ref tutorial_install —— 安装依赖、项目配置、编译安装
- @ref tutorial_extra_upper_base —— 部署与构建顶层模块

#### 相关模块
Expand Down
2 changes: 1 addition & 1 deletion doc/tutorials/extra/upper/upper_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ std::vector<rm::group::ptr> groups;

```cpp
// 创建并初始化相机
auto p_capture = rm::HikCamera::make_capture(rm::CameraConfig{}.set(rm::GrabMode::Continuous).set(rm::RetrieveMode::OpenCV));
auto p_capture = rm::HikCamera::make_capture(rm::CameraConfig::create(rm::GrabMode::Continuous, rm::RetrieveMode::OpenCV));
```

即可完成相机的初始化。
Expand Down
2 changes: 1 addition & 1 deletion doc/tutorials/introduction/configuration_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ RMVL 的编译、配置选项 {#tutorial_configuration_options}
============

@prev_tutorial{tutorial_install_overview}
@next_tutorial{tutorial_build}
@next_tutorial{tutorial_install}

@tableofcontents

Expand Down
152 changes: 0 additions & 152 deletions doc/tutorials/introduction/linux/build.md

This file was deleted.

Loading

0 comments on commit 48f74a1

Please sign in to comment.