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