toggle menu
0.4.9
common
switch theme
search in API
Navigation
/
com.amarcolini.joos.trajectory
/
PathTrajectorySegment
Path
Trajectory
Segment
public
final
class
PathTrajectorySegment
implements
TrajectorySegment
Trajectory segment backed by a
Path
and a
MotionProfile
.
Parameters
path
path
profile
motion profile
Members
Constructors
Path
Trajectory
Segment
Link copied to clipboard
public
PathTrajectorySegment
PathTrajectorySegment
(
Path
path
,
MotionProfile
profile
)
Properties
path
Link copied to clipboard
private
final
Path
path
profile
Link copied to clipboard
private
final
MotionProfile
profile
Functions
acceleration
Link copied to clipboard
public
Pose2d
acceleration
(
Double
time
)
deriv
Link copied to clipboard
public
Pose2d
deriv
(
Double
time
)
distance
Link copied to clipboard
public
Double
distance
(
Double
time
)
duration
Link copied to clipboard
public
Double
duration
(
)
end
Link copied to clipboard
public
Pose2d
end
(
)
get
Link copied to clipboard
public
Pose2d
get
(
Double
time
)
get
Path
Link copied to clipboard
public
final
Path
getPath
(
)
get
Profile
Link copied to clipboard
public
final
MotionProfile
getProfile
(
)
length
Link copied to clipboard
public
Double
length
(
)
second
Deriv
Link copied to clipboard
public
Pose2d
secondDeriv
(
Double
time
)
start
Link copied to clipboard
public
Pose2d
start
(
)
velocity
Link copied to clipboard
public
Pose2d
velocity
(
Double
time
)