Carla: Incorrect doppler velocities

Created on 30 Dec 2019  路  10Comments  路  Source: carla-simulator/carla

Hi everyone,

The current radar implementation seems to calculate the range rate along a given azimuth angle as simply the velocity the actor instead of velocity along the line of sight with radar. Does anyone know if fixing this is in the development pipeline of Carla?

figure_1-1
X-axis: azimuth in degrees, Y-axis: range rate. One plot each for the front and the rear radar respectively. I was expecting a sinusoid relation b/w range rate and the azimuth angle.

I'd be happy to fix this if it's not planned.

solved stale

All 10 comments

Hello,

I think @marcgpuig can be more helpful than me with this issue, however you can always try to fix it and open a pull request, which we will later review and eventually update the code with.

@marcgpuig please, let's work on fixing this issue.

I am looking into this. I hope I can update you on Monday.

@stackSmasher294 Can you send me the script that you use to test? Or at least the part that you use to visualize the radar output?

Um, the actual script just reads off a ROS topic. It was used in conjunction with the Carla ros-bridge.

I think I may have figured out where the problem is. Just confirming - to test it, I'll have to build CARLA from source, right?

Yep, because the logic of the radar is in the server side.

Rebuild Carla with the fix and the problem is solved! The doppler plots now look like this:

Figure_1-2

I'll open a pull request with the fix.

Thanks @stackSmasher294 ! I just pushed it to master.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

syinari0123 picture syinari0123  路  3Comments

imran514 picture imran514  路  3Comments

jinfagang picture jinfagang  路  3Comments

chankim picture chankim  路  3Comments

qixiaoshuai0120 picture qixiaoshuai0120  路  3Comments