auv_control
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
auv_control::AccelerationController Class Reference

#include <AccelerationController.hpp>

Inheritance diagram for auv_control::AccelerationController:

Public Member Functions

 AccelerationController (std::string const &name="auv_control::AccelerationController")
 
 AccelerationController (std::string const &name, RTT::ExecutionEngine *engine)
 
 ~AccelerationController ()
 
bool startHook ()
 
bool configureHook ()
 

Protected Member Functions

bool calcOutput (const LinearAngular6DCommandStatus &merged_command)
 

Protected Attributes

base::MatrixXd thrusterMatrix
 
base::MatrixXd weightedPseudoInverse
 
base::VectorXd inputVector
 
base::VectorXd cmdVector
 
base::VectorXd expectedEffortVector
 
boost::shared_ptr< Eigen::JacobiSVD< Eigen::MatrixXd > > svd
 
base::commands::Joints jointCommand
 
std::vector< base::JointState::MODE > controlModes
 
std::vector< std::string > names
 
base::JointLimits limits
 

Friends

class AccelerationControllerBase
 

Constructor & Destructor Documentation

AccelerationController::AccelerationController ( std::string const &  name = "auv_control::AccelerationController")

TaskContext constructor for AccelerationController

Parameters
nameName of the task. This name needs to be unique to make it identifiable via nameservices.
initial_stateThe initial TaskState of the TaskContext. Default is Stopped state.
AccelerationController::AccelerationController ( std::string const &  name,
RTT::ExecutionEngine *  engine 
)

TaskContext constructor for AccelerationController

Parameters
nameName of the task. This name needs to be unique to make it identifiable for nameservices.
engineThe RTT Execution engine to be used for this task, which serialises the execution of all commands, programs, state machines and incoming events for a task.
AccelerationController::~AccelerationController ( )

Default deconstructor of AccelerationController

Member Function Documentation

bool AccelerationController::calcOutput ( const LinearAngular6DCommandStatus merged_command)
protected
bool AccelerationController::configureHook ( )
bool AccelerationController::startHook ( )

Friends And Related Function Documentation

friend class AccelerationControllerBase
friend

Member Data Documentation

base::VectorXd auv_control::AccelerationController::cmdVector
protected
std::vector<base::JointState::MODE> auv_control::AccelerationController::controlModes
protected
base::VectorXd auv_control::AccelerationController::expectedEffortVector
protected
base::VectorXd auv_control::AccelerationController::inputVector
protected
base::commands::Joints auv_control::AccelerationController::jointCommand
protected
base::JointLimits auv_control::AccelerationController::limits
protected
std::vector<std::string> auv_control::AccelerationController::names
protected
boost::shared_ptr<Eigen::JacobiSVD<Eigen::MatrixXd> > auv_control::AccelerationController::svd
protected
base::MatrixXd auv_control::AccelerationController::thrusterMatrix
protected
base::MatrixXd auv_control::AccelerationController::weightedPseudoInverse
protected

The documentation for this class was generated from the following files: