wbc
JointLimitAvoidanceController.hpp
Go to the documentation of this file.
1#ifndef JOINT_LIMIT_AVOIDANCE_CONTROLLER_HPP
2#define JOINT_LIMIT_AVOIDANCE_CONTROLLER_HPP
3
4#include "PotentialField.hpp"
6#include <base/JointLimits.hpp>
7#include <base/commands/Joints.hpp>
8
9namespace wbc {
10
12protected:
13 base::JointLimits joint_limits;
14 base::commands::Joints joints_control_output;
15 double epsilon;
16
17public:
18 JointLimitAvoidanceController(const base::JointLimits& limits,
19 const base::VectorXd &influence_distance);
24 const base::commands::Joints& update(const base::samples::Joints& feedback);
29 void setJointLimits(const base::JointLimits& limits);
31 void setEpsilon(const double eps){epsilon = eps;}
32};
33
34}
35
36#endif
Definition JointLimitAvoidanceController.hpp:11
double epsilon
Definition JointLimitAvoidanceController.hpp:15
base::JointLimits joint_limits
Definition JointLimitAvoidanceController.hpp:13
void setEpsilon(const double eps)
Definition JointLimitAvoidanceController.hpp:31
JointLimitAvoidanceController(const base::JointLimits &limits, const base::VectorXd &influence_distance)
Definition JointLimitAvoidanceController.cpp:9
const base::commands::Joints & update(const base::samples::Joints &feedback)
update Compute control output
Definition JointLimitAvoidanceController.cpp:33
void setJointLimits(const base::JointLimits &limits)
setJointLimits set upper and lower joint limits for the controller
base::commands::Joints joints_control_output
Definition JointLimitAvoidanceController.hpp:14
Base class for potential field controllers.
Definition PotentialFieldsController.hpp:12
Definition ContactsAccelerationConstraint.cpp:3