HootAndCompute
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
HootAndCompute
Volt
/
dev.kingssack.volt.util
/
PoseMessage
Pose
Message
data
class
PoseMessage
(
val
pose
:
Pose2d
,
val
x
:
Double
=
pose.position.x
,
val
y
:
Double
=
pose.position.y
,
val
heading
:
Double
=
pose.heading.toDouble()
,
val
timestamp
:
Long
=
System.nanoTime()
)
Members
Constructors
Pose
Message
Link copied to clipboard
constructor
(
pose
:
Pose2d
,
x
:
Double
=
pose.position.x
,
y
:
Double
=
pose.position.y
,
heading
:
Double
=
pose.heading.toDouble()
,
timestamp
:
Long
=
System.nanoTime()
)
Properties
heading
Link copied to clipboard
val
heading
:
Double
pose
Link copied to clipboard
val
pose
:
Pose2d
timestamp
Link copied to clipboard
val
timestamp
:
Long
x
Link copied to clipboard
val
x
:
Double
y
Link copied to clipboard
val
y
:
Double