Skip to content

Navigation

NavigationUseCase

Bases: AbstractUseCase

Use case for navigation

check_proactivity()

Trigger proactivity if the next event is between 40 and 45 minutes in the future

next_event_use_case()

Executes nextEvent use case

trigger_assistant(best_match)

UseCase for navigation

Parameters:

Name Type Description Default
best_match BestMatch

An object containing the best match for the user input.

required

Raises:

Type Description
NotImplementedError

If the given key was not found in the match case statement for implemented functions, or if the function is not implemented yet.

vvs_trip_use_case(end_vvs_location, end_maps_location)

Execute use case with given end vvs-id

Parameters:

Name Type Description Default
end_vvs_location str

vvs-id of end location

required
end_maps_location str

name of end location

required

weather_good_enough_for_bike()

Checks if the weather is good enough for the bike

Returns:

Type Description
bool

if weather is good enough