1#ifndef ROBOT_MODEL_RBDL_HPP
2#define ROBOT_MODEL_RBDL_HPP
15 RigidBodyDynamics::Math::MatrixNd
J,
H_q;
18 void updateFloatingBase(
const base::samples::RigidBodyStateSE3& floating_base_state_in);
38 const base::samples::RigidBodyStateSE3&
floating_base_state = base::samples::RigidBodyStateSE3());
41 virtual void systemState(base::VectorXd &
q, base::VectorXd &
qd, base::VectorXd &
qdd);
49 virtual const base::samples::RigidBodyStateSE3 &
rigidBodyState(
const std::string &root_frame,
const std::string &tip_frame);
56 virtual const base::MatrixXd &
spaceJacobian(
const std::string &root_frame,
const std::string &tip_frame);
63 virtual const base::MatrixXd &
bodyJacobian(
const std::string &root_frame,
const std::string &tip_frame);
79 virtual const base::MatrixXd &
jacobianDot(
const std::string &root_frame,
const std::string &tip_frame);
86 virtual const base::Acceleration &
spatialAccelerationBias(
const std::string &root_frame,
const std::string &tip_frame);
95 virtual const base::samples::RigidBodyStateSE3&
centerOfMass();
Definition RobotModelRBDL.hpp:9
virtual const base::VectorXd & biasForces()
Definition RobotModelRBDL.cpp:384
virtual void systemState(base::VectorXd &q, base::VectorXd &qd, base::VectorXd &qdd)
Definition RobotModelRBDL.cpp:208
virtual void computeInverseDynamics(base::commands::Joints &solver_output)
Compute and return the inverse dynamics solution.
Definition RobotModelRBDL.cpp:416
virtual bool configure(const RobotModelConfig &cfg)
Load and configure the robot model.
Definition RobotModelRBDL.cpp:30
virtual const base::samples::RigidBodyStateSE3 & rigidBodyState(const std::string &root_frame, const std::string &tip_frame)
Computes and returns the relative transform between the two given frames. By convention this is the p...
Definition RobotModelRBDL.cpp:214
Eigen::VectorXd q
Definition RobotModelRBDL.hpp:14
virtual ~RobotModelRBDL()
Definition RobotModelRBDL.cpp:17
Eigen::VectorXd qd
Definition RobotModelRBDL.hpp:14
virtual const base::MatrixXd & spaceJacobian(const std::string &root_frame, const std::string &tip_frame)
Returns the Space Jacobian for the kinematic chain between root and the tip frame as full body Jacobi...
Definition RobotModelRBDL.cpp:249
RobotModelRBDL()
Definition RobotModelRBDL.cpp:13
void clear()
Definition RobotModelRBDL.cpp:21
virtual const base::MatrixXd & comJacobian()
Returns the CoM Jacobian for the entire robot, which maps the robot joint velocities to linear spatia...
Definition RobotModelRBDL.cpp:319
virtual const base::MatrixXd & jacobianDot(const std::string &root_frame, const std::string &tip_frame)
Returns the derivative of the Jacobian for the kinematic chain between root and the tip frame as full...
Definition RobotModelRBDL.cpp:342
std::vector< std::string > jointNamesInRBDLOrder(const std::string &urdf_file)
virtual const base::samples::RigidBodyStateSE3 & centerOfMass()
Return Current center of gravity in expressed base frame.
Definition RobotModelRBDL.cpp:395
Eigen::VectorXd tau
Definition RobotModelRBDL.hpp:14
static RobotModelRegistry< RobotModelRBDL > reg
Definition RobotModelRBDL.hpp:11
std::shared_ptr< RigidBodyDynamics::Model > rbdl_model
Definition RobotModelRBDL.hpp:13
virtual const base::Acceleration & spatialAccelerationBias(const std::string &root_frame, const std::string &tip_frame)
Returns the spatial acceleration bias, i.e. the term Jdot*qdot.
Definition RobotModelRBDL.cpp:346
virtual const base::MatrixXd & bodyJacobian(const std::string &root_frame, const std::string &tip_frame)
Returns the Body Jacobian for the kinematic chain between root and the tip frame as full body Jacobia...
Definition RobotModelRBDL.cpp:285
virtual void update(const base::samples::Joints &joint_state, const base::samples::RigidBodyStateSE3 &floating_base_state=base::samples::RigidBodyStateSE3())
Update the robot configuration.
Definition RobotModelRBDL.cpp:124
virtual const base::MatrixXd & jointSpaceInertiaMatrix()
Definition RobotModelRBDL.cpp:373
RigidBodyDynamics::Math::MatrixNd H_q
Definition RobotModelRBDL.hpp:15
void updateFloatingBase(const base::samples::RigidBodyStateSE3 &floating_base_state_in)
Definition RobotModelRBDL.cpp:26
RigidBodyDynamics::Math::MatrixNd J
Definition RobotModelRBDL.hpp:15
Eigen::VectorXd qdd
Definition RobotModelRBDL.hpp:14
Interface for all robot models. This has to provide all kinematics and dynamics information that is r...
Definition RobotModel.hpp:22
base::samples::RigidBodyStateSE3 floating_base_state
Definition RobotModel.hpp:31
base::samples::Joints joint_state
Definition RobotModel.hpp:42
Definition ContactsAccelerationConstraint.cpp:3
Robot Model configuration class.
Definition RobotModelConfig.hpp:40
Definition RobotModel.hpp:239