Updated max distance to be configurable (#29)
Publish Release / build (push) Successful in 12s
Publish Release / build (push) Successful in 12s
Partly addresses #24 Does not fully fix thoughReviewed-on: #29 Co-authored-by: dutchie031 <timrorije@gmail.com>
This commit was merged in pull request #29.
This commit is contained in:
@@ -34,7 +34,7 @@ function CapConfig.new()
|
||||
self._minDurationOnStation = 1200
|
||||
self._maxDurationOnStation = 2700
|
||||
|
||||
self._maxDeviationRange = 35 * 1852 -- in meters
|
||||
self._maxDeviationRange = (tonumber(SpearheadConfig.CapConfig.maxCommitRange) or 35) * 1852 -- in meters
|
||||
self._rearmDelay = tonumber(SpearheadConfig.CapConfig.rearmDelay) or 600
|
||||
self._repairDelay = tonumber(SpearheadConfig.CapConfig.repairDelay) or 600
|
||||
self._deathDelay = tonumber(SpearheadConfig.CapConfig.deathDelay) or 1800
|
||||
|
||||
Reference in New Issue
Block a user