RMVL  2.4.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
rm::para::HikLightControlParam类 参考

HikLightControlParam 参数模块 更多...

#include <rmvlpara/light/hik_light_control.h>

rm::para::HikLightControlParam 的协作图:

Public 成员函数

 HikLightControlParam ()=default
 创建 HikLightControlParam 参数对象
bool read (const std::string &path)
 从指定 YAML 文件中加载,并读取至 HikLightControlParam
bool write (const std::string &path) const
 HikLightControlParam 的数据写入指定的 YAML 文件中

Public 属性

double DELAY_AFTER_WRITE = 10.0
 串口写入后的延时时间,单位 ms

详细描述

HikLightControlParam 参数模块

构造及析构函数说明

◆ HikLightControlParam()

rm::para::HikLightControlParam::HikLightControlParam ( )
default

创建 HikLightControlParam 参数对象

警告
不建议手动创建对象

成员函数说明

◆ read()

bool rm::para::HikLightControlParam::read ( const std::string & path)
Python:
rm.HikLightControlParam.read(path) -> <success ?>

从指定 YAML 文件中加载,并读取至 HikLightControlParam

注解
YAML 文件的后缀允许是 *.yml*.yaml
参数
[in]path参数路径
返回
是否读取成功

◆ write()

bool rm::para::HikLightControlParam::write ( const std::string & path) const
Python:
rm.HikLightControlParam.write(path) -> <success ?>

HikLightControlParam 的数据写入指定的 YAML 文件中

注解
YAML 文件的后缀允许是 *.yml*.yaml
参数
[in]path参数路径
返回
是否写入成功

类成员变量说明

◆ DELAY_AFTER_WRITE

double rm::para::HikLightControlParam::DELAY_AFTER_WRITE = 10.0

串口写入后的延时时间,单位 ms

默认值:10.0


该类的文档由以下文件生成: