@@ -1060,15 +1060,20 @@ typedef yarp::os::BufferedPort<ImageRgbFloat> BufferedPortImageRgbFloat;
1060
1060
}
1061
1061
}
1062
1062
1063
- %extend yarp::dev::IThreeAxisGyroscopes {EXTENDED_ANALOG_SENSOR_INTERFACE (ThreeAxisGyroscope)}
1064
- %extend yarp::dev::IThreeAxisLinearAccelerometers {EXTENDED_ANALOG_SENSOR_INTERFACE (ThreeAxisLinearAccelerometer)}
1065
- %extend yarp::dev::IThreeAxisMagnetometers {EXTENDED_ANALOG_SENSOR_INTERFACE (ThreeAxisMagnetometer)}
1066
- %extend yarp::dev::IOrientationSensors {EXTENDED_ANALOG_SENSOR_INTERFACE (OrientationSensor)}
1067
- %extend yarp::dev::ITemperatureSensors {EXTENDED_ANALOG_SENSOR_INTERFACE (TemperatureSensor)}
1068
- %extend yarp::dev::ISixAxisForceTorqueSensors {EXTENDED_ANALOG_SENSOR_INTERFACE (SixAxisForceTorqueSensor)}
1069
- %extend yarp::dev::IContactLoadCellArrays {EXTENDED_ANALOG_SENSOR_INTERFACE (ContactLoadCellArray)}
1070
- %extend yarp::dev::IEncoderArrays {EXTENDED_ANALOG_SENSOR_INTERFACE (EncoderArray)}
1071
- %extend yarp::dev::ISkinPatches {EXTENDED_ANALOG_SENSOR_INTERFACE (SkinPatch)}
1063
+ // This is part is currently broken in SWIG + java generator since SWIG 3.0.3
1064
+ // (last swig version tested: 3.0.12)
1065
+ // See also https://github.com/robotology/yarp/issues/1770
1066
+ #if !defined(SWIGJAVA)
1067
+ %extend yarp::dev::IThreeAxisGyroscopes {EXTENDED_ANALOG_SENSOR_INTERFACE (ThreeAxisGyroscope)}
1068
+ %extend yarp::dev::IThreeAxisLinearAccelerometers {EXTENDED_ANALOG_SENSOR_INTERFACE (ThreeAxisLinearAccelerometer)}
1069
+ %extend yarp::dev::IThreeAxisMagnetometers {EXTENDED_ANALOG_SENSOR_INTERFACE (ThreeAxisMagnetometer)}
1070
+ %extend yarp::dev::IOrientationSensors {EXTENDED_ANALOG_SENSOR_INTERFACE (OrientationSensor)}
1071
+ %extend yarp::dev::ITemperatureSensors {EXTENDED_ANALOG_SENSOR_INTERFACE (TemperatureSensor)}
1072
+ %extend yarp::dev::ISixAxisForceTorqueSensors {EXTENDED_ANALOG_SENSOR_INTERFACE (SixAxisForceTorqueSensor)}
1073
+ %extend yarp::dev::IContactLoadCellArrays {EXTENDED_ANALOG_SENSOR_INTERFACE (ContactLoadCellArray)}
1074
+ %extend yarp::dev::IEncoderArrays {EXTENDED_ANALOG_SENSOR_INTERFACE (EncoderArray)}
1075
+ %extend yarp::dev::ISkinPatches {EXTENDED_ANALOG_SENSOR_INTERFACE (SkinPatch)}
1076
+ #endif
1072
1077
1073
1078
%extend yarp::sig::VectorOf<double > {
1074
1079
0 commit comments