carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.42k stars 3.7k forks source link

Optical flow: wrong flow for moving objects when replay a captured Carla file #4611

Open mawistc opened 3 years ago

mawistc commented 3 years ago

CARLA version: 0.9.12 Platform/OS: Windows and Ubuntu 18.04 Problem you have experienced: Incorrect optical flow, from moving objects are wrong. Looks like only global ego motion is calculated What you expected to happen: Get correct optical flow data

Steps to reproduce: Set a Optical flow camera sensor Record a Carla file - client.stop_recorder() Relay the Carla file and store Optical flow camera sensor data - client.replay_file("record.log"))

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

knelk commented 2 years ago

@MatthiasWildeBusiness does this only happen for the playback of a recorded file? What if you record the sensor data during the initial simulation - are the OFs for moving object correct, then?

mawistc commented 2 years ago

Hi, actually this happens during rendering directly. Replaying a captured file is not supported at all since this is a kind of "set positions" mode and can not calculate flow.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.