Skip to content

Go through and retype all the numpy arrays #61

@goob10000

Description

@goob10000

All the numpy arrays are currently np.ndarray but should be NDArray.

All files should have

from numpy.typing import NDArray

And then replace the np.ndarrays with NDArray[np.type].
As an example:

def calcBrakeForce(worldArray:np.ndarray, step:int) -> tuple[float,float]:

should become

def calcBrakeForce(worldArray:NDArray[np.float64], step:int) -> tuple[float,float]:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sims FocusedMore pertaining to simulations or the full vehicle sim

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions