#include <sot/talos_balance/simple-state-integrator.hh>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | SimpleStateIntegrator (const std::string &name) |
DECLARE_SIGNAL_IN (control, ::dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (state, ::dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (velocity, ::dynamicgraph::Vector) | |
virtual void | display (std::ostream &os) const |
void | init (const double &step) |
void | setState (const ::dynamicgraph::Vector &st) |
void | setVelocity (const ::dynamicgraph::Vector &vel) |
Protected Member Functions | |
void | integrateRollPitchYaw (::dynamicgraph::Vector &state, const ::dynamicgraph::Vector &control, double dt) |
void | rotationMatrixToEuler (const Eigen::Matrix3d &rotationMatrix, Eigen::Vector3d &rollPitchYaw) |
Protected Attributes | |
double | timestep_ |
Current integration step. More... | |
Vectors related to the state. | |
Position of the robot wrt pinocchio. | |
Eigen::VectorXd | state_ |
Eigen::VectorXd | velocity_ |
Velocity of the robot wrt pinocchio. More... | |
Definition at line 54 of file simple-state-integrator.hh.
SimpleStateIntegrator | ( | const std::string & | name | ) |
Definition at line 56 of file simple-state-integrator.cpp.
DECLARE_SIGNAL_IN | ( | control | , |
::dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | state | , |
::dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | velocity | , |
::dynamicgraph::Vector | |||
) |
|
virtual |
Definition at line 182 of file simple-state-integrator.cpp.
void init | ( | const double & | step | ) |
Definition at line 91 of file simple-state-integrator.cpp.
|
protected |
Integrate the freeflyer state (to obtain position). Compute roll pitch yaw angles
Definition at line 103 of file simple-state-integrator.cpp.
|
protected |
Definition at line 132 of file simple-state-integrator.cpp.
void setState | ( | const ::dynamicgraph::Vector & | st | ) |
Definition at line 93 of file simple-state-integrator.cpp.
void setVelocity | ( | const ::dynamicgraph::Vector & | vel | ) |
Definition at line 95 of file simple-state-integrator.cpp.
|
protected |
Definition at line 65 of file simple-state-integrator.hh.
|
protected |
Current integration step.
Definition at line 60 of file simple-state-integrator.hh.
|
protected |
Velocity of the robot wrt pinocchio.
Definition at line 67 of file simple-state-integrator.hh.