Log for each pedestrian the speed within a measurement area.
Note: If two measurement areas M1 and M2 are disjoint
and a pedestrian P1 is located within M1, M2 should
log a speed of -1 for P1.
Note: If trajectory of pedestrian is empty, log -2.
Use the PedestrianTrajectoryProcessor to access pedestrian's
trajectory.
This processor offers different methods do calculate pedestrian's speed:
- ByTrajectory: Use VTrajectory#speed(), i.e. trajectory.length() / trajectory.duration()
- ByMeasurementAreaHeight: Use measurementArea.height() / trajectory.duration()
- ByMeasurementAreaWidth: Use measurementArea.width() / trajectory.duration()