46 default: assert(
false); std::cout <<
"Gait not defined\n";
break;
58 default: assert(
false);
74 return std::make_pair(times, contacts);
89 return std::make_pair(times, contacts);
104 return std::make_pair(times, contacts);
119 return std::make_pair(times, contacts);
GaitInfo GetStrideHopLong() const
GaitInfo GetStrideFlight() const
void SetCombo(Combos combo) override
Sets a specific sequence of gaits.
Gaits
Predefined strides, each with a different gait diagram.
Combos
Predefined combinations of different strides.
GaitInfo GetGait(Gaits gait) const override
GaitInfo GetStrideStand() const
GaitInfo GetStrideHop() const
void SetGaits(const std::vector< Gaits > &gaits)
Sets the times_ and contacts_ variables according to the gaits.
std::pair< VecTimes, std::vector< ContactState >> GaitInfo