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 GetStrideStand() 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
std::pair< VecTimes, std::vector< ContactState > > GaitInfo
void SetGaits(const std::vector< Gaits > &gaits)
Sets the times_ and contacts_ variables according to the gaits.
GaitInfo GetStrideFlight() const
GaitInfo GetStrideHopLong() const
GaitInfo GetStrideHop() const