/// <summary> /// Create a Pigeon object that communciates with Pigeon through the Gadgeteer ribbon /// cable connected to a Talon on CAN Bus. /// </summary> /// <param name="talonSrx"> Talon SRX object that Pigeon is connected to.</param> public PigeonImu(CTRE.TalonSrx talonSrx) { _deviceId = (UInt32)0x02000000 | talonSrx.GetDeviceNumber(); CTRE.Native.CAN.Send(CONTROL_1 | _deviceId, 0x00000000, 0, 100); _ParamContainer = new ParamContainer(_deviceId, PARAM_REQUEST, PARAM_RESPONSE, PARAM_SET); }