Pioneer Robotics Documentation
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Pioneer Robotics Documentation
Pioneer Robotics Documentation
/
pioneer.pathing.follower
/
Follower
Follower
class
Follower
(
localizer
:
Localizer
,
drive
:
MecanumBase
)
Members
Constructors
Follower
Link copied to clipboard
constructor
(
localizer
:
Localizer
,
drive
:
MecanumBase
)
Properties
current
Path
Link copied to clipboard
val
currentPath
:
Path
?
done
Link copied to clipboard
val
done
:
Boolean
is
Following
Link copied to clipboard
val
isFollowing
:
Boolean
max
Velocity
Link copied to clipboard
var
maxVelocity
:
Double
target
State
Link copied to clipboard
val
targetState
:
MotionState
?
Functions
follow
Path
Link copied to clipboard
fun
followPath
(
path
:
Path
?
,
maxVelocity
:
Double
=
Double.MAX_VALUE
)
reset
Link copied to clipboard
fun
reset
(
)
update
Link copied to clipboard
fun
update
(
)
:
Boolean
Updates the follower and returns true if the path is complete.