WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
transcription_method.hpp
Go to the documentation of this file.
1// Copyright (c) Sleipnir contributors
2
3#pragma once
4
5#include <stdint.h>
6
7namespace slp {
8
9/// Enum describing an OCP transcription method.
10enum class TranscriptionMethod : uint8_t {
11 /// Each state is a decision variable constrained to the integrated dynamics
12 /// of the previous state.
14 /// The trajectory is modeled as a series of cubic polynomials where the
15 /// centerpoint slope is constrained.
17 /// States depend explicitly as a function of all previous states and all
18 /// previous inputs.
20};
21
22} // namespace slp
Definition expression_graph.hpp:11
TranscriptionMethod
Enum describing an OCP transcription method.
Definition transcription_method.hpp:10
@ DIRECT_COLLOCATION
The trajectory is modeled as a series of cubic polynomials where the centerpoint slope is constrained...
Definition transcription_method.hpp:16
@ SINGLE_SHOOTING
States depend explicitly as a function of all previous states and all previous inputs.
Definition transcription_method.hpp:19
@ DIRECT_TRANSCRIPTION
Each state is a decision variable constrained to the integrated dynamics of the previous state.
Definition transcription_method.hpp:13