LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
okapi::ControllerOutput< T > Class Template Referenceabstract

#include <controllerOutput.hpp>

Inheritance diagram for okapi::ControllerOutput< T >:
okapi::ClosedLoopController< std::string, double > okapi::ClosedLoopController< std::string, PathfinderPoint > okapi::ClosedLoopController< double, double >

Public Member Functions

virtual void controllerSet (T ivalue)=0
 Writes the value of the controller output.
 

Detailed Description

template<typename T>
class okapi::ControllerOutput< T >

Definition at line 9 of file controllerOutput.hpp.

Member Function Documentation

◆ controllerSet()

template<typename T >
virtual void okapi::ControllerOutput< T >::controllerSet ( ivalue)
pure virtual

Writes the value of the controller output.

This method might be automatically called in another thread by the controller. The range of input values is expected to be [-1, 1].

Parameters
ivaluethe controller's output in the range [-1, 1]

Implemented in okapi::AsyncWrapper< Input, Output >, okapi::ADIMotor, okapi::Motor, and okapi::MotorGroup.


The documentation for this class was generated from the following file: