Home | Tutorials | Wiki | Issues
Ask Your Question

ray sensor - how does it work?

asked 2014-07-26 05:52:10 -0600

Boni gravatar image


as a newbie I feel very lost with the raysensor. I'm supposed to use is it as example for a laser sensor plug-in. So I tried to understand the sourcecode of the raysensor, but I really can't handle it..

Can anyone help me, describing the main functions of the sensor and explaining how the sensor is working? and furthermore maybe how I use it as plugin (which things I can change with parameters, as angels etc.)

thank you in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-07-28 09:22:56 -0600

ffurrer gravatar image

Hi Boni,

You can have a look at the example here to figure out how to use the sensor.


edit flag offensive delete link more


thank you, helped me a little :) but there are still many questions.. Where can I find the message definition the raysensor is sending?

Boni gravatar imageBoni ( 2014-07-30 14:53:58 -0600 )edit

Look at the code of raysensor... Here you can find all the message definitions: http://gazebosim.org/msgs/ You might be interested in this: http://gazebosim.org/msgs/3.0.0/laserscan_8proto.html

or if your looking for ros messages than you can look at: http://docs.ros.org/api/sensor_msgs/html/msg/LaserScan.html

If this answers didn't help, be a bit more specifc with the question.

ffurrer gravatar imageffurrer ( 2014-08-01 10:56:14 -0600 )edit

Look at the code of raysensor... Here you can find all the message definitions:

ffurrer gravatar imageffurrer ( 2014-08-01 10:56:33 -0600 )edit

thank you, the ros messages is, what i was looking for. can you help mi a little with the parameters i can use? The ray sensor is used in the hokuyo model with a horizontal scan and minangle is -2,6899 and maxangle 2,6899 so i thought this is the angle of the scan but i seems not to be

Boni gravatar imageBoni ( 2014-08-02 07:10:35 -0600 )edit

Create a new question, if you want help with parameters.

ffurrer gravatar imageffurrer ( 2014-08-04 08:16:30 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-07-26 05:52:10 -0600

Seen: 1,190 times

Last updated: Jul 28 '14