#include <controller_library.hpp>
Public Member Functions | |
virtual Status | setGoal (Vector const &goal) |
virtual Status | getGoal (Vector &goal) const |
virtual Status | getActual (Vector &actual) const |
virtual Status | setGains (Vector const &kp, Vector const &kd) |
virtual Status | getGains (Vector &kp, Vector &kd) const |
virtual Status | latch (Model const &model) |
This method is supposed to be called just before the first call to computeCommand(), in order to allow the controller to set the goal to the current state. | |
virtual Status | computeCommand (Model const &model, Vector &tau) |
Definition at line 44 of file controller_library.hpp.
This method is supposed to be called just before the first call to computeCommand(), in order to allow the controller to set the goal to the current state.
This is important for applications where we switch controllers at runtime.
Implements jspace::Controller.
Definition at line 79 of file controller_library.cpp.
Implements jspace::Controller.
Definition at line 87 of file controller_library.cpp.
References jspace::Model::getGravity().