Gazebo | Ignition | Community
Ask Your Question
0

3D mapping with Hokuyo and Kinect

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

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
1

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

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

Comments

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: http://moorerobots.com/blog/post/1http://moorerobots.com/blog/post/2 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 -0600 )edit
1

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 -0600 )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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 985 times

Last updated: Jul 28 '17