FollowPath

constructor(path: Path, holdEnd: Boolean = false, maxPower: Double? = null)


constructor(path: PathChain, holdEnd: Boolean = false, maxPower: Double? = null)

Parameters

path

the path to follow

holdEnd

whether to actively hold position after the path is done being followed

maxPower

the max power, between 0 and 1. If maxPower is null then the default (set in FConstants or with follower.setMaxPower) is used.