Run Move tracking through PSMoveAPI
This commit is contained in:
parent
7a01c8bc5a
commit
a014e38e99
8 changed files with 402 additions and 2 deletions
|
|
@ -7,6 +7,8 @@ param(
|
|||
[switch] $DiscoverMoveState = $true,
|
||||
[switch] $ClaimUsbMoves = $true,
|
||||
[string] $MoveEvidenceStream = "muninn:nightwing:move-evidence",
|
||||
[string[]] $MoveMarkerCamera = @("nightwing-eye-0=/dev/video2", "nightwing-eye-1=/dev/video3"),
|
||||
[int] $MoveTrackerExposureMilli = 100,
|
||||
[int] $IntervalSeconds = 15,
|
||||
[string] $IdunnRudpHealth = $env:IDUNN_RUDP_HEALTH,
|
||||
[string] $IdunnDaemon = "nightwing-muninn",
|
||||
|
|
@ -100,6 +102,11 @@ $moveRuntimeSetLines = @()
|
|||
if ($moveStateSpecs.Count -gt 0) {
|
||||
$moveRuntimeSetLines += $moveStateSetLines
|
||||
$moveRuntimeSetLines += "set -- ""`$@"" --move-evidence-stream $(Quote-ShSingle $MoveEvidenceStream)"
|
||||
foreach ($camera in $MoveMarkerCamera) {
|
||||
$moveRuntimeSetLines += "set -- ""`$@"" --move-marker-camera $(Quote-ShSingle $camera)"
|
||||
}
|
||||
$moveRuntimeSetLines += "set -- ""`$@"" --move-psmoveapi-tracker"
|
||||
$moveRuntimeSetLines += "set -- ""`$@"" --move-tracker-exposure-milli $(Quote-ShSingle ([string]$MoveTrackerExposureMilli))"
|
||||
}
|
||||
$moveRuntimeSetBlock = ($moveRuntimeSetLines -join "`n")
|
||||
$odinCultMeshUriSetBlock = ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue