🎨 Updates and simplifies command handling
This commit is contained in:
@@ -6,7 +6,7 @@ class StandState : public GaitState {
|
||||
protected:
|
||||
const char *name() const override { return "Stand"; }
|
||||
|
||||
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 = command.rx / 8;
|
||||
body_state.psi = command.ry / 8;
|
||||
|
||||
Reference in New Issue
Block a user