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

No points published for kinetic devel #42

Open
CesMak opened this issue Nov 13, 2019 · 5 comments
Open

No points published for kinetic devel #42

CesMak opened this issue Nov 13, 2019 · 5 comments

Comments

@CesMak
Copy link

CesMak commented Nov 13, 2019

Hey there,

just tested the kinetic-devel branch unittests:

ostest realsense_gazebo_plugin realsense_streams.test
... logging to /home/mlamprecht/.ros/log/rostest-mlamprecht-pc-8945.log
[ROSUNIT] Outputting test results to /home/mlamprecht/.ros/test_results/realsense_gazebo_plugin/rostest-test_realsense_streams.xml
[ INFO] [1573634895.473643669]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1573634895.474245803]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1573634895.957811694]: Realsense Gazebo ROS plugin loading.

RealSensePlugin: The realsense_camera plugin is attach to model realsense_camera
[ INFO] [1573634896.075718407, 0.022000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1573634896.096323756, 0.042000000]: Physics dynamic reconfigure ready.
[Testcase: testrealsense_plugin_test] ... ERROR!
ERROR: max time [60.0s] allotted for test [realsense_plugin_test] of type [realsense_gazebo_plugin/test_realsense_streams]
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostest/runner.py", line 148, in fn
    self.test_parent.run_test(test)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostest/rostest_parent.py", line 132, in run_test
    return self.runner.run_test(test)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/launch.py", line 684, in run_test
    (test.time_limit, test.test_name, test.package, test.type))
--------------------------------------------------------------------------------

[ROSTEST]-----------------------------------------------------------------------


SUMMARY
 * RESULT: FAIL
 * TESTS: 0
 * ERRORS: 1
 * FAILURES: 0

If I try to see the point cloud, no points are published. This is what I did:

roslaunch realsense_gazebo_plugin realsense.launch # in terminal 1
roslaunch realsense_gazebo_plugin depth_proc.launch # in terminal 2
Then open Rviz, and display the /realsense/camera/depth_registered/points topic, you should see something like this 
@anubhav1772
Copy link

Hey, have you able to solve above error? I am also getting the same error.

@SyrianSpock
Copy link
Owner

Are you using ROS kinetic with Gazebo 7?

@MoTahoun
Copy link

@SyrianSpock I got the same error and yes I am using ROS kinetic with Gazebo 7.
Is there any solution?

Thanks in advance

@SyrianSpock
Copy link
Owner

This is weird do you still get the issue on the current master branch?

@danem
Copy link

danem commented Apr 3, 2020

As for failing the unit tests:

I'm running melodic and using the master branch and had the same failure as OP. In realsense_streams_test.cpp I changed the topic names to start with realsense_plugin and now it passes every test except the last one.

I'm still unable to get the pointcloud working however. I've tried using rosrun tf static_transform_publisher 0 0 0 0 0 0 origin depth 1 to create the tf frames necessary for Rviz, without any luck.

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

5 participants