CTRE Phoenix Pro C++ 23.0.12
|
Information about a control request. More...
#include <ctre/phoenixpro/controls/ControlRequest.hpp>
Public Member Functions | |
ControlInfo (std::string name) | |
Constructs a new ControlInfo object for the control request of the given name. More... | |
std::map< std::string, std::string > & | GetNameValues () |
Gets the map of control parameter names to the corresponding applied value. More... | |
const std::map< std::string, std::string > & | GetNameValues () const |
Gets the map of control parameter names to the corresponding applied value. More... | |
Information about a control request.
This type contains a map that maps control parameter names to the corresponding applied value. Users can iterate through the map to look at the applied control parameters of the control request.
|
inline |
Constructs a new ControlInfo object for the control request of the given name.
This is constructed by the ControlRequest class and can be accessed by calling ControlRequest::GetControlInfo.
name | Name of the control request |
|
inline |
Gets the map of control parameter names to the corresponding applied value.
|
inline |
Gets the map of control parameter names to the corresponding applied value.