WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
timestep_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 the type of system timestep.
10enum class TimestepMethod : uint8_t {
11 /// The timestep is a fixed constant.
13 /// The timesteps are allowed to vary as independent decision variables.
15 /// The timesteps are equal length but allowed to vary as a single decision
16 /// variable.
18};
19
20} // namespace slp
Definition expression_graph.hpp:11
TimestepMethod
Enum describing the type of system timestep.
Definition timestep_method.hpp:10
@ VARIABLE_SINGLE
The timesteps are equal length but allowed to vary as a single decision variable.
Definition timestep_method.hpp:17
@ FIXED
The timestep is a fixed constant.
Definition timestep_method.hpp:12
@ VARIABLE
The timesteps are allowed to vary as independent decision variables.
Definition timestep_method.hpp:14