Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
py-trees==0.8.3
numpy==1.18.4; python_version >= '3.0'
networkx==2.2
Shapely==1.7.1
numpy==1.24.4; python_version >= '3.0'
networkx==3.4.2
Shapely==2.1.1
psutil
xmlschema==1.0.18
ephem
tabulate
opencv-python==4.2.0.32
opencv-python==4.7.0.72
matplotlib
six
simple-watchdog-timer
Expand Down
4 changes: 2 additions & 2 deletions srunner/examples/cut_in_and_slow_right.osc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ scenario dut.cut_in_and_slow:
lane(1, at: start) # left to right: [1..n]
npc.drive() with:
lane(right_of: ego_vehicle, at: start)
position(1m, behind: ego_vehicle, at: start)
position(5m, behind: ego_vehicle, at: start)
position(20m, ahead_of: ego_vehicle, at: end)

change_lane: parallel(duration: 5s):
Expand All @@ -45,7 +45,7 @@ scenario top:
c: speeds

speed_a: velocity
keep (default speed_a == 30kph)
keep (default speed_a == 20kph)
speed_b: velocity = 30kph

speed_c: velocity = speeds.compute(x: 70kph, y:20kph)
Expand Down
2 changes: 1 addition & 1 deletion srunner/osc2_dm/physical_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def is_in_range(self, value) -> bool:
return value == self.num

def is_single_value(self) -> bool:
return isinstance(self.num, Range)
return not isinstance(self.num, Range)

def gen_single_value(self):
if self.is_single_value():
Expand Down
Loading