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
We attach a camera and a Lidar for the vehicle. lidar = Lidar('lidar1', beamng, vehicle, pos=(0, 0, 1.7), requested_update_time=0.05, is_using_shared_memory=False, is_visualised=True, frequency=3, is_360_mode=False, horizontal_angle=120, max_distance=85) front_camera = Camera('front_camera', beamng, vehicle, pos=(-0.3, -2.1, 1), dir=(0, 0, 0), field_of_view_y=120, resolution=(256, 256), is_render_colours=True, is_render_depth=False, is_render_annotations=True, is_render_instance=False)
However, the annotation result of the camera does not update when we save the data as follows: front_cam_data = front_camera.poll() annotation = front_cam_data['annotation'].convert('RGB') annotation.save('xxx.jpg')
We always get the annotation result of the first frame. The color image and the depth image are correct. And we find that the function get_full_poll_request() must be used to obtain the correct annotation result. Both poll() and stream() are performed abnormally.
Could you please help us check if we use the api correctly? Thank you!
The text was updated successfully, but these errors were encountered:
We attach a camera and a Lidar for the vehicle.
lidar = Lidar('lidar1', beamng, vehicle, pos=(0, 0, 1.7), requested_update_time=0.05, is_using_shared_memory=False, is_visualised=True, frequency=3, is_360_mode=False, horizontal_angle=120, max_distance=85)
front_camera = Camera('front_camera', beamng, vehicle, pos=(-0.3, -2.1, 1), dir=(0, 0, 0), field_of_view_y=120, resolution=(256, 256), is_render_colours=True, is_render_depth=False, is_render_annotations=True, is_render_instance=False)
However, the annotation result of the camera does not update when we save the data as follows:
front_cam_data = front_camera.poll()
annotation = front_cam_data['annotation'].convert('RGB')
annotation.save('xxx.jpg')
We always get the annotation result of the first frame. The color image and the depth image are correct. And we find that the function get_full_poll_request() must be used to obtain the correct annotation result. Both poll() and stream() are performed abnormally.
Could you please help us check if we use the api correctly? Thank you!
The text was updated successfully, but these errors were encountered: