Ask Your Question
0

How do range messages work?

asked 2021-02-17 12:53:53 -0600

Qilos gravatar image

Hello, I saw that the robot im using has a sonar topic which publishes the sensor message "range".

I have tested the topic with rostopic echo and looked at this link:

http://docs.ros.org/en/api/sensor_msg...

But i cant seem to figure out how the sensor actually works.

What does the sensor return after a callback?

Any help is appreciated, thanks

edit retag flag offensive close merge delete

Comments

1

Is the question about how sonar sensors work, or how the data carried by sensor_msgs/Range should be interpreted?

gvdhoorn gravatar image gvdhoorn  ( 2021-02-18 01:47:10 -0600 )edit

Im asking how to interpret the data

Qilos gravatar image Qilos  ( 2021-02-18 02:23:40 -0600 )edit

Could you clarify what is unclear?

gvdhoorn gravatar image gvdhoorn  ( 2021-02-18 02:29:41 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-02-18 08:54:52 -0600

JackB gravatar image

The message definition gives a relatively clear description of what the message is:

Single range reading from an active ranger that emits energy and reports one range reading that is valid along an arc at the distance measured. This message is not appropriate for laser scanners. See the LaserScan message if you are working with a laser scanner.

Please be more specific if this doesn't help point you to the right answer.

edit flag offensive delete link more

Comments

@Qilos any update on this?

JackB gravatar image JackB  ( 2021-02-24 07:41:39 -0600 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-02-17 12:53:53 -0600

Seen: 114 times

Last updated: Feb 18