8 #include "gmock/gmock.h" 9 #include "gtest/gtest.h" 45 for (
int dim = 0; dim < 3; dim++) {
53 J.block<3, 1>(0, dim) = dp / d;
void computeLegJacobianAndPosition(Quadruped< T > &quad, Vec3< T > &q, Mat3< T > *J, Vec3< T > *p, int leg)
typename Eigen::Matrix< T, 3, 3 > Mat3
Data structure containing parameters for quadruped robot.
Utility function to build a Mini Cheetah Quadruped object.
typename Eigen::Matrix< T, 3, 1 > Vec3
bool almostEqual(const Eigen::MatrixBase< T > &a, const Eigen::MatrixBase< T > &b, T2 tol)
Common Leg Control Interface and Leg Control Algorithms.
TEST(LegController, JacobianAndFwdKinematics1)