Go to the documentation of this file.
30 #ifndef _XPP_STATES_JOINTS_H_
31 #define _XPP_STATES_JOINTS_H_
34 #include <Eigen/Dense>
48 class Joints :
public Endeffectors<VectorXd> {
50 using Base = Endeffectors<VectorXd>;
53 using EEOrder = std::vector<EndeffectorID>;
67 explicit Joints (
int n_ee,
int n_joints_per_ee,
double value = 0.0);
75 explicit Joints (
const std::vector<VectorXd>& joints);
Joints(int n_ee, int n_joints_per_ee, double value=0.0)
Constructs joint values all set to value.
std::vector< EndeffectorID > EEOrder
virtual ~Joints()=default
int GetNumJointsPerEE() const
Endeffectors< VectorXd > Base
double & GetJoint(JointID joint)
VectorXd ToVec() const
Converts joint values to Eigen vector.
VectorXd & at(EndeffectorID ee)
Read/write access to the endeffector stored at index ee.
void SetFromVec(const VectorXd &q)
Sets joints values from Eigen vector.
xpp_states
Author(s): Alexander W. Winkler
autogenerated on Wed Mar 2 2022 01:14:14