🎨 Updates and simplifies command handling
This commit is contained in:
@@ -6,7 +6,7 @@ class RestState : public GaitState {
|
||||
protected:
|
||||
const char *name() const override { return "Rest"; }
|
||||
|
||||
void step(body_state_t &body_state, ControllerCommand command, float dt = 0.02f) override {
|
||||
void step(body_state_t &body_state, CommandMsg command, float dt = 0.02f) override {
|
||||
body_state.omega = 0;
|
||||
body_state.phi = 0;
|
||||
body_state.psi = 0;
|
||||
|
||||
Reference in New Issue
Block a user