controls  3.0.0
FeedforwardController.h
Go to the documentation of this file.
1 #ifndef CONTROLS_CONTROLLER_FEEDFORWARD_CONTROLLER_H
2 #define CONTROLS_CONTROLLER_FEEDFORWARD_CONTROLLER_H
3 
5 
15  static constexpr double EXPLODE_THRESHOLD = 1e4;
16 
17 public:
19 
29  Vector6d getForce(const State& goal, const State& curr, double dt) override;
30 };
31 
32 #endif // CONTROLS_CONTROLLER_FEEDFORWARD_CONTROLLER_H
Eigen::Matrix< double, 6, 1 > Vector6d
Definition: Types.h:29
Abstract base class for a single-responsibility force controller.
Definition: BaseControllerInterface.h:15
BaseControllerInterface()=default
Controller that computes open-loop forces via inverse dynamics.
Definition: FeedforwardController.h:14
Vector6d getForce(const State &goal, const State &curr, double dt) override
Computes the feed-forward force from the goal state's acceleration and velocity.
Definition: FeedforwardController.cpp:6
Full kinematic state of the vehicle.
Definition: Types.h:63