BenchmarkTaskIncreasingHorizonOpenLoop.
More...
#include <benchmark_task_increasing_n_open_loop.h>
◆ Ptr
◆ BenchmarkTaskIncreasingHorizonOpenLoop()
| corbo::BenchmarkTaskIncreasingHorizonOpenLoop::BenchmarkTaskIncreasingHorizonOpenLoop |
( |
| ) |
|
◆ getAvailableSignals()
| void corbo::BenchmarkTaskIncreasingHorizonOpenLoop::getAvailableSignals |
( |
const Environment & |
environment, |
|
|
SignalTargetInterface & |
signal_target, |
|
|
const std::string & |
ns = "" |
|
) |
| const |
|
overridevirtual |
Retrieve available signals from the task.
Register a-priori known signals at the signal target. Registration is optional. Note, during performTask() further signals might occur without registration (in case the they are not known in advance or the implementation lacks a proper registration).
- Parameters
-
| [in,out] | signal_target | Target for occuring signals [optional] |
Reimplemented from corbo::TaskInterface.
Definition at line 46 of file benchmark_task_increasing_n_open_loop.cpp.
◆ getInstance()
◆ performTask()
| void corbo::BenchmarkTaskIncreasingHorizonOpenLoop::performTask |
( |
Environment & |
environment, |
|
|
SignalTargetInterface * |
signal_target = nullptr, |
|
|
std::string * |
msg = nullptr, |
|
|
const std::string & |
ns = "" |
|
) |
| |
|
overridevirtual |
◆ reset()
| void corbo::BenchmarkTaskIncreasingHorizonOpenLoop::reset |
( |
| ) |
|
|
overridevirtual |
◆ verify()
| bool corbo::BenchmarkTaskIncreasingHorizonOpenLoop::verify |
( |
const Environment & |
environment, |
|
|
std::string * |
msg = nullptr |
|
) |
| const |
|
overridevirtual |
Check if the environment and other settings satisfy all requirements for the given task.
This function can be called in order to check if all components and models are appropriate, e.g. if all input and output dimensions are chosen adequately.
Note, Environment::verify() might be invoked in order to check if controller, plant and observer are specified correctly and if they have matching dimensions.
- Parameters
-
| [in] | environment | Standard environment (plant, controller, observer) |
| [out] | msg | The string contains issue messages and hints if available [optional] |
- Returns
- true if verification was successfull, false otherwise.
Implements corbo::TaskInterface.
Definition at line 128 of file benchmark_task_increasing_n_open_loop.cpp.
◆ _initial_tf
| double corbo::BenchmarkTaskIncreasingHorizonOpenLoop::_initial_tf = 1.0 |
|
private |
◆ _n_end
| int corbo::BenchmarkTaskIncreasingHorizonOpenLoop::_n_end = 50 |
|
private |
◆ _n_start
| int corbo::BenchmarkTaskIncreasingHorizonOpenLoop::_n_start = 1 |
|
private |
◆ _n_step
| int corbo::BenchmarkTaskIncreasingHorizonOpenLoop::_n_step = 1 |
|
private |
◆ _open_loop_task
◆ _publish_task_signals
| bool corbo::BenchmarkTaskIncreasingHorizonOpenLoop::_publish_task_signals = false |
|
private |
◆ _repetitions
| int corbo::BenchmarkTaskIncreasingHorizonOpenLoop::_repetitions = 1 |
|
private |
◆ _shooting_num_u_per_interval
| int corbo::BenchmarkTaskIncreasingHorizonOpenLoop::_shooting_num_u_per_interval = 1 |
|
private |
◆ _wait_time
| double corbo::BenchmarkTaskIncreasingHorizonOpenLoop::_wait_time = 1e-6 |
|
private |
The documentation for this class was generated from the following files: