11#include <wpi/units/angle.hpp>
12#include <wpi/units/angular_velocity.hpp>
13#include <wpi/units/voltage.hpp>
Class description for the Pigeon 2 IMU sensor that measures orientation.
Definition CorePigeon2.hpp:1062
ctre::phoenix::StatusCode SetAngularVelocityX(wpi::units::degrees_per_second_t dps)
Sets the simulated angular velocity X component of the Pigeon2.
ctre::phoenix::StatusCode SetRoll(wpi::units::degree_t deg)
Sets the simulated roll of the Pigeon2.
Pigeon2SimState(Pigeon2SimState &&)=default
Pigeon2SimState & operator=(Pigeon2SimState const &)=delete
ctre::phoenix::StatusCode SetPitch(wpi::units::degree_t deg)
Sets the simulated pitch of the Pigeon2.
ctre::phoenix::StatusCode SetSupplyVoltage(wpi::units::volt_t volts)
Sets the simulated supply voltage of the Pigeon2.
ctre::phoenix::StatusCode SetRawYaw(wpi::units::degree_t deg)
Sets the simulated raw yaw of the Pigeon2.
ctre::phoenix::StatusCode SetAngularVelocityZ(wpi::units::degrees_per_second_t dps)
Sets the simulated angular velocity Z component of the Pigeon2.
Pigeon2SimState(hardware::core::CorePigeon2 const &device)
Creates an object to control the state of the given hardware::Pigeon2.
Pigeon2SimState & operator=(Pigeon2SimState &&)=default
Pigeon2SimState(Pigeon2SimState const &)=delete
ctre::phoenix::StatusCode SetAngularVelocityY(wpi::units::degrees_per_second_t dps)
Sets the simulated angular velocity Y component of the Pigeon2.
ctre::phoenix::StatusCode AddYaw(wpi::units::degree_t dDeg)
Adds to the simulated yaw of the Pigeon2.
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition ExternalFeedbackConfigs.hpp:17
Definition ExternalFeedbackConfigs.hpp:17
Definition CANdiSimState.hpp:27
Definition ExternalFeedbackConfigs.hpp:16
Definition motor_constants.h:14