Skip to content

Commit

Permalink
Metadrive: set near clip (commaai#30745)
Browse files Browse the repository at this point in the history
set near
  • Loading branch information
jnewb1 authored Dec 15, 2023
1 parent 5fe9f14 commit da12a34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/sim/bridge/metadrive/metadrive_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def __init__(self, *args, **kwargs):
cam.setPos(C3_POSITION)
lens = self.get_lens()
lens.setFov(120)
lens.setNear(0.1)

class RGBCameraRoad(CopyRamRGBCamera):
def __init__(self, *args, **kwargs):
Expand All @@ -45,6 +46,7 @@ def __init__(self, *args, **kwargs):
cam.setPos(C3_POSITION)
lens = self.get_lens()
lens.setFov(40)
lens.setNear(0.1)


def straight_block(length):
Expand Down

0 comments on commit da12a34

Please sign in to comment.