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

Gazebo simulation when looking at the empty space some times getting a really low value #11

Open
Gio-giouv opened this issue Jun 12, 2023 · 4 comments

Comments

@Gio-giouv
Copy link

Screenshot from 2023-05-05 16-14-44
You could see that values red dots in the range image are not corresponds to the actual value . Would it be that the problem is because running in gazebo simulation or I need to change something in the code ? Any help-advice would be appreciated , thank you

@EPVelasco
Copy link
Owner

Hello, the problem may be the transformation matrix between the lidar and the camera. Please check this issue.

@Gio-giouv
Copy link
Author

Thank you for your response , it seems that the problem occurred because I change the increment step in this arma::vec XI = arma:: regspace(X.min(), 1.0, X.max()); from 1.0 to 0.1 ( in the starting of the interpolation algorithm)
Screenshot from 2023-06-20 12-43-06
but I did that because I do not have so many detected points other wise the above image is when I set interpolation value 1

@Gio-giouv
Copy link
Author

When I set interpolation value 10 I got the following
Screenshot from 2023-06-20 13-15-58

@Gio-giouv
Copy link
Author

When I use the point could named cloud_out that used by the rangeImage in the begging without going inside of the interpolation part of the algorithm I have better results ,the visualization gives me the actual shape of the object and not just a flat image of it. Also to calculate the translation and rotation matrix I used tf_view tha gives me the transaltion and rotation in quaternion form.Do you have any idea what is going on?Thank you for the guidance
Screenshot from 2023-06-20 12-56-02
, I appreciate any of your help.

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

No branches or pull requests

2 participants