JSON ステータス仕様
Limelightの JSON ステータス出力は一般的な診断情報に役立ちます。 同じJSON ステータス出力は、ライブラリの一つを使用するか、(IPアドレス):5807/status へのGETリクエストで取得できます。
すべてのJSON ステータスオブジェクトには以下のエントリが含まれています:
キー 名 | 値の説明 |
---|---|
cameraQuat | カメラクォータニオン (w, x, y, z) |
cid | カメラセンサーID |
cpu | CPU使用率(パーセンテージ) |
finalYaw | 最終ヨー値 |
fps | フレーム毎秒 |
hwType | ハードウェアタイプ整数 |
ignoreNT | NetworkTablesを無視するフラグ |
interfaceNeedsRefresh | インターフェース更新要求フラグ |
name | デバイス名 / ホスト名 |
pipeImgCount | パイプライン画像数 |
pipelineIndex | 現在のパイプラインインデックス |
pipelineType | 現在のパイプラインタイプ |
ram | RAM使用率(パーセンテージ) |
snapshotMode | スナップショットモードフラグ |
temp | CPU温度(摂氏) |
{
"cameraQuat": {
"w": 0,
"x": 0,
"y": 0,
"z": 0
},
"cid": 5647,
"cpu": 47.208126068115234,
"finalYaw": 0,
"fps": 63.55415344238281,
"hwType": 7,
"ignoreNT": 0,
"interfaceNeedsRefresh": 0,
"name": "limelight",
"pipeImgCount": 2,
"pipelineIndex": 0,
"pipelineType": "pipe_color",
"ram": 75.23017120361328,
"snapshotMode": 0,
"temp": 57.93899917602539
}