Skip to content

Reimplement the frisbee hitting the ground as a Callable event #2

@tmcclintock

Description

@tmcclintock

scipy.integrate.solve_ivp allows for callable "event" objects to be passed to the solver. This is an elegant way to handle the disc hitting the ground, since it can let the integrator terminate early.

This could also let the code support non-flat grounds (e.g. simulating throwing over a hill).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions