Go to the documentation of this file.
12 #include <tvm/function/abstract/Function.h>
13 #include <tvm/geometry/Plane.h>
26 using Output = tvm::function::abstract::Function::Output;
27 DISABLE_OUTPUTS(Output::JDot)
43 void addPlane(tvm::geometry::PlanePtr plane);
52 inline const std::vector<tvm::geometry::PlanePtr> &
planes() noexcept {
return planes_; }
55 inline tvm::geometry::Plane &
plane(
size_t i) noexcept
57 assert(i < planes_.size() && planes_[i]);
62 Eigen::VectorXd &
selector() noexcept {
return selector_; }
65 const Eigen::VectorXd &
selector() const noexcept {
return selector_; }
69 void updateVelocity();
70 void updateJacobian();
71 void updateNormalAcceleration();
76 std::vector<tvm::geometry::PlanePtr>
planes_;
std::shared_ptr< CoMInConvexFunction > CoMInConvexFunctionPtr
Definition: CoMInConvexFunction.h:82
const std::vector< tvm::geometry::PlanePtr > & planes() noexcept
Definition: CoMInConvexFunction.h:52
tvm::function::abstract::Function::Output Output
Definition: CoMInConvexFunction.h:26
tvm::geometry::Plane & plane(size_t i) noexcept
Definition: CoMInConvexFunction.h:55
#define MC_TVM_DLLAPI
Definition: api.h:47
const Eigen::VectorXd & selector() const noexcept
Definition: CoMInConvexFunction.h:65
Definition: CollisionFunction.h:15
Eigen::VectorXd & selector() noexcept
Definition: CoMInConvexFunction.h:62
Definition: CoMInConvexFunction.h:23
mc_tvm::CoM & com_
Definition: CoMInConvexFunction.h:73
Eigen::VectorXd selector_
Definition: CoMInConvexFunction.h:79
std::vector< tvm::geometry::PlanePtr > planes_
Definition: CoMInConvexFunction.h:76
const mc_rbdyn::Robot & robot() const noexcept
Definition: CoMInConvexFunction.h:49