123456789101112131415161718192021222324 |
- import '../primitives/location.dart';
- import 'calculator.dart';
- class VelocityCal extends Calculator<Location, double> {
- VelocityCal(Location ref) : super(ref);
- @override
- void calculate() {
- if (ref.feature == null) return;
- final feature = ref.feature!;
-
-
-
-
-
-
-
-
- final physicalPoint = convertTimeMotionPoint(feature, feature.point);
- final value = physicalPoint.y;
- updateFloatValue(value, useUnitY: true);
- }
- }
|