(geometry): add a service to damp matrices over time
Description
When detecting the objects in an image or retrieving the position of EM/optical sensors, we may suffer from noise. A good solution is to "damp" these matrices over time.
Functional specifications
Add a service that takes a matrix as input and averages it each time it receives a new value:
<service uid="..." type="sight::module::geometry::weighted_mean_matrix" >
<in key="raw" uid="..." />
<inout key="damped" uid="..." />
<config weight="0.25" enabled="true" />
</service>
Technical specifications
Just do a lerp on the translation and a slerp on the rotation.
Test plan
Use it in tuto17 maybe ?