From 86c0ea6f63e2648a518cc955b76aae672b606ba6 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Thu, 11 Jun 2026 15:06:33 +0200 Subject: [PATCH] fix(iace): wire M605/M606 into lift patterns so they fire MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding M605 (drive-limited general speed) and M606 (limited descent on energy loss) to the library wasn't enough — measures only get suggested if a pattern's SuggestedMeasureIDs references them. Add M605 to the three lift crush patterns and M606 to the floor-stop descent pattern (HP2100), so a re-seed actually attaches them and the distance benchmark closes the ≤150 mm/s gap. Co-Authored-By: Claude Opus 4.7 --- .../internal/iace/hazard_patterns_lift_endstop.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ai-compliance-sdk/internal/iace/hazard_patterns_lift_endstop.go b/ai-compliance-sdk/internal/iace/hazard_patterns_lift_endstop.go index 32842a38..ce35a97b 100644 --- a/ai-compliance-sdk/internal/iace/hazard_patterns_lift_endstop.go +++ b/ai-compliance-sdk/internal/iace/hazard_patterns_lift_endstop.go @@ -21,7 +21,7 @@ func GetLiftEndstopPatterns() []HazardPattern { RequiredEnergyTags: []string{"gravitational"}, MachineTypes: liftTypes, GeneratedHazardCats: []string{"mechanical_hazard"}, - SuggestedMeasureIDs: []string{"M600", "M601", "M604", "M141"}, + SuggestedMeasureIDs: []string{"M600", "M601", "M604", "M605", "M606", "M141"}, Priority: 92, ScenarioDE: "Fuss oder Bein des Bedieners gelangt waehrend des Absenkvorgangs unter die " + "Hubplattform. Bei Erreichen der unteren Endlage wird der Fuss zwischen Plattform " + @@ -74,7 +74,7 @@ func GetLiftEndstopPatterns() []HazardPattern { RequiredEnergyTags: []string{"gravitational"}, MachineTypes: liftTypes, GeneratedHazardCats: []string{"mechanical_hazard"}, - SuggestedMeasureIDs: []string{"M602", "M603", "M600", "M141"}, + SuggestedMeasureIDs: []string{"M602", "M603", "M600", "M605", "M141"}, Priority: 90, ScenarioDE: "Beim Hochfahren der Last gelangen Hand oder Koerperteile des Bedieners " + "zwischen die hoechste Position der Hubeinheit (z.B. mit beladener Palette) und " + @@ -101,7 +101,7 @@ func GetLiftEndstopPatterns() []HazardPattern { RequiredEnergyTags: []string{"gravitational"}, MachineTypes: liftTypes, GeneratedHazardCats: []string{"mechanical_hazard"}, - SuggestedMeasureIDs: []string{"M602", "M601", "M141"}, + SuggestedMeasureIDs: []string{"M602", "M601", "M605", "M141"}, Priority: 85, ScenarioDE: "Person befindet sich seitlich neben der Hubeinheit und wird waehrend " + "der Bewegung gegen eine feste Struktur (Regalwand, Stuetze, andere Anlage) gequetscht.",