File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ set(GZ_PHYSICS_VER ${gz-physics7_VERSION_MAJOR})
136
136
137
137
#--------------------------------------
138
138
# Find gz-sensors
139
- gz_find_package(gz-sensors8 REQUIRED
139
+ gz_find_package(gz-sensors8 REQUIRED VERSION 8.2.0
140
140
# component order is important
141
141
COMPONENTS
142
142
# non-rendering
Original file line number Diff line number Diff line change @@ -1034,6 +1034,11 @@ std::chrono::steady_clock::duration SensorsPrivate::NextUpdateTime(
1034
1034
continue ;
1035
1035
}
1036
1036
1037
+ if (rs->IsTriggered ())
1038
+ {
1039
+ continue ;
1040
+ }
1041
+
1037
1042
std::chrono::steady_clock::duration time ;
1038
1043
// if sensor's next update tims is less or equal to current sim time then
1039
1044
// it's in the process of being updated by the render loop
You can’t perform that action at this time.
0 commit comments