laas / metapod

A template-based robot dynamics library
GNU Lesser General Public License v3.0
14 stars 10 forks source link

template everything with FloatType #39

Closed sbarthelemy closed 10 years ago

sbarthelemy commented 11 years ago

(it is more an enhancement than an issue.)

Currently, the floating point scalar type is given by the FloatType typedef. It would be much better to define FloatType as a template argument to the robot class, and to all spatial algebra type.

I would also rename FloatType into Scalar, to follow the Eigen convention.

olivier-stasse commented 10 years ago

Fixed by commit b473121142004652f8aa7e63df2095c8c8d58c11