cpp_robotics::PSMC
#include <psmc.hpp>
Public Classes
Name | |
---|---|
struct | param_t |
Public Functions
Name | |
---|---|
PSMC() | |
PSMC(param_t param) | |
PSMC(double p, double d, double Hs, double dt) | |
PSMC(double p, double d, double Hs, double min_output, double max_output, double dt) | |
void | reset() |
void | set_param(param_t param) |
double | calculate(double target_val, double now_val) |
double | calculate(double target_val, double now_val, double target_velocity, double now_velocity) |
double & | Kp() |
double & | Kd() |
double & | Hs() |
Public Functions Documentation
function PSMC
inline PSMC()
function PSMC
inline PSMC(
param_t param
)
function PSMC
inline PSMC(
double p,
double d,
double Hs,
double dt
)
function PSMC
inline PSMC(
double p,
double d,
double Hs,
double min_output,
double max_output,
double dt
)
function reset
inline void reset()
function set_param
inline void set_param(
param_t param
)
function calculate
inline double calculate(
double target_val,
double now_val
)
function calculate
inline double calculate(
double target_val,
double now_val,
double target_velocity,
double now_velocity
)
function Kp
inline double & Kp()
function Kd
inline double & Kd()
function Hs
inline double & Hs()
Updated on 2024-05-28 at 06:55:39 +0000