huetesting
This commit is contained in:
parent
a336138ee2
commit
03d3fbd1dc
3 changed files with 4 additions and 3 deletions
|
|
@ -62,6 +62,7 @@ public class BotOrchestrator : IAsyncDisposable
|
|||
Links = links;
|
||||
Navigation = new NavigationExecutor(game);
|
||||
logWatcher.AreaEntered += _ => Navigation.Reset();
|
||||
logWatcher.Start(); // start early so area events fire even before Bot.Start()
|
||||
_paused = store.Settings.Paused;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ public class MinimapConfig
|
|||
|
||||
// Wall detection: target #A2AEE5 (blue-lavender structure lines)
|
||||
// HSV(115, 75, 229) — blue hue, low-medium saturation, bright
|
||||
public Scalar WallLoHSV { get; set; } = new(100, 50, 190);
|
||||
public Scalar WallHiHSV { get; set; } = new(130, 120, 255);
|
||||
public Scalar WallLoHSV { get; set; } = new(100, 25, 190);
|
||||
public Scalar WallHiHSV { get; set; } = new(136, 120, 255);
|
||||
|
||||
// Connected components: minimum area to keep (kills speckle)
|
||||
public int WallMinArea { get; set; } = 30;
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ public class WorldMap : IDisposable
|
|||
// Warmup / re-bootstrap: stitch at current position to seed the canvas
|
||||
if (needsBootstrap)
|
||||
{
|
||||
StitchWithConfidence(classifiedMat, _position, boosted: _frameCount <= _config.WarmupFrames);
|
||||
StitchWithConfidence(classifiedMat, _position, boosted: true);
|
||||
if (_consecutiveMatchFails >= 30)
|
||||
{
|
||||
Log.Information("Re-bootstrap: stitching at current position after {Fails} match failures ({Ms:F1}ms)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue