Skip to contents

Locate critical points (heading turns, velocity zeros, inflections, curvature peaks)

Usage

tma_poly_critical_points(
  profile,
  speed_tol = 1e-06,
  zero_tol = 1e-08,
  top_curvature = 5L
)

Arguments

profile

Output of tma_poly_derivative_profile()

speed_tol

Minimum speed threshold for heading turns

zero_tol

Numerical zero threshold

top_curvature

Max curvature peaks to return

Value

List of critical points