Struct VescDriver::CommandLimit

Nested Relationships

This struct is a nested type of Class VescDriver.

Struct Documentation

struct CommandLimit

Public Functions

CommandLimit(rclcpp::Node *node_ptr, const std::string &str, const std::experimental::optional<double> &min_lower = std::experimental::optional<double>(), const std::experimental::optional<double> &max_upper = std::experimental::optional<double>())
double clip(double value)

Public Members

rclcpp::Node *node_ptr
rclcpp::Logger logger
std::string name
std::experimental::optional<double> lower
std::experimental::optional<double> upper