39 explicit ComSelector(
const std::shared_ptr<const IHexapodPostureValidator>& checker_ptr) :
40 checker_ptr_(checker_ptr)
54 static constexpr int kDiscretizationNum = 10;
57 const float kStabilityMargin = 10.0f;
60 bool MakeComCandidatePoint(
62 std::pair<bool, Vector2> output_coms[kDiscretizationNum * kDiscretizationNum])
const;
65 bool IsInMargin(
const Polygon2& polygon,
66 const std::vector<Vector2>& edge_vec,
const Vector2& candidate_point)
const;
68 const std::shared_ptr<const IHexapodPostureValidator> checker_ptr_;