PilotParam 参数模块
更多...
#include <rmvlpara/feature/pilot.h>
◆ PilotParam()
| rm::para::PilotParam::PilotParam |
( |
| ) |
|
|
default |
◆ load()
| bool rm::para::PilotParam::load |
( |
const std::string & | path | ) |
|
|
inline |
◆ read()
| bool rm::para::PilotParam::read |
( |
const std::string & | path | ) |
|
| Python: |
|---|
| rm.PilotParam.read( | path | ) -> | <success ?> |
从指定 YAML 文件中加载,并读取至 PilotParam 中
- 注解
YAML 文件的后缀允许是 *.yml 和 *.yaml
- 参数
-
- 返回
- 是否读取成功
◆ write()
| bool rm::para::PilotParam::write |
( |
const std::string & | path | ) |
const |
| Python: |
|---|
| rm.PilotParam.write( | path | ) -> | <success ?> |
将 PilotParam 的数据写入指定的 YAML 文件中
- 注解
YAML 文件的后缀允许是 *.yml 和 *.yaml
- 参数
-
- 返回
- 是否写入成功
◆ MAX_RATIO
| float rm::para::PilotParam::MAX_RATIO = 4.f |
◆ MIN_AREA
| float rm::para::PilotParam::MIN_AREA = 10.f |
◆ MIN_RATIO
| float rm::para::PilotParam::MIN_RATIO = 1.f |
◆ VERTEX_K
| float rm::para::PilotParam::VERTEX_K = 6.f |
该类的文档由以下文件生成: