Skip to content

Commit 253af4d

Browse files
authored
Change meaning of nstime
I've been using it like this, any objections if we change the definition? Your epoch can be the last timestamp second making it as it was.
1 parent a78b6d9 commit 253af4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entities/DFGVariable.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Base.@kwdef struct DFGVariable{T<:InferenceVariable} <: AbstractDFGVariable
218218
"""Variable timestamp.
219219
Accessors: [`getTimestamp`](@ref), [`setTimestamp`](@ref)"""
220220
timestamp::ZonedDateTime
221-
"""Nano second time, for more resolution on timestamp (only subsecond information)"""
221+
"""Nanoseconds since a user-understood epoch (i.e unix epoch, robot boot time, etc.)"""
222222
nstime::Nanosecond
223223
"""Variable tags, e.g [:POSE, :VARIABLE, and :LANDMARK].
224224
Accessors: [`getTags`](@ref), [`mergeTags!`](@ref), and [`removeTags!`](@ref)"""

0 commit comments

Comments
 (0)