LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
asyncController.hpp
Go to the documentation of this file.
1
/*
2
* This Source Code Form is subject to the terms of the Mozilla Public
3
* License, v. 2.0. If a copy of the MPL was not distributed with this
4
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
*/
6
#pragma once
7
8
#include "
okapi/api/control/closedLoopController.hpp
"
9
10
namespace
okapi
{
15
template
<
typename
Input,
typename
Output>
16
class
AsyncController
:
public
ClosedLoopController
<Input, Output> {
17
public
:
22
virtual
void
waitUntilSettled
() = 0;
23
};
24
}
// namespace okapi
okapi::AsyncController
Closed-loop controller that steps on its own in another thread and automatically writes to the output...
Definition
asyncController.hpp:16
okapi::AsyncController::waitUntilSettled
virtual void waitUntilSettled()=0
Blocks the current task until the controller has settled.
okapi::ClosedLoopController
An abstract closed-loop controller.
Definition
closedLoopController.hpp:19
closedLoopController.hpp
okapi
Definition
chassisController.hpp:16
include
okapi
api
control
async
asyncController.hpp
Generated by
1.9.8