find-object icon indicating copy to clipboard operation
find-object copied to clipboard

the position of the detected object is not correct!!

Open Masoumehrahimi opened this issue 3 years ago • 1 comments

hi,

I have a robot that the D435i camera is attached to the bulk-head. i have extracted the position of the object relative to the camera, but it is not correct! after launching find_3d_object.launch, i can see that the position of the detected object is not correct: in the following you can see one example. i have considered camera_color_optical_frame as the fixed frame. so i expect that the objects on the right hand side of my camera have a positive x and negative y, and positive for both x and y for those objects on the left side. but you can see that for the objects in the left side, both x and y are negative? why? i have considered: X forward Y left Z up

one more thing is that we expect by the movement of the vehicle toward objects, distance between them decrease, but the output sometime is increase and sometimes decrease.!!!!

Screenshot from 2022-05-25 11-06-21

object_44 in the left sie, this is the plot about x position over time, from the time that it has been detected, and up to the time that the object disappear from the point of view of camera (vehicle is moving on the railway track) image

object on the right hand. image

what is the procedure when we have a camera is on a moving vehicle?! Thanks

Masoumehrahimi avatar May 25 '22 10:05 Masoumehrahimi

I have plotted one more graph, which shows X, Y, and Z. i have omitted the negative sign (i mean now I have the absolute values). what is the meaning of X, Y and Z? they are indicative of what? what is their unit? m/cm? I have considered camera_color_optical_frame as my fixed frame! what is the difference between camera_link and camera_color_optical_frame as my fixed frame???! why the distance is changing a lot?? when the camera moves toward the object, we expect that the distance starts decreasing , but you can see a strange behaviour!! would you please help

sege

Masoumehrahimi avatar May 27 '22 10:05 Masoumehrahimi

See my answer here: https://answers.ros.org/question/401381/the-position-of-the-detected-object-is-not-correct/?answer=405981#post-id-405981

matlabbe avatar Sep 06 '22 04:09 matlabbe