atf
atf copied to clipboard
Code duplication in TF metrics
The metrics related to TF (distance, jerk, velocity, length) have a lot of code duplication between them.
In eg. CalculateTfAccelerationTranslation
, vs CalculateTfDistanceTranslation
only a few members are added and a few lines in get_data
are different but mostly the same. Some basic inheritance can reduce a lot of duplication and reduce maintenance.
Might be related to https://github.com/floweisshardt/atf/issues/58 as well.