Skip to content

Task: Write Trails Drawing feature functions: calculate_smoothness #59

@cgmaiorano

Description

@cgmaiorano

Description

New functions need to be written for calculating various features for trails. The calculate_smoothness function calculates the path smoothness based on curvature changes.

Tasks

  • For all points in a segment, calculate consecutive vectors
  • Normalize each vector
  • Compute the angle between the 2 vectors
  • smoothness = std(all angles in a segment)
    - returned in degrees

Freeform Notes

Calculated for each segment then average is taken of whole drawing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskA development task intended for Github Projects

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions