Skip to content

Commit

Permalink
Update mask example to use constant dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot committed Jan 10, 2024
1 parent 8a876fd commit 626584a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/occlusion/mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
CameraSensorName,
CustomRender,
CustomRenderCameraDependency,
CustomRenderConstantDependency,
DoneCriteria,
DrivableAreaGridMap,
OcclusionMap,
Expand Down Expand Up @@ -803,6 +804,10 @@ def occlusion_main():
camera_dependency_name=CameraSensorName.TOP_DOWN_RGB,
variable_name="iChannel1",
),
CustomRenderConstantDependency(
value=(0.1, 0.5, 0.1),
variable_name="empty_color",
),
),
width=w,
height=h,
Expand Down

0 comments on commit 626584a

Please sign in to comment.