public class CorePigeon2 : ParentDevice
type CorePigeon2 =
class
inherit ParentDevice
end
CorePigeon2 | Constructs a new Pigeon 2 sensor object. |
Configurator | The configurator for this device. Users may use this to refresh and apply configs, such as the Pigeon2Configuration object |
ControlRequest |
The last applied control request.
Caller can cast this to the derived class if they know what type it is,
otherwise they can use the ControlInfo to get info out of it.
(Inherited from ParentDevice) |
DeviceHash |
Hash of this device
(Inherited from ParentDevice) |
DeviceID |
ID of this device
(Inherited from ParentDevice) |
HasResetOccurred | Returns true if device has reset since the previous call of this routine. |
Network |
Network this device is on
(Inherited from ParentDevice) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetAccelerationX |
The acceleration measured by Pigeon2 in the X direction.
This value includes the acceleration due to gravity. If this is
undesirable, get the gravity vector and subtract out the
contribution in this direction.
|
GetAccelerationY |
The acceleration measured by Pigeon2 in the Y direction.
This value includes the acceleration due to gravity. If this is
undesirable, get the gravity vector and subtract out the
contribution in this direction.
|
GetAccelerationZ |
The acceleration measured by Pigeon2 in the Z direction.
This value includes the acceleration due to gravity. If this is
undesirable, get the gravity vector and subtract out the
contribution in this direction.
|
GetAccumGyroX |
The accumulated gyro about the X axis without any sensor fusing.
|
GetAccumGyroY |
The accumulated gyro about the Y axis without any sensor fusing.
|
GetAccumGyroZ |
The accumulated gyro about the Z axis without any sensor fusing.
|
GetAngularVelocityX |
The angular velocity (ω) of the Pigeon 2 about the X axis.
|
GetAngularVelocityY |
The angular velocity (ω) of the Pigeon 2 about the Y axis.
|
GetAngularVelocityZ |
The angular velocity (ω) of the Pigeon 2 about the Z axis.
|
GetFault_BootDuringEnable |
Device boot while detecting the enable signal
|
GetFault_BootIntoMotion |
Motion Detected during bootup.
|
GetFault_BootupAccelerometer |
Bootup checks failed: Accelerometer
|
GetFault_BootupGyroscope |
Bootup checks failed: Gyroscope
|
GetFault_BootupMagnetometer |
Bootup checks failed: Magnetometer
|
GetFault_DataAcquiredLate |
Motion stack data acquisition was slower than expected
|
GetFault_Hardware |
Hardware fault occurred
|
GetFault_LoopTimeSlow |
Motion stack loop time was slower than expected.
|
GetFault_SaturatedAccelometer |
Accelerometer values are saturated
|
GetFault_SaturatedGyroscope |
Gyroscope values are saturated
|
GetFault_SaturatedMagnetometer |
Magnetometer values are saturated
|
GetFault_Undervoltage |
Device supply voltage dropped to near brownout levels
|
GetFault_UnlicensedFeatureInUse |
An unlicensed feature is in use, device may not behave as
expected.
|
GetFaultField |
Integer representing all faults
This returns the fault flags reported by the device. These are
device specific and are not used directly in typical applications.
Use the signal specific GetFault_*() methods instead.
|
GetGravityVectorX |
The X component of the gravity vector.
This is the X component of the reported gravity-vector. The
gravity vector is not the acceleration experienced by the Pigeon2,
rather it is where the Pigeon2 believes "Down" is. This can be
used for mechanisms that are linearly related to gravity, such as
an arm pivoting about a point, as the contribution of gravity to
the arm is directly proportional to the contribution of gravity
about one of these primary axis.
|
GetGravityVectorY |
The Y component of the gravity vector.
This is the X component of the reported gravity-vector. The
gravity vector is not the acceleration experienced by the Pigeon2,
rather it is where the Pigeon2 believes "Down" is. This can be
used for mechanisms that are linearly related to gravity, such as
an arm pivoting about a point, as the contribution of gravity to
the arm is directly proportional to the contribution of gravity
about one of these primary axis.
|
GetGravityVectorZ |
The Z component of the gravity vector.
This is the Z component of the reported gravity-vector. The
gravity vector is not the acceleration experienced by the Pigeon2,
rather it is where the Pigeon2 believes "Down" is. This can be
used for mechanisms that are linearly related to gravity, such as
an arm pivoting about a point, as the contribution of gravity to
the arm is directly proportional to the contribution of gravity
about one of these primary axis.
|
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetMagneticFieldX |
The biased magnitude of the magnetic field measured by the Pigeon
2 in the X direction. This is only valid after performing a
magnetometer calibration.
|
GetMagneticFieldY |
The biased magnitude of the magnetic field measured by the Pigeon
2 in the Y direction. This is only valid after performing a
magnetometer calibration.
|
GetMagneticFieldZ |
The biased magnitude of the magnetic field measured by the Pigeon
2 in the Z direction. This is only valid after performing a
magnetometer calibration.
|
GetNoMotionCount |
The number of times a no-motion event occurred, wraps at 15.
|
GetNoMotionEnabled |
Whether the no-motion calibration feature is enabled.
|
GetPitch |
Current reported pitch of the Pigeon2.
|
GetQuatW |
The W component of the reported Quaternion.
|
GetQuatX |
The X component of the reported Quaternion.
|
GetQuatY |
The Y component of the reported Quaternion.
|
GetQuatZ |
The Z component of the reported Quaternion.
|
GetRawMagneticFieldX |
The raw magnitude of the magnetic field measured by the Pigeon 2
in the X direction. This is only valid after performing a
magnetometer calibration.
|
GetRawMagneticFieldY |
The raw magnitude of the magnetic field measured by the Pigeon 2
in the Y direction. This is only valid after performing a
magnetometer calibration.
|
GetRawMagneticFieldZ |
The raw magnitude of the magnetic field measured by the Pigeon 2
in the Z direction. This is only valid after performing a
magnetometer calibration.
|
GetResetOccurredChecker | Return a lambda that checks for device resets |
GetRoll |
Current reported roll of the Pigeon2.
|
GetStickyFault_BootDuringEnable |
Device boot while detecting the enable signal
|
GetStickyFault_BootIntoMotion |
Motion Detected during bootup.
|
GetStickyFault_BootupAccelerometer |
Bootup checks failed: Accelerometer
|
GetStickyFault_BootupGyroscope |
Bootup checks failed: Gyroscope
|
GetStickyFault_BootupMagnetometer |
Bootup checks failed: Magnetometer
|
GetStickyFault_DataAcquiredLate |
Motion stack data acquisition was slower than expected
|
GetStickyFault_Hardware |
Hardware fault occurred
|
GetStickyFault_LoopTimeSlow |
Motion stack loop time was slower than expected.
|
GetStickyFault_SaturatedAccelometer |
Accelerometer values are saturated
|
GetStickyFault_SaturatedGyroscope |
Gyroscope values are saturated
|
GetStickyFault_SaturatedMagnetometer |
Magnetometer values are saturated
|
GetStickyFault_Undervoltage |
Device supply voltage dropped to near brownout levels
|
GetStickyFault_UnlicensedFeatureInUse |
An unlicensed feature is in use, device may not behave as
expected.
|
GetStickyFaultField |
Integer representing all sticky faults
This returns the persistent "sticky" fault flags reported by the
device. These are device specific and are not used directly in
typical applications. Use the signal specific GetStickyFault_*()
methods instead.
|
GetSupplyVoltage |
Measured supply voltage to the Pigeon2.
|
GetTemperature |
Temperature of the Pigeon 2.
|
GetTemperatureCompensationDisabled |
Whether the temperature-compensation feature is disabled.
|
GetType | Gets the Type of the current instance. (Inherited from Object) |
GetUpTime |
How long the Pigeon 2's been up in seconds, caps at 255 seconds.
|
GetVersion |
Full Version. The format is a four byte value.
Full Version of firmware in device. The format is a four byte
value.
|
GetVersionBugfix |
App Bugfix Version number.
|
GetVersionBuild |
App Build Version number.
|
GetVersionMajor |
App Major Version number.
|
GetVersionMinor |
App Minor Version number.
|
GetYaw |
Current reported yaw of the Pigeon2.
|
LookupStatusSignalT(UInt16, String, Boolean) |
Looks up a status signal and inserts it into the local dictionary
if not found
(Inherited from ParentDevice) |
LookupStatusSignalT(UInt16, Int32, FuncDictionaryInt32, StatusSignalT, String, Boolean) |
Looks up a status signal and inserts it into the local dictionary
if not found
(Inherited from ParentDevice) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
OptimizeBusUtilization |
Optimizes the device's bus utilization by reducing the update frequencies of its status signals.
All status signals that have not been explicitly given an update frequency will be
disabled. Note that if other status signals in the same status frame have been given
an update frequency, the update frequency will be honored for the entire frame.
This function only needs to be called once on this device in the robot program. Additionally, this
method does not necessarily need to be called after setting the update frequencies of other signals.
To restore the default status update frequencies, remove this method call, redeploy the robot
application, and power-cycle the devices on the bus. Alternatively, the user can override
individual status update frequencies using {@link BaseStatusSignal#setUpdateFrequency}.
(Inherited from ParentDevice) |
ReportIfTooOld |
Function to call to check if the device is
too old, and if so report it to the console output
(Overrides ParentDeviceReportIfTooOld) |
SetControl | Control motor with generic control request object. User must make sure the specified object is castable to a valid control request, otherwise this function will fail at run-time and return the NotSupported StatusCode |
SetControlPrivate |
Sets the control request to this device
(Inherited from ParentDevice) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
deviceIdentifier |
The unique deviceIdentifier for this device
(Inherited from ParentDevice) |