10#include <units/frequency.h>
11#include <units/time.h>
22 ctre::phoenix::StatusCode SendRequest(
const char *network, uint32_t deviceHash, std::shared_ptr<ControlRequest> &req)
const override;
67 constexpr std::string_view
GetName()
const override
Request coast neutral output of actuator.
Definition CoastOut.hpp:21
std::string ToString() const override
Returns a string representation of the object.
constexpr std::string_view GetName() const override
Gets the name of this control request.
Definition CoastOut.hpp:67
constexpr CoastOut & WithUseTimesync(bool newUseTimesync)
Modifies this Control Request's UseTimesync parameter and returns itself for method-chaining and easi...
Definition CoastOut.hpp:88
std::map< std::string, std::string > GetControlInfo() const override
Gets information about this control request.
units::frequency::hertz_t UpdateFreqHz
The frequency at which this control will update.
Definition CoastOut.hpp:50
bool UseTimesync
Set to true to delay applying this control request until a timesync boundary (requires Phoenix Pro an...
Definition CoastOut.hpp:35
constexpr CoastOut()
Request coast neutral output of actuator.
Definition CoastOut.hpp:57
constexpr ~CoastOut() override
Definition CoastOut.hpp:60
constexpr CoastOut & WithUpdateFreqHz(units::frequency::hertz_t newUpdateFreqHz)
Sets the frequency at which this control will update.
Definition CoastOut.hpp:110
Common interface implemented by all control requests.
Definition ControlRequest.hpp:27
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition motor_constants.h:14