Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Off by one in getAverageSegmentDuration (#1079)
* Off by one in getAverageSegmentDuration * Case for one waypoint Co-authored-by: AndyZe <andyz@utexas.edu> * Warn if too few waypoints to get duration Co-authored-by: AndyZe <andyz@utexas.edu> * Discount first duration_from_previous from average duration if it is 0 * Restore empty duration from previous check as per Andy's suggestion * Changed warning message for case with 1 segment with 0 duration to be distinct from empty durations Co-authored-by: AndyZe <andyz@utexas.edu> Co-authored-by: Henning Kayser <henningkayser@picknik.ai> Co-authored-by: AndyZe <zelenak@picknik.ai>
- Loading branch information