ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hello arifzaman,
I want to get xyz coordinates of each pointcloud
This answer represents how you can obtain x,y,z from UV (Image pixels).
https://answers.ros.org/question/372663/convert-pixel-coordinates-uv-to-pointcloud2-x-y-z-python/#372672
from that I want to separate min and max point xyz coordinates.
Now based on these points you can check based on z which is near and which point is far. Also, you can get right and left by minimum x coordinate and maximum coordinate.
After getting the min and max values of pointcloud i want to input my target xyz coordinates
You have to then convert this coordinate with respect to the world. For example, I am using a robotic arm at that time I have to calculate this position with tf package so I can give the command to my robot arm to go at this desired location.
want to compute the error difference.
I don't get this point. You want to calculate error based on what?
I am very much new to ROS and doesn't have good programming experience as well.
If you don't have a good programming experience that it will be a bit tough for you, but I think you will achieve this.
If you are facing any issue with this. Just drop a comment will try my best to answer.
2 | No.2 Revision |
Hello arifzaman,
I want to get xyz coordinates of each pointcloud
This answer represents how you can obtain x,y,z from UV (Image pixels).
https://answers.ros.org/question/372663/convert-pixel-coordinates-uv-to-pointcloud2-x-y-z-python/#372672
from that I want to separate min and max point xyz coordinates.
Now based on these points you can check based on z which is near and which point is far. Also, you can get right and left by minimum x coordinate and maximum coordinate.
After getting the min and max values of pointcloud i want to input my target xyz coordinates
You have to then convert this coordinate with respect to the world. For example, I am using a robotic arm at that time I have to calculate this position with tf package so I can give the command to my robot arm to go at this desired location.
want to compute the error difference.
I don't get this point. You want to calculate error based on what?
I am very much new to ROS and doesn't have good programming experience as well.
If you don't have a good programming experience that it will be a bit tough for you, but I think you will achieve this.
If you are facing any issue with this. Just drop a comment will try my best to answer.