Class AvaStatisticsEvent

java.lang.Object
edu.tufts.hrilab.ava.stats.AvaStatisticsEvent
All Implemented Interfaces:
Serializable

public class AvaStatisticsEvent extends Object implements Serializable
Event DTO for Ava statistics notifications. Script-friendly: one callback signature, filter by kind. Payload uses primitives, String, and FOL (Predicate) for TRADE serialization.
See Also:
  • Field Details

    • URGENT_GO_HOME_GOAL_NAME

      public static final String URGENT_GO_HOME_GOAL_NAME
      Goal name used for urgent go-home / low-battery return-to-dock identification.
      See Also:
  • Method Details

    • getKind

      public AvaStatisticsEvent.Kind getKind()
    • getTimestampMs

      public long getTimestampMs()
    • getDockName

      public String getDockName()
    • getCumulativeDistanceM

      public Double getCumulativeDistanceM()
    • getSegmentStartTimestampMs

      public Long getSegmentStartTimestampMs()
    • getDriveStatusEnd

      public String getDriveStatusEnd()
    • getGoalGid

      public Long getGoalGid()
    • getGoalName

      public String getGoalName()
    • getGoalStatus

      public String getGoalStatus()
    • getGoalStartMs

      public Long getGoalStartMs()
    • getGoalEndMs

      public Long getGoalEndMs()
    • getScheduled

      public Boolean getScheduled()
    • getUrgentGoHome

      public Boolean getUrgentGoHome()
    • getGoalPredicate

      public Predicate getGoalPredicate()
    • getBatteryPct

      public Double getBatteryPct()
    • getMediaType

      public String getMediaType()
    • getDurationMs

      public Long getDurationMs()
    • builder