nav2_safety_layer 0.1.2
nav2_safety_layer: ^0.1.2 copied to clipboard
Pure-Dart bridge composing navigation_safety_core primitives over ROS 2 Navigation Stack (nav2) Collision Monitor / Detector state messages.
Changelog #
0.1.2 #
- Republish from the embedded-target Dart 3.10.1 SDK (Flutter 3.38.3) to correct a stale
^3.11.0SDK floor in the previously-published artifact. No source or behavior change; the source already declaredsdk: ^3.10.0. Restorespub getfor embedded/automotive Dart consumers on Dart 3.10.x.
0.1.1 — 2026-05-10 — Pana score recovery (Theme α P3) #
- Trim pubspec
descriptionto within the pana 60–180 character target. - Add minimal
example/main.dartfor pana documentation scoring. - Apply
dart formatto clear any formatter findings. - No SDK source changes; metadata + format pass only.
0.1.0 — 2026-05-10 — Initial nav2 safety-layer composition #
Nav2CollisionMonitorState/Nav2CollisionDetectorState— Dart records mirroringnav2_msgs/msg/CollisionMonitorStateandnav2_msgs/msg/CollisionDetectorStateROS 2 messages verbatim.Nav2CollisionAction— enum mirroring the upstreamuint8action-type constants (DO_NOTHING / STOP / SLOWDOWN / APPROACH / LIMIT) with caution-add-only fallback for unknown values.Nav2SafetyMapper— static mapper from collision-monitor state events tonavigation_safety_coreAlertExplaineradvisories.Nav2SafetyLayer— composition class with internalAlertDensityThrottlerate-limiting and a broadcast advisory stream the integrator's HMI can subscribe to.- No transport lock-in: package depends only on
navigation_safety_core+equatable. Integrators wire any ROS-Dart bridge (roslibdart, rosbridge over WebSocket, MQTT bridge, custom) to feed typed records into the layer. - Tests construct typed records directly; no live bridge required.