Go to the documentation of this file.
25 #ifndef SRC_OPTIMAL_CONTROL_INCLUDE_CORBO_OPTIMAL_CONTROL_STRUCTURED_OCP_DISCRETIZATION_GRIDS_NON_UNIFORM_SHOOTING_GRID_BASE_H_
26 #define SRC_OPTIMAL_CONTROL_INCLUDE_CORBO_OPTIMAL_CONTROL_STRUCTURED_OCP_DISCRETIZATION_GRIDS_NON_UNIFORM_SHOOTING_GRID_BASE_H_
39 class NonUniformShootingGridBase :
public DiscretizationGridInterface
42 using Ptr = std::shared_ptr<NonUniformShootingGridBase>;
43 using UPtr = std::unique_ptr<NonUniformShootingGridBase>;
45 struct ShootingInterval
48 std::vector<VectorVertex>
u_seq;
49 std::vector<ScalarVertex>
dt_seq;
55 for (
const ScalarVertex& dt :
dt_seq) t += dt.value();
91 void setN(
int n,
bool try_resample =
true)
override
101 int getN()
const override;
111 void getDts(std::vector<double>& dts)
const;
125 void getVertices(std::vector<VertexInterface*>& vertices)
override;
127 #ifdef MESSAGE_SUPPORT
128 void fromMessage(
const messages::DiscretizationGrid& message, std::stringstream* issues)
override {}
129 void toMessage(messages::DiscretizationGrid& message)
const override {}
182 #endif // SRC_OPTIMAL_CONTROL_INCLUDE_CORBO_OPTIMAL_CONTROL_STRUCTURED_OCP_DISCRETIZATION_GRIDS_NON_UNIFORM_SHOOTING_GRID_BASE_H_
Interface class for reference trajectories.
std::shared_ptr< NumericalIntegratorExplicitInterface > Ptr
constexpr const double CORBO_INF_DBL
Representation for infinity (double version)
std::shared_ptr< DiscretizationGridInterface > Ptr
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW
std::shared_ptr< SystemDynamicsInterface > Ptr
Representation of time stamps.
std::shared_ptr< TimeSeries > Ptr
void setModified(bool modified)
Vector based vertex with support for partially fixed components.
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:05:58