Skip to content

Class robot_dart::control::SimpleControl

ClassList > robot_dart > control > SimpleControl

Inherits the following classes: robot_dart::control::RobotControl

Public Functions

Type Name
SimpleControl ()
SimpleControl (const Eigen::VectorXd & ctrl, bool full_control=false)
SimpleControl (const Eigen::VectorXd & ctrl, const std::vector< std::string > & controllable_dofs)
virtual Eigen::VectorXd calculate (double) override
virtual std::shared_ptr< RobotControl > clone () override const
virtual void configure () override

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 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 SimpleControl [⅓]

robot_dart::control::SimpleControl::SimpleControl () 

function SimpleControl [⅔]

robot_dart::control::SimpleControl::SimpleControl (
    const Eigen::VectorXd & ctrl,
    bool full_control=false
) 

function SimpleControl [3/3]

robot_dart::control::SimpleControl::SimpleControl (
    const Eigen::VectorXd & ctrl,
    const std::vector< std::string > & controllable_dofs
) 

function calculate

virtual Eigen::VectorXd robot_dart::control::SimpleControl::calculate (
    double
) override

Implements robot_dart::control::RobotControl::calculate


function clone

virtual std::shared_ptr< RobotControl > robot_dart::control::SimpleControl::clone () override const

Implements robot_dart::control::RobotControl::clone


function configure

virtual void robot_dart::control::SimpleControl::configure () override

Implements robot_dart::control::RobotControl::configure



The documentation for this class was generated from the following file robot_dart/control/simple_control.hpp