ArduPilot / ArduPilot/ardupilot
Rover: Dijkastras should handle case where vehicle is started outside of fence
- Dominant language
- C++
- Stars
- 15.9k
- Forks
- 21.4k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 119
Description
Rover can end up outside the fence without the user doing anything particularly bad:
- create a polygon fence
- set LOIT_RADIUS to 10m
- place a waypoint with a 60s delay closer than 10m to the fence boundary
When the rover loiters at the waypoint it may stray outside the fence, RTL will trigger but the vehicle will not be able to return
To resolve this we should enhance Dijkstras so that it handles the case where the vehicle starts outside the fence
Contributor guide
Research direction
Start by locating the Dijkstras implementation and the RTL fence-handling entry point. Reproduce the described rover case with a polygon fence, LOIT_RADIUS of 10m, and a delayed waypoint near the boundary, then trace how routing behaves when the vehicle starts outside the fence. Done means RTL can produce a valid return path in that situation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- robotics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100