yolkbot
    Preparing search index...

    Interface PathPlan

    A path the bot has just planned, emitted as BotEvents.pathPlan

    interface PathPlan {
        from: Position;
        legs: LinkKind[];
        partial: boolean;
        reason: PathReason;
        to: Position;
        waypoints: Position[];
    }
    Index

    Properties

    from: Position

    Where the bot was when it planned

    legs: LinkKind[]

    How each leg has to be travelled; one shorter than the waypoints

    partial: boolean

    Whether the destination is unreachable and this only gets as close as it can

    reason: PathReason

    Why it planned

    Where it is trying to get to

    waypoints: Position[]

    Every waypoint, in order