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

Remove functionalities deprecated in iDynTree 1 #751

Merged
merged 4 commits into from
Oct 27, 2020
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The Python package name of the SWIG bindings changed from `iDynTree` to `idyntree.bindings` (https://github.com/robotology/idyntree/pull/733, https://github.com/robotology/idyntree/pull/735). To continue referring to iDynTree classes as `iDynTree.<ClassName>`, you can change your `import iDynTree` statements to `import idyntree.bindings as iDynTree`. Otherwise, you can use `import idyntree.bindings` to refer them as `idyntree.bindings.<ClassName>`.
- Improve the use of `const` keyword in `KinDynComputations`(https://github.com/robotology/idyntree/pull/736).

### Removed
### Removed
- Remove the CMake option IDYNTREE_USES_KDL and all the classes available when enabling it. They were deprecated in iDynTree 1.0 .
- Remove the semantics related classes. They were deprecated in iDynTree 1.0 .
- Remove unnecessary warning messages from [ModelSensorsTransformers.cpp](https://github.com/robotology/idyntree/blob/master/src/sensors/src/ModelSensorsTransformers.cpp) and [URDFDocument.cpp](https://github.com/robotology/idyntree/blob/master/src/model_io/urdf/src/URDFDocument.cpp) (see [PR 718](https://github.com/robotology/idyntree/pull/718))
- Python2 will not be maintained past 2020 and its support has been dropped (https://github.com/robotology/idyntree/pull/726).
- Remove the need to call `iDynTree.init_helpers()` and `iDynTree.init_numpy_helpers()` from Python (https://github.com/robotology/idyntree/pull/726).
- Remove headers and methods that were deprecated in iDynTree 1.0 (https://github.com/robotology/idyntree/pull/751).

## [Unreleased]

Expand Down
4 changes: 0 additions & 4 deletions bindings/iDynTree.i
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@
#include "iDynTree/Sensors/PredictSensorsMeasurements.h"

// Model loading from external formats
#include "iDynTree/ModelIO/URDFModelImport.h"
#include "iDynTree/ModelIO/URDFDofsImport.h"
#include "iDynTree/ModelIO/URDFGenericSensorsImport.h"
#include "iDynTree/ModelIO/ModelLoader.h"
#include "iDynTree/ModelIO/ModelExporter.h"
#include "iDynTree/ModelIO/ModelCalibrationHelper.h"
Expand Down Expand Up @@ -272,9 +270,7 @@ namespace std {
%include "sensors.i"

// Model loading from external formats
%include "iDynTree/ModelIO/URDFModelImport.h"
%include "iDynTree/ModelIO/URDFDofsImport.h"
%include "iDynTree/ModelIO/URDFGenericSensorsImport.h"
%include "iDynTree/ModelIO/ModelLoader.h"
%include "iDynTree/ModelIO/ModelExporter.h"
%include "iDynTree/ModelIO/ModelCalibrationHelper.h"
Expand Down
33 changes: 15 additions & 18 deletions bindings/matlab/autogenerated/+iDynTree/AccelerometerSensor.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,58 +7,55 @@
self.swigPtr = varargin{1}.swigPtr;
end
else
tmp = iDynTreeMEX(1300, varargin{:});
tmp = iDynTreeMEX(1312, varargin{:});
self.swigPtr = tmp.swigPtr;
tmp.SwigClear();
end
end
function delete(self)
if self.swigPtr
iDynTreeMEX(1301, self);
iDynTreeMEX(1313, self);
self.SwigClear();
end
end
function varargout = setName(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1302, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1314, self, varargin{:});
end
function varargout = setLinkSensorTransform(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1303, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1315, self, varargin{:});
end
function varargout = setParentLink(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1304, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1316, self, varargin{:});
end
function varargout = setParentLinkIndex(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1305, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1317, self, varargin{:});
end
function varargout = getName(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1306, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1318, self, varargin{:});
end
function varargout = getSensorType(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1307, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1319, self, varargin{:});
end
function varargout = getParentLink(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1308, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1320, self, varargin{:});
end
function varargout = getParentLinkIndex(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1309, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1321, self, varargin{:});
end
function varargout = getLinkSensorTransform(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1310, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1322, self, varargin{:});
end
function varargout = isValid(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1311, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1323, self, varargin{:});
end
function varargout = clone(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1312, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1324, self, varargin{:});
end
function varargout = updateIndices(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1313, self, varargin{:});
end
function varargout = updateIndeces(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1314, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1325, self, varargin{:});
end
function varargout = predictMeasurement(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1315, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1326, self, varargin{:});
end
end
methods(Static)
Expand Down
27 changes: 0 additions & 27 deletions bindings/matlab/autogenerated/+iDynTree/AngularForceVector3.m

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions bindings/matlab/autogenerated/+iDynTree/AngularMotionVector3.m

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function varargout = ArticulatedBodyAlgorithm(varargin)
[varargout{1:nargout}] = iDynTreeMEX(1215, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1229, varargin{:});
end
Original file line number Diff line number Diff line change
Expand Up @@ -9,110 +9,110 @@
self.swigPtr = varargin{1}.swigPtr;
end
else
tmp = iDynTreeMEX(1193, varargin{:});
tmp = iDynTreeMEX(1207, varargin{:});
self.swigPtr = tmp.swigPtr;
tmp.SwigClear();
end
end
function varargout = resize(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1194, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1208, self, varargin{:});
end
function varargout = isConsistent(self,varargin)
[varargout{1:nargout}] = iDynTreeMEX(1195, self, varargin{:});
[varargout{1:nargout}] = iDynTreeMEX(1209, self, varargin{:});
end
function varargout = S(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1196, self);
varargout{1} = iDynTreeMEX(1210, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1197, self, varargin{1});
iDynTreeMEX(1211, self, varargin{1});
end
end
function varargout = U(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1198, self);
varargout{1} = iDynTreeMEX(1212, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1199, self, varargin{1});
iDynTreeMEX(1213, self, varargin{1});
end
end
function varargout = D(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1200, self);
varargout{1} = iDynTreeMEX(1214, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1201, self, varargin{1});
iDynTreeMEX(1215, self, varargin{1});
end
end
function varargout = u(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1202, self);
varargout{1} = iDynTreeMEX(1216, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1203, self, varargin{1});
iDynTreeMEX(1217, self, varargin{1});
end
end
function varargout = linksVel(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1204, self);
varargout{1} = iDynTreeMEX(1218, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1205, self, varargin{1});
iDynTreeMEX(1219, self, varargin{1});
end
end
function varargout = linksBiasAcceleration(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1206, self);
varargout{1} = iDynTreeMEX(1220, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1207, self, varargin{1});
iDynTreeMEX(1221, self, varargin{1});
end
end
function varargout = linksAccelerations(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1208, self);
varargout{1} = iDynTreeMEX(1222, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1209, self, varargin{1});
iDynTreeMEX(1223, self, varargin{1});
end
end
function varargout = linkABIs(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1210, self);
varargout{1} = iDynTreeMEX(1224, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1211, self, varargin{1});
iDynTreeMEX(1225, self, varargin{1});
end
end
function varargout = linksBiasWrench(self, varargin)
narginchk(1, 2)
if nargin==1
nargoutchk(0, 1)
varargout{1} = iDynTreeMEX(1212, self);
varargout{1} = iDynTreeMEX(1226, self);
else
nargoutchk(0, 0)
iDynTreeMEX(1213, self, varargin{1});
iDynTreeMEX(1227, self, varargin{1});
end
end
function delete(self)
if self.swigPtr
iDynTreeMEX(1214, self);
iDynTreeMEX(1228, self);
self.SwigClear();
end
end
Expand Down
Loading