Skip to content

Task: Write Trails Drawing Feature functions: total_distance #60

@cgmaiorano

Description

@cgmaiorano

Description

New functions need to be written for calculating various features for trails. The total_distance function calculates the total distance traveled during "ink time" or times of intentional movement from start to target. This is calculated per segment.

Tasks

  • Identify x and y points during "ink time"
  • Calculate np.diff of x points and y points to find dx and dy
  • distances = sqrt(dx^2 + dy^2)
  • total distance = sum(distances)

Freeform Notes

This function is dependent on ink time and path optimality is dependent on this function.

Metadata

Metadata

Assignees

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