Skip to content

Commit

Permalink
Add middle legs and tripod
Browse files Browse the repository at this point in the history
  • Loading branch information
dmweis committed Nov 22, 2023
1 parent e8e848a commit 968f5e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/motion_controller/choreographer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ pub enum LiftedLeg {
RightFront,
RightMiddle,
RightRear,
MiddleBothSides,
LrlTripod,
RlRTripod,
}

impl LiftedLeg {
Expand All @@ -62,6 +65,9 @@ impl LiftedLeg {
LiftedLeg::RightFront => LegFlags::RIGHT_FRONT,
LiftedLeg::RightMiddle => LegFlags::RIGHT_MIDDLE,
LiftedLeg::RightRear => LegFlags::RIGHT_REAR,
LiftedLeg::MiddleBothSides => LegFlags::MIDDLE,
LiftedLeg::LrlTripod => LegFlags::LRL_TRIPOD,
LiftedLeg::RlRTripod => LegFlags::RLR_TRIPOD,
}
}
}
Expand Down

0 comments on commit 968f5e1

Please sign in to comment.