Skip to content

Question about a constant in the ParkPathPlanning.generate_park_scenario() #9

@LIN-DN

Description

@LIN-DN

computed_angle = angle_of_line(path[-10][0],path[-10][1],path[-1][0],path[-1][1])
In this line of code, why choose the tenth point from the bottom to calculate the Angle, and why not some other point? Can the value of "10" be changed? What is the basis for the modification?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions