Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"CGO_ENABLED": "1",
"C_INCLUDE_PATH": "${workspaceFolder}/third_party/whisper.cpp/ggml/include:${workspaceFolder}/third_party/whisper.cpp/include",
"LIBRARY_PATH": "${workspaceFolder}/third_party/whisper.cpp/",
"GOROOT": "C:\\msys64\\ucrt64\\lib\\go"
"GOROOT": "${env:GOROOT}"
},
"go.buildTags": "nolibopusfile",
"logViewer.watch": [
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ $(SKYEYE_SCALER_BIN): generate $(SKYEYE_SOURCES)
run:
$(BUILD_VARS) $(GO) run -race $(BUILD_FLAGS) ./cmd/skyeye/ $(ARGS)


.PHONY: test
test: generate
$(BUILD_VARS) $(GO) tool gotestsum -- $(BUILD_FLAGS) $(TEST_FLAGS) ./...
Expand Down
4 changes: 4 additions & 0 deletions internal/application/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"github.com/dharmab/skyeye/pkg/sim"
"github.com/dharmab/skyeye/pkg/simpleradio"
srs "github.com/dharmab/skyeye/pkg/simpleradio/types"
"github.com/dharmab/skyeye/pkg/spatial"
"github.com/dharmab/skyeye/pkg/synthesizer/speakers"
"github.com/dharmab/skyeye/pkg/telemetry"
"github.com/dharmab/skyeye/pkg/traces"
Expand Down Expand Up @@ -385,6 +386,9 @@ func (a *Application) updateBullseyes() {
log.Warn().Err(err).Msg("error reading bullseye")
} else {
a.radar.SetBullseye(bullseye, coalition)
if name, changed := spatial.DetectTerrainFromBullseye(coalition.String(), bullseye); changed {
log.Debug().Str("terrain", name).Msg("terrain detected from bullseyes")
}
}
}
}
Expand Down
Loading