11#include <units/angle.h>
12#include <units/voltage.h>
78 ctre::phoenix::StatusCode
SetRawYaw(units::angle::degree_t deg);
86 ctre::phoenix::StatusCode
AddYaw(units::angle::degree_t dDeg);
94 ctre::phoenix::StatusCode
SetPitch(units::angle::degree_t deg);
102 ctre::phoenix::StatusCode
SetRoll(units::angle::degree_t deg);
Class description for the Pigeon 2 IMU sensor that measures orientation.
Definition: CorePigeon2.hpp:988
Class to control the state of a simulated hardware::Pigeon2.
Definition: Pigeon2SimState.hpp:30
ctre::phoenix::StatusCode SetRoll(units::angle::degree_t deg)
Sets the simulated roll of the Pigeon2.
Pigeon2SimState(Pigeon2SimState &&)=default
Pigeon2SimState & operator=(Pigeon2SimState const &)=delete
ctre::phoenix::StatusCode SetSupplyVoltage(units::voltage::volt_t volts)
Sets the simulated supply voltage of the Pigeon2.
ctre::phoenix::StatusCode AddYaw(units::angle::degree_t dDeg)
Adds to the simulated yaw 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
ctre::phoenix::StatusCode SetPitch(units::angle::degree_t deg)
Sets the simulated pitch of the Pigeon2.
Pigeon2SimState(Pigeon2SimState const &)=delete
ctre::phoenix::StatusCode SetRawYaw(units::angle::degree_t deg)
Sets the simulated raw yaw of the Pigeon2.
Definition: string_util.hpp:15