You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After loading carla_apollo_bridge, some camera sensors need to be spawned so I can recorder the simulation.
However, when I spawned the recording camera, and add my own listenning callback function, a Segment Fault was caused in both Carla-Client and Carla-Server.
In what area(s)?
/area runtime
/area operator
/area placement
/area docs
/area test-and-release
A fixing suggestion
I tried adding a check before sensor listenning command in carla_bridge/sensor/camera.py , line 220
classRgbCamera(Camera):
""" Camera implementation details for rgb camera """def__init__(self, uid, name, parent, relative_spawn_pose, node, carla_actor, synchronous_mode):
""" ... """super(RgbCamera, self).__init__(uid=uid,
name=name,
parent=parent,
relative_spawn_pose=relative_spawn_pose,
node=node,
carla_actor=carla_actor,
synchronous_mode=synchronous_mode)
ifnamein ["front_6mm", "front_12mm"]:
self.listen()
So the bridge won't grab the customized sensor.listen callaback function, which is the main cause of segment fault.
But this method relies on understading object.json manualy, the files defines sensors belong exclusively to carla_bridge, instead of automatically excluding sensors belonging to carla_bridge.
The text was updated successfully, but these errors were encountered:
Describe the bug
After loading carla_apollo_bridge, some camera sensors need to be spawned so I can recorder the simulation.
However, when I spawned the recording camera, and add my own listenning callback function, a Segment Fault was caused in both Carla-Client and Carla-Server.
In what area(s)?
A fixing suggestion
I tried adding a check before sensor listenning command in
carla_bridge/sensor/camera.py
, line 220So the bridge won't grab the customized sensor.listen callaback function, which is the main cause of segment fault.
But this method relies on understading object.json manualy, the files defines sensors belong exclusively to carla_bridge, instead of automatically excluding sensors belonging to carla_bridge.
The text was updated successfully, but these errors were encountered: