Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does the num_radar_pts parameter is obtained? #1098

Open
HYY-ying opened this issue Jul 28, 2024 · 5 comments
Open

How does the num_radar_pts parameter is obtained? #1098

HYY-ying opened this issue Jul 28, 2024 · 5 comments

Comments

@HYY-ying
Copy link

Hello! I would like to ask how the num_radar_pts parameter is obtained? Is it to convert the lidar bounding box and radar point cloud data into the same coordinate system and then use the function points_in_box from nuscenes.utils.geometry_utils to count? And how many radar sweeps were used? The result I got by converting the lidar bounding box and radar pcd data into the global coordinate and counting pts using function points_in_box from nuscenes.utils.geometry_utils is different from the num_radar_pts given in the sample_annotation. I only used just a single radar sweep and didn't do any invalid point filtering.

@whyekit-motional
Copy link
Collaborator

@HYY-ying there are multiple radars on the ego, so you might have to consolidate all the points for all the radars at a given keyframe and then use that consolidated radar point cloud for the counting

@HYY-ying
Copy link
Author

HYY-ying commented Aug 1, 2024

Thank you for your answer! I have one more question, what is the relationship between radial velocity V_r and V_x(V_y)?

@HYY-ying
Copy link
Author

HYY-ying commented Aug 1, 2024

And what's the definition of steering angle? Is it α or (π/2-α) in the image?
QQ图片20240801154350

@whyekit-motional
Copy link
Collaborator

@HYY-ying

what is the relationship between radial velocity V_r and V_x(V_y)?

v_r (the radial velocity) is the velocity vector that points radially (wrt the ego) - it can be decomposed into a velocity vector that points in the x-direction (wrt the ego) v_x and a velocity vector that points in the y-direction (wrt the ego)

And what's the definition of steering angle?

The steering angle of the agent depends on the coordinate frame you are taking reference from - pls see https://www.nuscenes.org/static/media/data.9ef46c59.png for the various coordinates frames

@HYY-ying
Copy link
Author

HYY-ying commented Aug 1, 2024

yep, suppose this picture is in radar coordinate system, I'm trying to figure out if the steering angle is (π/2-α) in nuscenes? I think so, but I'm not sure.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants