10 #ifndef SPATIAL_DYN_ALGORITHMS_FORWARD_DYNAMICS_H_
11 #define SPATIAL_DYN_ALGORITHMS_FORWARD_DYNAMICS_H_
15 #include "spatial_dyn/eigen/spatial_math.h"
16 #include "spatial_dyn/structs/articulated_body.h"
17 #include "spatial_dyn/structs/options.h"
47 Eigen::Ref<const Eigen::VectorXd> tau,
48 const std::map<size_t, SpatialForced>& f_external = {},
49 const ForwardDynamicsOptions& options = {});
67 Eigen::Ref<const Eigen::VectorXd> tau,
68 const std::map<size_t, SpatialForced>& f_external = {},
69 const ForwardDynamicsOptions& options = {});
82 const Eigen::LDLT<Eigen::MatrixXd>&
InertiaInverse(
const ArticulatedBody& ab);
const Eigen::MatrixXd & InertiaInverseAba(const ArticulatedBody &ab)
Definition: forward_dynamics.cc:146
Eigen::VectorXd ForwardDynamicsAba(const ArticulatedBody &ab, Eigen::Ref< const Eigen::VectorXd > tau, const std::map< size_t, SpatialForced > &f_external, const ForwardDynamicsOptions &options)
Definition: forward_dynamics.cc:32
const Eigen::LDLT< Eigen::MatrixXd > & InertiaInverse(const ArticulatedBody &ab)
Definition: forward_dynamics.cc:137
Eigen::VectorXd ForwardDynamics(const ArticulatedBody &ab, Eigen::Ref< const Eigen::VectorXd > tau, const std::map< size_t, SpatialForced > &f_external, const ForwardDynamicsOptions &options)
Definition: forward_dynamics.cc:21
Definition: discrete_dynamics.cc:21