← Back to Pull requests

feat(static): add SetWifiConnect.srv and ConnectionProfile.ssid #69

Closed
unknown closed this pull request without merging on Oct 20, 2026 01:42 UTC
View on GitHub
unknown unknown commented on Oct 15, 2026 00:26 UTC
Author

PUT /network/wifi/connect/{ssid} was defined in the GUI REST config only; no ROS type carried the SSID, so the backend could only toggle the Wi-Fi device. Promote the SSID-specified connect to the shared contract:

  • srv/SetWifiConnect.srv: request {ssid, connected}, response {success, message}. Empty ssid keeps the device-level toggle.

  • msg/ConnectionProfile.msg: add ssid (filled for 802-11-wireless profiles) so clients can address saved networks by SSID instead of the NetworkManager profile name.

  • srv/SetWifiConfig.srv: drop the "also used for PATCH /network/wifi/connect" comment; connecting is SetWifiConnect now.

  • msg/NetworkConnection.msg: remove; it was referenced by nothing (GetNetworkConfig returns ConnectionProfile).

  • README_types.md updated by hand accordingly.
  • <!--
    📝 Pull Request テンプレート
    - 各セクションのコメント(この灰色の注釈)は記入ガイドです。記入後は残しても削除しても構いません。
    - チェックボックスは該当するものを [x] にしてください。
    - 「AIレビュー結果」は任意(best effort)です。不要なら折りたたみごと削除して OK です。
    -->

    👥 担当

    <!-- GitHub ID を @ 付きで記入してください。レビュー担当とマージ担当が同じ場合は同じ人を書いてください。 -->

    | 役割 | 担当者 |
    | --- | --- |
    | 🔍 レビュー依頼 | @TriorbKumagaiKazuki @tr-motomura-akira |
    | 🔀 マージ依頼 | @TriorbKumagaiKazuki @tr-motomura-akira |

    🏷️ プロセス状態

    <!-- この PR の位置づけを 1 つ選んでください。複数にまたがる場合は主となるものを選び、「詳細」に補足してください。 -->

  • 🆕 新規設計

  • ✏️ 設計修正

  • 🛠️ 新規実装

  • 🔧 実装修正
  • 🔗 タスクリンク

    <!--
    スクラムで報告しているタスクへのリンクを貼ってください。複数ある場合は箇条書きで。
    - Notion のタスク: URL をそのまま貼る
    - GitHub Projects / Issue: #123 や owner/repo#123 と書くと自動でリンクされます。
    Closes #123 と書くとマージ時に Issue が自動クローズされます。
    -->

  • Notion: https://www.notion.so/...

  • Issue: #
  • https://teams.microsoft.com/l/message/19:grEV73QZ-DfYtoUvgY3HUCGRbX3HKWLsxTgYjFaynQQ1@thread.tacv2/1791963050491?tenantId=d8bd92b0-7714-4243-8e54-1048cce14a0a&groupId=85660ee6-ce9d-4abd-adbf-f248ad6b0187&parentMessageId=1791963050491&teamName=001_%E9%83%A8%E9%96%80%E7%AE%A1%E7%90%86&channelName=(Private)%E5%85%88%E8%A1%8C%E9%96%8B%E7%99%BA%E9%83%A8&createdTime=1791963050491&ngc=true

    📋 詳細

    <!--
    レビューして欲しいことを書いてください。例:
    - 何を・なぜ変更したのか(背景と目的)
    - 特に見て欲しい箇所、判断に迷った点
    - 動作確認の方法と結果(ログ・スクリーンショット歓迎)
    - 影響範囲や既知の制約
    -->

    GUI の PUT /network/wifi/connect/{ssid} は REST 定義(07.network.yaml)だけが先行し、対応する ROS 型が無かった。実装は SetWifiConfig.srv を流用して Wi-Fi デバイスのON/OFF しかできず、path の ssid は Service に渡っていなかった。

    ✅ セルフチェック

    <!-- PR を出す前に自分で確認した項目にチェックを入れてください。該当しない項目は削除して構いません。 -->

  • ローカルでビルド・テストが通っている

  • 関連ドキュメント / コメントを更新した

  • 破壊的変更・互換性への影響を「詳細」に記載した
  • <details>
    <summary>🤖 AIレビュー結果(任意 / best effort)</summary>

    <!--
    AI(Claude / Copilot など)にレビューさせた場合、その結果を 30 行程度に圧縮して貼ってください。
    指摘への対応状況(対応済み / 対応しない理由)も添えるとレビューがスムーズです。
    実施していない場合はこの <details> ブロックごと削除して構いません。
    -->

    </details>

    Diff: 333 lines (+249 / -84) across 4 files Reviewer: tr-motomura-akira Review duration: 7275m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.42) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 333 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.348
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #69"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.1% (MEDIUM) · Higher = larger blast radius
    42.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 18.2% · Safe to merge
    18.2%