How trasform image points in map frame #5791
Unanswered
Georgegal00
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The goal of my project is to provide a reference_path for the vehicle to follow the lane. It is done using a lane detection network that returns points to me in 2D image coordinates. The goal is to transfrom these points into the frame map to get a valid path. I would like to understand how to transform these points in the right way. I'm using the carla_autoware_interface, so the simulation is in Carla.From the topic camera_info I see that the camera frame is traffic_light_left_camera/camera_optical_link, and with : `ros2 run tf2_ros tf2_echo map traffic_light_left_camera/camera_optical_link
[INFO] [1739626472.451398971] [tf2_echo]: Waiting for transform map -> traffic_light_left_camera/camera_optical_link: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
At time 472.850007046
0.941 -0.004 0.337 -485.596
-0.337 -0.015 0.941 -74.916
0.002 -1.000 -0.015 1.968
0.000 0.000 0.000 1.000`. Also from the camera_info topic are available the matrices needed to perform perspective transfrom, I would like to know if instead the spawn_point configuration in object.json is related to the world or the vehicle. To transfrom image coordinates to frame map what steps should I follow? Should I transfrom points to 3D camera coordinates first and then apply the transformation? And as for the transfrom is it okay to use the one shown above? Or should I go backwards in the tree, then go through sensor_base_kit -> base_link -> map?Any advice will be extremely helpful, thank you.
Beta Was this translation helpful? Give feedback.
All reactions