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

RunePredictorParam 参数模块 更多...

#include <rmvlpara/predictor/rune_predictor.h>

rm::para::RunePredictorParam 的协作图:

Public 成员函数

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

Public 属性

float PREDICT_K = 1.f
 动态预测量系数
 
float PREDICT_B = 0.f
 静态预测量偏置
 

详细描述

RunePredictorParam 参数模块

构造及析构函数说明

◆ RunePredictorParam()

rm::para::RunePredictorParam::RunePredictorParam ( )
default

成员函数说明

◆ load()

bool rm::para::RunePredictorParam::load ( const std::string & path)
inline

从指定 YAML 文件中加载 RunePredictorParam

弃用
请使用 read 方法

◆ read()

bool rm::para::RunePredictorParam::read ( const std::string & path)

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

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

◆ write()

bool rm::para::RunePredictorParam::write ( const std::string & path) const

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

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

类成员变量说明

◆ PREDICT_B

float rm::para::RunePredictorParam::PREDICT_B = 0.f

静态预测量偏置

注解
默认值:0.f

◆ PREDICT_K

float rm::para::RunePredictorParam::PREDICT_K = 1.f

动态预测量系数

注解
默认值:1.f

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