Gazebo | Ignition | Community
Ask Your Question

3D mapping with Hokuyo and Kinect

asked 2017-07-25 11:50:45 -0500

Burgos gravatar image

Hi! I'm a begginer using Gazebo and I'm getting completely lost with all the documentation.

I'm triying to do a very simple thing. I want to mount a Hokuyo laser sensor in a vehicle, turned 90 degrees so it detects a vertical plane, and then move the vehicle forward to do a 3D reconstruction of what the Hokuyo is detecting.

The perfect set would be to have a window in which the vehicle can be seen moving parallel to a certain structure and then other window where the stucture is been reconstructed as the vehicle passes by.

Any idea of how can I do this the simplest way? I only need it for visualization, I don't need to do anithing with the data afterwards.

Also, I need to do the same with a kinect sensor.

I'm using ROS Kinetic with Gazebo 7 in Ubuntu 16.04.

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-07-28 09:50:20 -0500

chapulina gravatar image

Hi @Burgos ,

It's a good idea to break the project into small tasks not to get overwhelmed trying to do everything at once.

To start with, you could go through the beginner tutorial series where you'll start getting familiar with Gazebo concepts and build a vehicle with a depth camera mounted on it. Conveniently, this is very similar to your use case!

After you've grasped this part, you could look into controlling the robot with ROS instead of a Gazebo plugin, this tutorial should help.

Good luck, and be sure to ask more questions if you get stuck. The more specific your question is, the higher the chance you'll get an answer straight away ;)

edit flag offensive delete link more


Thanks @chapulina! I've advanced a little bit since I posted this question, now I'm stuck in other thing. I've followed this two tutorials: Now my problem is that I can't turn the Hokuyo so it faces to a side of the vehicle vertically. I've tried to change the <pose> parameters of the Hokuyo set in mybot_ws/src/mybot_description/urdf/mybot.gazebo, but it doesn't seem to make the LIDAR move in any way...

Burgos gravatar imageBurgos ( 2017-07-28 10:08:19 -0500 )edit

Are you trying to change the way the sensor is attached to the robot, or to move it while the robot is moving? Maybe you can ask a new question detailing your current situation and what you've already tried ;)

chapulina gravatar imagechapulina ( 2017-07-28 10:27:20 -0500 )edit

I need it to stay put in the robot when it moves, but i need to detect a vertical plane instead of an horizontal one, that is why I need it to be turned. I know, I should open other question. I'll see if I can do it for myself first and if I get stuck I'll open that new question. Thanks again @chapulina! ;D

Burgos gravatar imageBurgos ( 2017-07-28 10:30:28 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-07-25 11:50:45 -0500

Seen: 738 times

Last updated: Jul 28 '17