Represents a status signal with data of type T, and operations available to retrieve information abou...
Definition StatusSignal.hpp:466
Common interface implemented by all control requests.
Definition ControlRequest.hpp:27
Requires Phoenix Pro and CANivore; Requests Motion Magic® Expo to target a final position using an ex...
Definition DynamicMotionMagicExpoTorqueCurrentFOC.hpp:38
Requires Phoenix Pro and CANivore; Requests Motion Magic® to target a final position using a motion p...
Definition DynamicMotionMagicTorqueCurrentFOC.hpp:36
Generic Empty Control class used to do nothing.
Definition ControlRequest.hpp:65
Requires Phoenix Pro; Requests Motion Magic® to target a final position using an exponential motion p...
Definition MotionMagicExpoTorqueCurrentFOC.hpp:34
Requires Phoenix Pro; Requests Motion Magic® to target a final position using a motion profile.
Definition MotionMagicTorqueCurrentFOC.hpp:31
Requests Motion Magic® to target a final velocity using a motion profile.
Definition MotionMagicVelocityTorqueCurrentFOC.hpp:38
Requires Phoenix Pro; Request PID to target position with torque current feedforward.
Definition PositionTorqueCurrentFOC.hpp:27
Requires Phoenix Pro; Request a specified motor current (field oriented control).
Definition TorqueCurrentFOC.hpp:27
Requires Phoenix Pro; Request PID to target velocity with torque current feedforward.
Definition VelocityTorqueCurrentFOC.hpp:27
Contains everything common between Phoenix 6 devices.
Definition CommonDevice.hpp:23
Requires Phoenix Pro; Contains all FOC-exclusive control functions available for devices that support...
Definition SupportsFOC.hpp:51
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Position const &request)=0
Differential control with velocity average target and position difference target using torque current...
virtual ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityTorqueCurrentFOC const &request)=0
Requests Motion Magic® to target a final velocity using a motion profile.
virtual ctre::phoenix::StatusCode SetControl(controls::VelocityTorqueCurrentFOC const &request)=0
Request PID to target velocity with torque current feedforward.
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_TorqueCurrentFOC_Open const &request)=0
Differential control with torque current average target and torque current difference target.
virtual StatusSignal< bool > & GetStickyFault_RotorFault1(bool refresh=true)=0
Trips if a major mechanical or ESD event caused a brief loss of position data triggering a recovery w...
virtual StatusSignal< bool > & GetStickyFault_RotorFault2(bool refresh=true)=0
Trips if a major mechanical or ESD event caused a brief loss of position data triggering a recovery w...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_TorqueCurrentFOC_Position const &request)=0
Differential control with torque current average target and position difference target.
virtual ~SupportsFOC()=default
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Open const &request)=0
Differential control with velocity average target and torque current difference target.
virtual ctre::phoenix::StatusCode ClearStickyFault_RotorFault1(units::time::second_t timeoutSeconds)=0
Clear sticky fault: Trips if a major mechanical or ESD event caused a brief loss of position data tri...
virtual ctre::phoenix::StatusCode ClearStickyFault_RotorFault2(units::time::second_t timeoutSeconds)=0
Clear sticky fault: Trips if a major mechanical or ESD event caused a brief loss of position data tri...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityTorqueCurrentFOC_Position const &request)=0
Differential control with Motion Magic® Velocity average target and position difference target using ...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityTorqueCurrentFOC_Open const &request)=0
Differential control with Motion Magic® Velocity average target and torque current difference target.
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoTorqueCurrentFOC_Open const &request)=0
Differential control with Motion Magic® Expo average target and torque current difference target.
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Velocity const &request)=0
Differential control with position average target and velocity difference target using torque current...
virtual ctre::phoenix::StatusCode ClearStickyFault_RotorFault1()=0
Clear sticky fault: Trips if a major mechanical or ESD event caused a brief loss of position data tri...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityTorqueCurrentFOC_Velocity const &request)=0
Differential control with Motion Magic® Velocity average target and velocity difference target using ...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Velocity const &request)=0
Differential control with Motion Magic® average target and velocity difference target using torque cu...
virtual ctre::phoenix::StatusCode SetControl(controls::EmptyControl const &request)=0
Apply a generic empty control used to do nothing.
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoTorqueCurrentFOC_Position const &request)=0
Differential control with Motion Magic® Expo average target and position difference target using torq...
virtual ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicExpoTorqueCurrentFOC const &request)=0
Requests Motion Magic® Expo to target a final position using an exponential motion profile.
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Velocity const &request)=0
Differential control with velocity average target and velocity difference target using torque current...
virtual ctre::phoenix::StatusCode SetControl(controls::ControlRequest const &request)=0
Control device with generic control request object.
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Position const &request)=0
Differential control with Motion Magic® average target and position difference target using torque cu...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoTorqueCurrentFOC_Velocity const &request)=0
Differential control with Motion Magic® Expo average target and velocity difference target using torq...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Open const &request)=0
Differential control with Motion Magic® average target and torque current difference target.
virtual ctre::phoenix::StatusCode SetControl(controls::PositionTorqueCurrentFOC const &request)=0
Request PID to target position with torque current feedforward.
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_TorqueCurrentFOC_Velocity const &request)=0
Differential control with torque current average target and velocity difference target.
virtual ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoTorqueCurrentFOC const &request)=0
Requests Motion Magic® to target a final position using an exponential motion profile.
virtual ctre::phoenix::StatusCode ClearStickyFault_RotorFault2()=0
Clear sticky fault: Trips if a major mechanical or ESD event caused a brief loss of position data tri...
virtual StatusSignal< bool > & GetFault_RotorFault2(bool refresh=true)=0
Trips if a major mechanical or ESD event caused a brief loss of position data triggering a recovery w...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Position const &request)=0
Differential control with position average target and position difference target using torque current...
virtual ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Open const &request)=0
Differential control with position average target and torque current difference target.
virtual StatusSignal< bool > & GetFault_RotorFault1(bool refresh=true)=0
Trips if a major mechanical or ESD event caused a brief loss of position data triggering a recovery w...
virtual ctre::phoenix::StatusCode SetControl(controls::TorqueCurrentFOC const &request)=0
Request a specified motor current (field oriented control).
virtual ctre::phoenix::StatusCode SetControl(controls::MotionMagicTorqueCurrentFOC const &request)=0
Requests Motion Magic® to target a final position using a motion profile.
virtual ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicTorqueCurrentFOC const &request)=0
Requests Motion Magic® to target a final position using a motion profile.
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition motor_constants.h:14