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

Can i simulate using Kinect without having Kinect on jade ?

asked 2016-07-07 12:39:52 -0600

patrchri gravatar image


I am fairly new to ROS and I use ROS Jade. I recently created a 4 wheel platform/robot (URDF model) and I wanted to put on it a Kinect Sensor so I can simulate the sensor in a custom environment via gazebo, before actually buying one. Is there a way to do that (it would be really helpful if you had some tutorial links) ? Or generally is there a way to simulate sensors in general without actually owning one ? I have checked openni, but I think this package helps you if you actually have the sensor.

Thanks for answering in advance and also thank you for your time.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-07 13:49:55 -0600

gvdhoorn gravatar image

ROS by itself doesn't simulate things, but using a simulator, it is possible to do what you want: the simulator (or a plugin for it) should then 'sense' the simulated world and construct the appropriate ROS messages, so your ROS application receives the correct data.

Gazebo is one simulator for which this is possible. See Tutorial: Using Gazebo plugins with ROS for information on how to do that with various simulated sensors. A virtual depth camera is one of them (see Openni Kinect).

edit flag offensive delete link more


Will the results of the simulation be close to what I will actually get from the device itself when I try to experiment with it, from your experience?

patrchri gravatar image patrchri  ( 2016-07-07 14:15:19 -0600 )edit

Well, the plugin models a 'generic' depth sensor, so I doubt it's going to be a 100% accurate model of a kinect. It's good enough to get similar data that you'd get from a real kinect.

gvdhoorn gravatar image gvdhoorn  ( 2016-07-08 02:36:10 -0600 )edit

Question Tools

1 follower


Asked: 2016-07-07 12:39:52 -0600

Seen: 259 times

Last updated: Jul 07 '16