26 #ifndef JSPACE_STATE_HPP
27 #define JSPACE_STATE_HPP
37 COMPARE_ACQUISITION_TIME = 0x1,
38 COMPARE_POSITION = 0x2,
39 COMPARE_VELOCITY = 0x4,
46 State(
size_t npos,
size_t nvel,
size_t nforce);
52 void init(
size_t npos,
size_t nvel,
size_t nforce);
67 bool equal(
State const & rhs,
68 int flags = COMPARE_POSITION | COMPARE_VELOCITY,
69 double precision = 1e-3)
const;
75 Eigen::VectorXd position_;
76 Eigen::VectorXd velocity_;
77 Eigen::VectorXd force_;
82 #endif // JSPACE_STATE_HPP
void resizeAndPadWithZeros(size_t npos, size_t nvel, size_t nforce)
Definition: State.cpp:95
void init(size_t npos, size_t nvel, size_t nforce)
Definition: State.cpp:56