plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::exec::PitchErrorTable类 参考

#include <mechanical_compensation.h>

Public 成员函数

rt::ErrorCode build (const PitchErrorPoint *points, std::size_t count, PitchInterpolationMode mode=PitchInterpolationMode::pchip)
bool valid () const
std::size_t size () const
PitchInterpolationMode mode () const
rt::Result< PitchErrorSample > evaluate (double nominal_position) const
rt::Result< otg::State1D > compensate_state (otg::State1D nominal) const
rt::Result< double > invert_position (double motor_position) const
rt::Result< otg::State1D > invert_state (otg::State1D motor) const

静态 Public 属性

static constexpr std::size_t MaxPoints = 128
static constexpr double MaxSlopeAbs = 0.5

详细描述

在文件 mechanical_compensation.h 第 48 行定义.

成员函数说明

◆ build()

rt::ErrorCode plcopen::core::exec::PitchErrorTable::build ( const PitchErrorPoint * points,
std::size_t count,
PitchInterpolationMode mode = PitchInterpolationMode::pchip )
inline

在文件 mechanical_compensation.h 第 54 行定义.

◆ compensate_state()

rt::Result< otg::State1D > plcopen::core::exec::PitchErrorTable::compensate_state ( otg::State1D nominal) const
inline

在文件 mechanical_compensation.h 第 384 行定义.

◆ evaluate()

rt::Result< PitchErrorSample > plcopen::core::exec::PitchErrorTable::evaluate ( double nominal_position) const
inline

在文件 mechanical_compensation.h 第 354 行定义.

◆ invert_position()

rt::Result< double > plcopen::core::exec::PitchErrorTable::invert_position ( double motor_position) const
inline

在文件 mechanical_compensation.h 第 409 行定义.

◆ invert_state()

rt::Result< otg::State1D > plcopen::core::exec::PitchErrorTable::invert_state ( otg::State1D motor) const
inline

在文件 mechanical_compensation.h 第 572 行定义.

◆ mode()

PitchInterpolationMode plcopen::core::exec::PitchErrorTable::mode ( ) const
inline

在文件 mechanical_compensation.h 第 352 行定义.

◆ size()

std::size_t plcopen::core::exec::PitchErrorTable::size ( ) const
inline

在文件 mechanical_compensation.h 第 351 行定义.

◆ valid()

bool plcopen::core::exec::PitchErrorTable::valid ( ) const
inline

在文件 mechanical_compensation.h 第 350 行定义.

类成员变量说明

◆ MaxPoints

std::size_t plcopen::core::exec::PitchErrorTable::MaxPoints = 128
staticconstexpr

在文件 mechanical_compensation.h 第 51 行定义.

◆ MaxSlopeAbs

double plcopen::core::exec::PitchErrorTable::MaxSlopeAbs = 0.5
staticconstexpr

在文件 mechanical_compensation.h 第 52 行定义.


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