Metadrive: set near clip (#30745)

set near
pull/214/head
Justin Newberry 1 year ago committed by GitHub
parent 5fe9f1459c
commit da12a34ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/sim/bridge/metadrive/metadrive_bridge.py

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

Loading…
Cancel
Save