Closed traversaro closed 9 years ago
im on it
SensorsTree renamed to SensorsList in 600659ab077393e705e7b47feae3ff5349a70b28
@naveenoid I was thinking about the solution we discussed yesterday and I was wondering how you can deal with different type of sensors (such as internal six-axis ft sensors as opposed to a six-axis force plate, in a sense a "sensor of external force") that have the "measurement type".
In that case you cannot simply use the sensor type that you encoded for your measurement type, because there is not unequivocal mapping between the "measurement types" and the "sensor types".
Perhaps leaving the SensorType enum in the interface is slightly more insecure (only runtime checking as opposed to compile) but easier (and quicker) to implement. : )
My idea was that each sensor type has a unique measurement type but its not one to one. Each sensor has only one of the measurements. But let me think a bit after the first push. So we can debate better.
First version (incomplete still) is in https://github.com/robotology/idyntree/commit/793ad4efa87bc430cc9efdcfe019a8afb0d12b2f
@naveenoid any updates?
Solved in https://github.com/robotology/idyntree/pull/89 .
There are some tasks necessary to finish the cleanup of the sensors iDynTree system.
Things necessary for this week, to produce the regressor bindings for @ommac and @DiegoRomeres :
Sensors
dependency onKDL
, to enable the use of SWIG to produce bindingsKDL::Wrench
withiDynTree::Wrench
. The code that usesSensorsMeasurements
but is still usingKDL::Wrench
can be still supported using the functions in https://github.com/robotology-playground/idyntree/blob/master/core/include/kdl_codyco/KDLConversions.hKDL::Frame
withiDynTree::Transform
.simulateMeasurement
method, that dependes on a lot of stuff from thecore/kdl
library, in a separated files as a stand-alone function.(relatively) Low priority:
SensorsTree
in something more meaningfulAngularVelocity
class toCore
.LinearAcceleration
orLinearProperAcceleration
(to be discussed) toCore
cc @naveenoid can you look into this?