ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

arifzaman's profile - activity

2021-08-05 09:25:50 -0500 marked best answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

I am working on Ubunto 20.4 with ROS noetic. I am having intel Real sense D415 camera by which I can visualize the point cloud on Rviz.

  1. I want to get xyz coordinates of each pointcloud and from that I want to separate min and max point xyz coordinates.
  2. After getting the min and max values of pointcloud i want to input my target xyz coordinates and want to compute the error difference.

I am very much new to ROS and doesn't have good programming experience as well. I will be very much thankful if anyone can share me any sample code or guide me step by step as i have searched almost all ROS forums but didn't get my answer.

I have gone through this code (https://www.programmersought.com/arti...) but it gives out several errors.

[ERROR] [1622062315.967796]: bad callback: <function callback_pointcloud at 0x7fe9857b61f0>
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
    cb(msg)
  File "/home/arif/catkin_ws/src/perception_pcl/pcl_ros/src/pcl_ros/xyz.py", line 14, in callback_pointcloud
    print (" x : %.3f  y: %.3f  z: %.3f") %(p[0],p[1],p[2])
TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'

Kindly help me out, I will be very much thankful to you.

2021-06-17 12:41:15 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Thanks Ranjit, Got your Point.

2021-06-15 14:13:31 -0500 received badge  Supporter (source)
2021-06-15 14:13:29 -0500 commented question map/16 Octomap error in Rviz

I also have the same error and the map is not updating. How to fix this?

2021-06-15 14:13:29 -0500 received badge  Commentator
2021-06-15 13:53:20 -0500 commented question RVIZ shows "Uninitialized quaternion, assuming identity." when displaying Octomap mapping

I also exactly got same error. My Octomap is also not updating. Have you got any solution? or is there anyone can help?

2021-06-11 13:12:48 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

No, the values which i am getting are like: value of x : 85.66250610351562 value of y : 48.047407150268555 value of z

2021-06-11 02:45:35 -0500 received badge  Famous Question (source)
2021-06-10 14:55:22 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Thanks you so much Ranjit, I have answered the ques. In my application I have to calculate the volume of soil from poin

2021-06-10 14:53:27 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Thanks you so much Ranjit, I have answered the ques, kindly check it if anything still wrong? Thanks again.

2021-06-10 14:50:07 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Thanks you so much Ranjit, I have answered the ques, kindly check it if anything still wrong? Thanks again.

2021-06-10 14:48:36 -0500 answered a question How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Thanks Ranjit once again, I have worked on my code and got the x,y,z coordinates and then finally got the volume of my p

2021-06-02 17:19:42 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

2.(Call get_depth function for obtaining the distance of that pixel into the point cloud.) def get_depth(self, x, y):

2021-06-02 17:17:22 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

2.(Call get_depth function for obtaining the distance of that pixel into the point cloud.) def get_depth(self, x, y):

2021-06-02 17:04:23 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Hello Ranjit, once again thank you so much for helping me. According to the link you have provided I have got code up to

2021-06-02 17:03:41 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Hello Ranjit, once again thank you so much for helping me. According to the link you have provided I have got code up to

2021-06-02 17:03:00 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Hello Ranjit, once again thank you so much for helping me. According to the link you have provided I have got code up to

2021-05-29 17:29:50 -0500 commented answer How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Respected Sir, Tons of thanks for your response. As soon as I had got your answer I started working to extract xyz coord

2021-05-29 16:17:07 -0500 commented question How to get xyz coordinates of pointcloud using Intel Real Sense D415?

Thank you so much for your comment, I have corrected my code, and now its working and giving the xyz values.

2021-05-29 16:09:40 -0500 received badge  Notable Question (source)
2021-05-27 07:12:32 -0500 received badge  Popular Question (source)
2021-05-26 18:10:29 -0500 commented answer How can i get x y z coordinates of pointcloud from a point (x,y) of color image D435

Respected Sir, I am working on Ubunto 20.4 with ROS noetic. I am having intel Real sense D415 camera by which I can visu

2021-05-26 15:55:49 -0500 asked a question How to get xyz coordinates of pointcloud using Intel Real Sense D415?

How to get xyz coordinates of pointcloud using Intel Real Sense D415? I am working on Ubunto 20.4 with ROS noetic. I am

2021-05-15 08:03:15 -0500 received badge  Enthusiast
2021-05-14 20:36:44 -0500 answered a question PassThrough nodelet with more than one field

I have made the launch file running, hope this helps. Here I have (camera/depth/color/points) topic and I am using Intel

2021-05-14 20:36:44 -0500 commented question PassThrough nodelet with more than one field

Respected member I am very much new to ROS and I exactly want to filter the xyz all at one so have you got any launch fi