PointCloud for Pepper: Can not see the pointcloud using pepper_bringup python launcher

306 views
Skip to first unread message

Igor Rodriguez

unread,
Apr 25, 2017, 10:57:16 AM4/25/17
to ROS Sig Aldebaran
Hello, 

I have tried to get working Pepper with ROS from external pc using naoqi_bridge with not success. When I launch the pepper_bringup python launcher, I can see that there are two images, one for the front camera and another one for depth. I can see both in rviz as "normal" image, but when I try to visualise the pointcloud I can not see it. Anyone has a similar problem?

Thanks in advance

Natalia Lyubova

unread,
Apr 25, 2017, 11:00:19 AM4/25/17
to ROS Sig Aldebaran
Hello Igor,

which topic did you try to visualize as a PointCloud?

Igor Rodriguez

unread,
Apr 25, 2017, 11:15:54 AM4/25/17
to ROS Sig Aldebaran
Sorry but I do not know if I have already answered you. The topic I am trying to visualise is /pepper_robot/camera/depth_registered/points

Florian Lier

unread,
Apr 30, 2017, 9:56:19 AM4/30/17
to ROS Sig Aldebaran
I guess there is something wrong with your perception pipeline. Check if the points are even published.


On Tuesday, April 25, 2017 at 4:57:16 PM UTC+2, Igor Rodriguez wrote:

Igor Rodriguez

unread,
May 11, 2017, 4:59:34 AM5/11/17
to ROS Sig Aldebaran
I got it working with naoqi_driver package (C++) driver. But with python nodes it does not work. And I don't know the reason. Thanks
Message has been deleted

Aman Gill

unread,
Feb 12, 2018, 7:36:10 AM2/12/18
to ROS Sig Aldebaran
Hi, I am running C++ pepper_bringup, but still can't visualize point cloud in Rviz. Is it because of the Fixed Frame: Fixed Frame [map] does not exist error that I'm getting in Rviz. Any help? Thanks

Aman Gill

unread,
Feb 12, 2018, 8:03:09 AM2/12/18
to ROS Sig Aldebaran

I'm getting the following warning,
[ WARN] [1518440442.164297252]: TF2 exception:
Lookup would require extrapolation into the future.  Requested time 1518440442.161958100 but the latest data is at time 1518440441.920298373, when looking up transform from frame [CameraDepth_optical_frame] to frame [CameraTop_optical_frame]

without any visualizations.

Aman Gill

unread,
Feb 14, 2018, 12:24:57 AM2/14/18
to ROS Sig Aldebaran
Solved by changing Time::now() to Time(0).

Lahiru Herath

unread,
Jun 22, 2018, 8:59:22 AM6/22/18
to ROS Sig Aldebaran
Have you found a workaround this?


On Tuesday, April 25, 2017 at 4:57:16 PM UTC+2, Igor Rodriguez wrote:

Lorenzo Barranco

unread,
Aug 30, 2018, 10:11:30 AM8/30/18
to ROS Sig Aldebaran
Sorry can I ask how did you solve? I have the same problem and I don't understand where did you changed that parameter and why.

Lahiru Herath

unread,
Aug 30, 2018, 11:05:51 AM8/30/18
to ros-sig-...@googlegroups.com
Hi,

Nope couldn't get it solved with the pepper bring up package. However since you can see the depth image, can use the camera info and this to generate a poincloud using image pipeline.

Link - http://wiki.ros.org/image_pipeline

clone that package and load the nodelet depth image to pointcloud, the launch file goes something like this.


<!-- Nodelet manager for point_cloud-->
<node pkg="nodelet" type="nodelet" args="manager" name="manager" output="screen"/>

<node pkg="nodelet" type="nodelet" name="cloudify" args="load depth_image_proc/point_cloud_xyz manager">
    <remap from="camera_info" to="/pepper_interface/depth/camera_info"/>
    <remap from="image_rect" to="/pepper_interface/depth/image"/>
</node>

*output topic would be /points

Cheers

--
You received this message because you are subscribed to the Google Groups "ROS Sig Aldebaran" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-aldeba...@googlegroups.com.
To post to this group, send email to ros-sig-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ros-sig-aldebaran.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-aldebaran/aef56923-05e8-40b5-b6b6-20afd729f279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thank You,
Best Regards,
Lahiru Herath

Frederik Scholz

unread,
Sep 10, 2018, 8:51:39 AM9/10/18
to ROS Sig Aldebaran
Hello Lahiru,

I can't seem to get depth image to pointcloud working with naoqi_driver, do you maybe have an example launch file I could take a look at? I'm pretty new to this.

Thanks in advance!

Lahiru Herath

unread,
Sep 10, 2018, 10:08:23 AM9/10/18
to ros-sig-...@googlegroups.com
Hi,

My previous email should work. Just launch the pepper bringup according to ros wiki page as usual. And then launch the image pipeline node.

<launch>
<node pkg="nodelet" type="nodelet" args="manager" name="manager" output="screen"/>

<node pkg="nodelet" type="nodelet" name="cloudify" args="load depth_image_proc/point_cloud_xyz manager">
    <remap from="camera_info" to="/pepper_interface/depth/camera_info"/>
    <remap from="image_rect" to="/pepper_interface/depth/image"/>
</node>
</launch>

"/pepper_interface/depth/camera_info" - change this to whatever the topic of camera info
"/pepper_interface/depth/image" - this to whatever the topic of depth image
you can go through the topics using rostopic list and find out these two topics of the depth camera


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages