Robotics StackExchange | Archived questions

ray sensor - how does it work?

Hello!

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!

Asked by Boni on 2014-07-26 05:52:10 UTC

Comments

Answers

Hi Boni,

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

Cheers

Asked by ffurrer on 2014-07-28 09:22:56 UTC

Comments

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

Asked by Boni on 2014-07-30 14:53:58 UTC

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.

Asked by ffurrer on 2014-08-01 10:56:14 UTC

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

Asked by ffurrer on 2014-08-01 10:56:33 UTC

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 min_angle is -2,6899 and max_angle 2,6899 so i thought this is the angle of the scan but i seems not to be

Asked by Boni on 2014-08-02 07:10:35 UTC

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

Asked by ffurrer on 2014-08-04 08:16:30 UTC