Publish Nightwing Muninn health over RUDP
This commit is contained in:
parent
544c7ff3c6
commit
9f1d34f341
2 changed files with 13 additions and 2 deletions
|
|
@ -216,3 +216,10 @@ PID, and logs under
|
|||
With that Move state source attached, `serve` also publishes the
|
||||
`muninn:nightwing:move-evidence` CultMesh stream frame body that Mimir's native
|
||||
Move evidence reservoir consumes.
|
||||
Nightwing source discovery must emit one Move source per controller id. The USB
|
||||
pairing collection and Bluetooth joystick can expose the same controller as
|
||||
separate `/dev/input/js*` paths; `nightwing-move-state-sources.sh` prefers the
|
||||
Bluetooth `HID_ID=0005:0000054C:000003D5` path so Idunn health does not demand
|
||||
fresh records from two faces of the same controller. The Nightwing health
|
||||
actuator publishes `nightwing-muninn` health over RUDP to Starfire Idunn at
|
||||
`10.77.0.2:17870`.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ param(
|
|||
[string] $StorePath = "/home/metacrat/.local/state/gamecult/muninn/muninn.telemetry.cc",
|
||||
[string] $PidPath = "/home/metacrat/.local/state/gamecult/muninn/muninn.pid",
|
||||
[string[]] $MoveState = @(),
|
||||
[int] $IntervalSeconds = 15
|
||||
[int] $IntervalSeconds = 15,
|
||||
[string] $IdunnRudpHealth = "10.77.0.2:17870"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
|
@ -42,7 +43,10 @@ set -- --health \
|
|||
--host nightwing
|
||||
$moveStateSetLines
|
||||
set -- "`$@" \
|
||||
--interval-seconds '$IntervalSeconds'
|
||||
--interval-seconds '$IntervalSeconds' \
|
||||
--idunn-rudp-health '$IdunnRudpHealth' \
|
||||
--idunn-daemon 'nightwing-muninn' \
|
||||
--idunn-health-contract 'muninn.cultnet-rudp-remote-telemetry-and-move-hid'
|
||||
'$MuninnExe' "`$@"
|
||||
"@
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue