Program Listing for File abstract_stabilizer.hpp
↰ Return to documentation for file (include/bitbots_splines/abstract_stabilizer.hpp
)
#ifndef BITBOTS_SPLINES_INCLUDE_BITBOTS_SPLINES_ABSTRACT_STABILIZER_H_
#define BITBOTS_SPLINES_INCLUDE_BITBOTS_SPLINES_ABSTRACT_STABILIZER_H_
#include <rclcpp/rclcpp.hpp>
namespace bitbots_splines {
template <typename Positions>
class AbstractStabilizer {
public:
virtual void reset() = 0;
virtual Positions stabilize(const Positions &positions, const rclcpp::Duration &dt) = 0;
};
} // namespace bitbots_splines
#endif // BITBOTS_SPLINES_INCLUDE_BITBOTS_SPLINES_ABSTRACT_STABILIZER_H_