third_party/phoenixsuite/cpp/src/Sensors/PigeonIMU.cpp
/**
 * Create a Pigeon object that communciates with Pigeon through the Gadgeteer ribbon cable connected to a Talon on CAN Bus.
 * @param talonSrx Object for the TalonSRX connected via ribbon cable.
 */
Create a Pigeon object that communciates with Pigeon through the Gadgeteer ribbon cable connected to a Talon on CAN Bus.
@param talonSrx Object for the TalonSRX connected via ribbon cable.
Create a Pigeon object that communciates with Pigeon through the Gadgeteer ribbon cable connected to a Talon on CAN Bus . @param talonSrx Object for the TalonSRX connected via ribbon cable .
PigeonIMU::PigeonIMU(ctre::phoenix::motorcontrol::can::TalonSRX * talonSrx) :
		CANBusAddressable(0) {
	_handle = c_PigeonIMU_Create2(talonSrx->GetDeviceID());
	_deviceNumber = talonSrx->GetDeviceID();
	HAL_Report(HALUsageReporting::kResourceType_PigeonIMU, _deviceNumber + 1);
	HAL_Report(HALUsageReporting::kResourceType_CTRE_future0, _deviceNumber + 1); 
}
PigeonIMU :: PigeonIMU ( ctre :: phoenix :: motorcontrol :: can :: TalonSRX * talonSrx ) : CANBusAddressable ( 0 ) { _handle = c_PigeonIMU_Create2 ( talonSrx -> GetDeviceID ( ) ) ; _deviceNumber = talonSrx -> GetDeviceID ( ) ; HAL_Report ( HALUsageReporting :: kResourceType_PigeonIMU , _deviceNumber + 1 ) ; HAL_Report ( HALUsageReporting :: kResourceType_CTRE_future0 , _deviceNumber + 1 ) ; }
Create a Pigeon object that communciates with Pigeon through the Gadgeteer ribbon cable connected to a Talon on CAN Bus.
Create a Pigeon object that communciates with Pigeon through the Gadgeteer ribbon cable connected to a Talon on CAN Bus .
//record as Pigeon-via-Uart