Skip to content

'maintenance' event has two different definitions #595

@vilesa1

Description

@vilesa1

Hello

As per: https://github.com/openmobilityfoundation/mobility-data-specification/blob/main/general-information.md#vehicle-states

'maintenance' is defined as a transition (1) from 'available' state to 'non_operational' state ("The vehicle requires some non-charge-related maintenance")

however it seems to be also: a transition (2) from 'non_operational' state to 'available' ("The vehicle was previously in need of maintenance")

issues:

  • two events have the same name but mean different things. Shouldn't the (2) be called "maintenance_end" for example, to distinguish with the other?
  • in any case "maintenance" is vague, and is not consistent with the other events being verbs (e.g. trip_end)

thanks!
vic

Metadata

Metadata

Assignees

No one assigned

    Labels

    State MachineChanges in the vehicle state events and state machine diagram

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions