Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bindings: Disable extended analog sensor interfaces in CSharp #1830

Merged
merged 1 commit into from
Aug 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bindings/yarp.i
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ typedef yarp::os::BufferedPort<ImageRgbFloat> BufferedPortImageRgbFloat;
// These views are currently disabled in SWIG + java generator since they are
// useless without the EXTENDED_ANALOG_SENSOR_INTERFACE part.
// See also https://github.com/robotology/yarp/issues/1770
#if !defined(SWIGJAVA)
#if !defined(SWIGJAVA) and !defined(SWIGCSHARP)
CAST_POLYDRIVER_TO_INTERFACE(IThreeAxisGyroscopes)
CAST_POLYDRIVER_TO_INTERFACE(IThreeAxisLinearAccelerometers)
CAST_POLYDRIVER_TO_INTERFACE(IThreeAxisMagnetometers)
Expand Down Expand Up @@ -1074,7 +1074,7 @@ typedef yarp::os::BufferedPort<ImageRgbFloat> BufferedPortImageRgbFloat;
// This is part is currently broken in SWIG + java generator since SWIG 3.0.3
// (last swig version tested: 3.0.12)
// See also https://github.com/robotology/yarp/issues/1770
#if !defined(SWIGJAVA)
#if !defined(SWIGJAVA) and !defined(SWIGCSHARP)
%extend yarp::dev::IThreeAxisGyroscopes {EXTENDED_ANALOG_SENSOR_INTERFACE(ThreeAxisGyroscope)}
%extend yarp::dev::IThreeAxisLinearAccelerometers {EXTENDED_ANALOG_SENSOR_INTERFACE(ThreeAxisLinearAccelerometer)}
%extend yarp::dev::IThreeAxisMagnetometers {EXTENDED_ANALOG_SENSOR_INTERFACE(ThreeAxisMagnetometer)}
Expand Down
1 change: 1 addition & 0 deletions doc/release/v3_1_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Bug Fixes
### Bindings

* Usage of methods that take in input a yarp::sig::Vector in bindings has been fixed ( https://github.com/robotology/yarp/pull/1828 ).
* Disable extended analog sensor interfaces in C# to allow compilation of these bindings ( https://github.com/robotology/yarp/pull/1830 ).


Contributors
Expand Down