PatternGeneratorJRL::RelativeFeetInequalities Class Reference

Generate a stack of inequalities relative to feet centers for the whole preview window. More...

#include <Mathematics/relative-feet-inequalities.hh>

List of all members.

Classes

struct  edges_s

Public Member Functions

void set_vertices (convex_hull_t &ConvexHull, const support_state_t &SupportState, ineq_e type)
 Adapt vertices to the support foot and its orientation.
void set_inequalities (convex_hull_t &ConvexHull, const support_state_t &Support, ineq_e type)
 Adapt inequalities to the support foot and its orientation.
void compute_linear_system (convex_hull_t &ConvexHull, const support_state_t &PrwSupport) const
 Compute the linear inequalities ${\bf A}{\bf x} \geq {\bf b}$ associated with the convex hull specified by a vector of points.
virtual void CallMethod (std::string &Method, std::istringstream &Args)
 Reimplement the interface of SimplePluginManager.
Constructors and destructors.
 RelativeFeetInequalities (SimplePluginManager *aSPM, CjrlHumanoidDynamicRobot *aHS)
 ~RelativeFeetInequalities ()

Detailed Description

Generate a stack of inequalities relative to feet centers for the whole preview window.


Constructor & Destructor Documentation

RelativeFeetInequalities::RelativeFeetInequalities ( SimplePluginManager *  aSPM,
CjrlHumanoidDynamicRobot aHS 
)
RelativeFeetInequalities::~RelativeFeetInequalities ( )

Member Function Documentation

void RelativeFeetInequalities::CallMethod ( std::string &  Method,
std::istringstream &  Args 
) [virtual]

Reimplement the interface of SimplePluginManager.

Parameters:
[in]Method,:The method to be called.
[in]Args,:Arguments of the methods.

References PatternGeneratorJRL::FootHalfSize::setConstraints().

void RelativeFeetInequalities::compute_linear_system ( convex_hull_t &  ConvexHull,
const support_state_t &  PrwSupport 
) const

Compute the linear inequalities ${\bf A}{\bf x} \geq {\bf b}$ associated with the convex hull specified by a vector of points.

Parameters:
[out]aVecOfPointsa vector of vertices
[in]PrwSupportpreviewed support state
void RelativeFeetInequalities::set_inequalities ( convex_hull_t &  ConvexHull,
const support_state_t &  Support,
ineq_e  type 
)

Adapt inequalities to the support foot and its orientation.

Parameters:
[out]ConvexHull
[in]SupportState
[in]TypeCoP/Feet/CoM
void RelativeFeetInequalities::set_vertices ( convex_hull_t &  ConvexHull,
const support_state_t &  SupportState,
ineq_e  type 
)

Adapt vertices to the support foot and its orientation.

Parameters:
[out]ConvexHullVertices of the convex hull
[in]SupportStateCorresponding support state
[in]TypeCoP/Feet