startEntry
fun startEntry(name: String, type: String, timestampMicros: Long = now(), metadata: String = ""): Int(source)
Starts an entry and returns its id.
Parameters
name
The entry name, such as /Drive/Pose.
type
The entry type string, such as "json". Prefer the overload that takes a WPILogType for the types that have one.
metadata
Free-form metadata, conventionally JSON.
fun startEntry(name: String, type: WPILogType, timestampMicros: Long = now(), metadata: String = ""): Int(source)
Starts an entry of type. See the overload that takes a type string.
fun startEntry(name: String, type: String, at: ComparableTimeMark, metadata: String = ""): Int(source)
Like startEntry, stamped with at. See timestampOf.
fun startEntry(name: String, type: WPILogType, at: ComparableTimeMark, metadata: String = ""): Int(source)
Like startEntry, for a WPILogType and stamped with at. See timestampOf.