Ask Your Question
0

Simulation of Kinect on Husky Robot

asked 2015-01-26 19:10:14 -0500

musiqsoulchild gravatar image

Hi all,

I'm new to ROS and have gone through the basic tutorials. I'm trying to get gmapping working on the husky robot in simulation. I want to simulate gmapping using a kinect (which I will be using on later in real life if the simulation works). Right now I have the kinect showing up in gazebo but I don't have anything coming up in rviz (no topics - that i can see).

From what I have gathered from reading online is that I need to modify the base.urdf.xacro file. Can anyone help me and tell me what exactly I need to do to get simulated kinect data, so that I can progress towards mapping a room?

Thanks!

edit retag flag offensive close merge delete

Comments

were you able to setup the kinect on the husky, Im using the jackal which is similat and I run into the same problem. How did you set up the kinect on the gazebo?

richardsondynamics gravatar imagerichardsondynamics ( 2016-01-28 20:56:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-01-27 02:13:53 -0500

AlexR gravatar image

Look into the turtlebot_description package, which contains the files for simulated kinect. Get rid of the turtlebot robot description and use the part which contains the kinect. It should be easy to copy the code for the husky robot. Also look into the turtlebot_gazebo package which details the simulation of the turtlebot in an empty world.

You can use the launch file as

roslaunch turtlebot_gazebo  turtlebot_empty_world.launch

Simulated kinect topic is published on the /camera /image_raw topic and to get the point cloud is available at /camera/depth/points topic. Look into the turtlebot_description/urdf/turtlebot_gazebo.urdf.xacro from which you can simulate the kinect.

Hope this helps

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-01-26 19:10:14 -0500

Seen: 886 times

Last updated: Jan 27 '15