Class robot_dart::control::PolicyControl¶
template <typename Policy>
ClassList > robot_dart > control > PolicyControl
Inherits the following classes: robot_dart::control::RobotControl
Public Functions¶
| Type | Name | 
|---|---|
| PolicyControl ()  | 
|
| PolicyControl (double dt, const Eigen::VectorXd & ctrl, bool full_control=false)  | 
|
| PolicyControl (const Eigen::VectorXd & ctrl, bool full_control=false)  | 
|
| PolicyControl (double dt, const Eigen::VectorXd & ctrl, const std::vector< std::string > & controllable_dofs)  | 
|
| PolicyControl (const Eigen::VectorXd & ctrl, const std::vector< std::string > & controllable_dofs)  | 
|
| virtual Eigen::VectorXd | calculate (double t) override | 
| virtual std::shared_ptr< RobotControl > | clone () override const | 
| virtual void | configure () override | 
| Eigen::VectorXd | h_params () const | 
| void | set_h_params (const Eigen::VectorXd & h_params)  | 
Public Functions inherited from robot_dart::control::RobotControl¶
See robot_dart::control::RobotControl
| Type | Name | 
|---|---|
| RobotControl ()  | 
|
| RobotControl (const Eigen::VectorXd & ctrl, bool full_control=false)  | 
|
| RobotControl (const Eigen::VectorXd & ctrl, const std::vector< std::string > & controllable_dofs)  | 
|
| void | activate (bool enable=true)  | 
| bool | active () const | 
| virtual Eigen::VectorXd | calculate (double t) = 0 | 
| virtual std::shared_ptr< RobotControl > | clone () const = 0 | 
| virtual void | configure () = 0 | 
| const std::vector< std::string > & | controllable_dofs () const | 
| void | init ()  | 
| const Eigen::VectorXd & | parameters () const | 
| std::shared_ptr< Robot > | robot () const | 
| void | set_parameters (const Eigen::VectorXd & ctrl)  | 
| void | set_robot (const std::shared_ptr< Robot > & robot)  | 
| void | set_weight (double weight)  | 
| double | weight () const | 
| virtual | ~RobotControl ()  | 
Protected Attributes¶
| Type | Name | 
|---|---|
| double | _dt   | 
| bool | _first   | 
| bool | _full_dt   | 
| int | _i   | 
| Policy | _policy   | 
| Eigen::VectorXd | _prev_commands   | 
| double | _prev_time   | 
| double | _threshold   | 
Protected Attributes inherited from robot_dart::control::RobotControl¶
See robot_dart::control::RobotControl
| Type | Name | 
|---|---|
| bool | _active   | 
| bool | _check_free   = = false | 
| int | _control_dof   | 
| std::vector< std::string > | _controllable_dofs   | 
| Eigen::VectorXd | _ctrl   | 
| int | _dof   | 
| std::weak_ptr< Robot > | _robot   | 
| double | _weight   | 
Public Functions Documentation¶
function PolicyControl [⅕]¶
function PolicyControl [⅖]¶
inline robot_dart::control::PolicyControl::PolicyControl (
    double dt,
    const Eigen::VectorXd & ctrl,
    bool full_control=false
) 
function PolicyControl [⅗]¶
inline robot_dart::control::PolicyControl::PolicyControl (
    const Eigen::VectorXd & ctrl,
    bool full_control=false
) 
function PolicyControl [⅘]¶
inline robot_dart::control::PolicyControl::PolicyControl (
    double dt,
    const Eigen::VectorXd & ctrl,
    const std::vector< std::string > & controllable_dofs
) 
function PolicyControl [5/5]¶
inline robot_dart::control::PolicyControl::PolicyControl (
    const Eigen::VectorXd & ctrl,
    const std::vector< std::string > & controllable_dofs
) 
function calculate¶
Implements robot_dart::control::RobotControl::calculate
function clone¶
inline virtual std::shared_ptr< RobotControl > robot_dart::control::PolicyControl::clone () override const
Implements robot_dart::control::RobotControl::clone
function configure¶
Implements robot_dart::control::RobotControl::configure
function h_params¶
function set_h_params¶
Protected Attributes Documentation¶
variable _dt¶
variable _first¶
variable _full_dt¶
variable _i¶
variable _policy¶
variable _prev_commands¶
variable _prev_time¶
variable _threshold¶
The documentation for this class was generated from the following file robot_dart/control/policy_control.hpp