Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions include/robotlib/robot_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,32 @@ namespace robotlib
const robotlib::eigen::aligned_map<std::string, Eigen::Vector3d> &f_contact,
robotlib::JointState &tau_joints) = 0;

/**
* @brief Get base acceleration.
*/
virtual void getBaseAcceleration(const robotlib::JointState &,
const robotlib::JointState &,
const robotlib::JointState &,
Eigen::Matrix<double, 6, 1> &) {
throw std::runtime_error("getBaseAcceleration not implemented");
}

/**
* @brief Get Joint Jacobian Time Variation.
*/
virtual void getJointJacobianTimeVariation(const Eigen::Matrix<double, 6, 1> &,
const robotlib::JointState &,
const robotlib::JointState &,
const std::string &,
Eigen::MatrixXd &) {
throw std::runtime_error("getJointJacobianTimeVariation not implemented");
}

virtual void computeBaseJacobian(const robotlib::JointState &, Eigen::MatrixXd &)
{
throw std::runtime_error("computeBaseJacobian not implemented");
}

// ** SET FUNCTIONS **
// template <class T>
// T& getLimbData(const LimbPtr limb, Eigen::Matrix<T, Eigen::Dynamic, 1>& data_vector);
Expand Down