robotoc
robotoc - efficient ROBOT Optimal Control solvers
Loading...
Searching...
No Matches
configuration_space_ref_base.hpp
Go to the documentation of this file.
1#ifndef ROBOTOC_CONFIGURATION_SPACE_REF_HPP_
2#define ROBOTOC_CONFIGURATION_SPACE_REF_HPP_
3
4#include "Eigen/Core"
5
8
9
10namespace robotoc {
11
17public:
22
27
32
37
42
46 ConfigurationSpaceRefBase& operator=(ConfigurationSpaceRefBase&&) noexcept = default;
47
54 virtual void updateRef(const Robot& robot, const GridInfo& grid_info,
55 Eigen::VectorXd& q_ref) const = 0;
56
62 virtual bool isActive(const GridInfo& grid_info) const = 0;
63};
64
65} // namespace robotoc
66
67#endif // ROBOTOC_CONFIGURATION_SPACE_REF_HPP_
Base class of the configuration.
Definition: configuration_space_ref_base.hpp:16
virtual ~ConfigurationSpaceRefBase()
Destructor.
Definition: configuration_space_ref_base.hpp:26
virtual void updateRef(const Robot &robot, const GridInfo &grid_info, Eigen::VectorXd &q_ref) const =0
Computes the reference configuration.
virtual bool isActive(const GridInfo &grid_info) const =0
Checks wheather the cost is active or not at the specified time.
ConfigurationSpaceRefBase()
Default constructor.
Definition: configuration_space_ref_base.hpp:21
ConfigurationSpaceRefBase & operator=(const ConfigurationSpaceRefBase &)=default
Default copy operator.
ConfigurationSpaceRefBase(const ConfigurationSpaceRefBase &)=default
Default copy constructor.
ConfigurationSpaceRefBase(ConfigurationSpaceRefBase &&) noexcept=default
Default move constructor.
Dynamics and kinematics model of robots. Wraps pinocchio::Model and pinocchio::Data....
Definition: robot.hpp:32
Definition: constraint_component_base.hpp:17
Grid information.
Definition: grid_info.hpp:24