Is NuRec render_lidar supported from the Python CARLA examples?
#9732
Unanswered
Chinese-Coding
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is NuRec
render_lidarsupported from the Python CARLA examples?Hi, I am working with the NuRec CARLA examples and trying to add a LiDAR sensor.
From reading the current Python example code, it looks like the high-level NuRec Python integration is mainly camera-oriented:
NurecScenario.add_camera(...)creates aNurecSensorNurecSensor.on_world_tick(...)callsNurecRenderer.render(...)NurecRenderer.render(...)builds an RGB render request and callsclient_service.render_rgb(...)However, the generated gRPC/proto layer appears to already expose LiDAR support:
LidarSpecLidarRenderRequestLidarRenderReturnSensorsimService.render_lidar(...)I could not find a corresponding Python-level wrapper such as:
NurecScenario.add_lidar(...)NurecRenderer.render_lidar(...)NurecLidarSensorSo my understanding is that the backend/proto has LiDAR rendering capability, but the current Python examples do not expose it as a convenient API in the
same way as RGB cameras.
My questions are:
render_lidarintended to be used directly from Python users, or is it currently considered internal/experimental?LidarRenderRequestcorrectly, especially for sensor pose, dynamic objects, and coordinate transforms between CARLA and NuRec?sensor.lidar.ray_cast) attached to the ego vehicle, or is NuRec-renderedLiDAR expected to be supported?
add_camera(...), for exampleadd_lidar(...)?The main confusion is that
render_lidarexists in the service API, but the Python example layer only wraps RGB rendering. It would be helpful to know whether this is intentional, unfinished, or simply not documented yet.All reactions