17 #ifndef __sot_talos_balance_simple_state_integrator_H__
18 #define __sot_talos_balance_simple_state_integrator_H__
25 #if defined(simple_state_integrator_EXPORTS)
26 #define SIMPLE_STATE_INTEGRATOR_EXPORT __declspec(dllexport)
28 #define SIMPLE_STATE_INTEGRATOR_EXPORT __declspec(dllimport)
31 #define SIMPLE_STATE_INTEGRATOR_EXPORT
38 #include <dynamic-graph/linear-algebra.h>
39 #include <dynamic-graph/signal-helper.h>
42 #include <sot/core/matrix-geometry.hh>
44 #include "boost/assign.hpp"
48 namespace talos_balance {
55 :
public ::dynamicgraph::Entity {
56 DYNAMIC_GRAPH_ENTITY_DECL();
71 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
76 void init(
const double& step);
90 virtual void display(std::ostream& os)
const;
98 void rotationMatrixToEuler(
const Eigen::Matrix3d& rotationMatrix,
99 Eigen::Vector3d& rollPitchYaw);
DECLARE_SIGNAL_OUT(velocity, ::dynamicgraph::Vector)
double timestep_
Current integration step.
Eigen::VectorXd velocity_
Velocity of the robot wrt pinocchio.
DECLARE_SIGNAL_IN(control, ::dynamicgraph::Vector)
DECLARE_SIGNAL_OUT(state, ::dynamicgraph::Vector)
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
#define SIMPLE_STATE_INTEGRATOR_EXPORT