Repository navigation
feat: 転倒防止アナウンス機能 - #206
Merged
Merged
feat: 転倒防止アナウンス機能 #206
Conversation
|
立席運行時の転倒防止のためのアナウンス/表示を追加する。 - 立席モード切替サービス (/signage/set/standing_mode、停車中のみ受付) と設定永続化 - 発車警告: 立席モードON時、発進時に engage に代えて発車警告を発話・表示 - 急減速/急操舵警告: 縦減速・縦ジャーク、および横加速度・横ジャーク(計算)の いずれか超過で発話・表示。横ジャークは v^2 * steering_rate / wheel_base で算出 (wheel_base は /api/vehicle/dimensions サービスから取得、未取得時はパラメータ値) - 永続設定を SettingsStore (統合JSON) に集約し、再発話抑止を announce_interval 方式へ 乗客向けHMI (#205) との統合で顕在化した不具合を解消: - autoware_interface の sub_kinematics_callback 二重定義を1メソッドに統合 (縦速度取得とゴール距離算出を両立) - dataclass import に field を追加 (velocity_factors の default_factory 用) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
yabuta
force-pushed
the
feature/standing-fall-prevention-announce
branch
from
July 30, 2026 02:46
aacc1c2 to
2f320d9
Compare
追加した立席警告音声4件が他アナウンス(約-16 LUFS)より約10dB小さく 聞こえづらかったため、統合ラウドネス -16 LUFS へ正規化して揃える (形式は 48kHz/16bit/mono 維持、ピーク -1.5dB でクリップなし)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


概要
L2立席運行(乗客が立って乗車する運用)向けの転倒防止アナウンス+表示機能。要件 UC-01〜03 を実装。
変更点 (コミット単位)
ea156f9): 立席モード(UC-01, SetBoolサービス/signage/set/standing_mode, 停車中のみ受付)、発車警告(UC-02)、急減速/急操舵の即時警告(UC-03,sudden_motion_checker_callback)、StandingWarningView.qml。a809a6c): 転倒防止アナウンスの実音声4件(standing_depart/standing_sudden_stop/standing_sudden_turn/standing_sudden_stop_turn)。caf4911): engage と発車警告の「発進します」重複を修正。0e725f4): 縦jerk判定・UC別クールダウンの要件反映、send_announceの結果ログ (NFR-08/09/10)。8e9181d)。1805052): 個別ファイル→/opt/autoware/signage_settings.json統合。クールダウンを VVAS 同方式のannounce_intervalへ移行。d504a2b): 加速時の正ジャークを急減速と誤判定する問題を受け、jerk <= -0.6(減速方向のみ)へ確定。aacc1c2): 急操舵検知を横加速度(lateral_acceleration_abs >= 0.8)単独から、横加速度 OR 横ジャークの2条件へ拡張(要件 SYS2-UC03-01「metricのいずれか超過で急操舵」/検討案 最大横加速度≥0.8・最大横ジャーク≥0.5)。横ジャークはmetric未配信のため車内サイネージECUでv^2 * steering_rate / wheel_baseとして算出。速度は/api/vehicle/kinematics(topic)を購読、wheel_baseは/api/vehicle/dimensions(サービスGetVehicleDimensions)を起動時に取得(未起動時はタイマー待機)し、取得前・失敗時は param(既定2.75m)をフォールバック。検証
colcon build --packages-select signage成功。lateral_acceleration_absによる急旋回判定の発火を確認)。既知の制約 / 対象外
signage_param.yamlで変更可)。persist_files未登録のためOTA更新でリセットされる(要別途対応)。🤖 Generated with Claude Code