10#include <wpi/units/frequency.hpp>
11#include <wpi/units/time.hpp>
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
constexpr ControlRequest(ControlRequest const &)=default
bool UseTimesync
Set to true to delay applying this control request until a timesync boundary (requires Phoenix Pro an...
Definition NeutralOut.hpp:35
wpi::units::hertz_t UpdateFreqHz
The frequency at which this control will update.
Definition NeutralOut.hpp:50
constexpr ~NeutralOut() override
Definition NeutralOut.hpp:60
constexpr std::string_view GetName() const override
Gets the name of this control request.
Definition NeutralOut.hpp:67
constexpr NeutralOut & WithUseTimesync(bool newUseTimesync)
Modifies this Control Request's UseTimesync parameter and returns itself for method-chaining and easi...
Definition NeutralOut.hpp:88
std::map< std::string, std::string > GetControlInfo() const override
Gets information about this control request.
constexpr NeutralOut()
Request neutral output of actuator.
Definition NeutralOut.hpp:57
constexpr NeutralOut & WithUpdateFreqHz(wpi::units::hertz_t newUpdateFreqHz)
Sets the frequency at which this control will update.
Definition NeutralOut.hpp:110
std::string ToString() const override
Returns a string representation of the object.
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition MotionMagicDutyCycle.hpp:17
Definition ExternalFeedbackConfigs.hpp:16
Definition motor_constants.h:14