Skip to content

BUG-4.2: Fix indoor cross-floor travel detour #302

@tinaw1412

Description

@tinaw1412

Environment & Impact

  • Area: Routing / Pathfinding Logic

  • Severity: High

  • Frequency: Always

  • Platform: Android & iOS

  • Device: All tested devices

  • Affected Version: Sprint 5 (Epic 4)

  • Endpoint: N/A

  • Request Details: N/A

Summary
Multi-floor routing introduces illogical detours instead of calculating direct paths. For example, traveling from Floor 2 to 8 via stairs routes through Floor 9 first. Similarly, traveling from Floor 8 to 9 via elevator detours down to Floor 2 before going up.

Steps to Reproduce

  • Select a route between Floor 2 and Floor 8 (or 9) with accessibility OFF (stairs).

  • Observe the generated path and note the detour.

  • Select a route between Floor 8 and Floor 9 with accessibility ON (elevators).

  • Observe the path dropping to Floor 2 unnecessarily.

Expected Behaviour
The routing algorithm should calculate a direct path using the stairs or elevator from the starting floor straight to the destination floor, without intermediate floor detours.

Actual Behaviour
The algorithm forces detours to unrelated floors (e.g., going to Floor 9 before 8, or dropping to Floor 2 when moving from 8 to 9).

Image Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions