ros / common_msgs

Commonly used messages in ROS. Includes messages for actions (actionlib_msgs), diagnostics (diagnostic_msgs), geometric primitives (geometry_msgs), robot navigation (nav_msgs), and common sensors (sensor_msgs), such as laser range finders, cameras, point clouds.
http://wiki.ros.org/common_msgs
183 stars 190 forks source link

sensor_msgs: range: added LASER radiation type #73

Closed TSC21 closed 9 years ago

TSC21 commented 9 years ago

Related to https://github.com/mavlink/mavros/pull/292#issuecomment-101754507. [Jade release]

tfoote commented 9 years ago

LASER is not a radiation type. So it's not appropriate to add to this enumeration.

The reason for this field is to know what types of objects will reflect vs not reflect. Ultrasonic vs infrared have very different behaviour when looking at glass for example.

As mentioned, in that comment, lasers can have different types of radiation. We could consider adding VISIBLE and ULTRAVIOLET to complement the existing INFRARED definition.

However I am not aware of a "light" based distance measuring device operating in the visible or ultraviolet frequencies.

There are also definitely microwave based sensors which might be applicable. However we try not to speculatively update messages until there is a clearly known use case.

From what sensor or sensors are you trying to represent the data using this message format?

TSC21 commented 9 years ago

LASER is not a radiation type. So it's not appropriate to add to this enumeration.

Laser - "A laser is a device that emits light through a process of optical amplification based on the stimulated emission of electromagnetic radiation." I accept that radiation definition, but then it should also add NEAR_INFRARED. In this case we also have two kinds of radiation: electromagnetic and mechanical.

As mentioned, in that comment, lasers can have different types of radiation. We could consider adding VISIBLE and ULTRAVIOLET to complement the existing INFRARED definition.

The comment was referring to Lidar, which is a specific application for lasers.

However I am not aware of a "light" based distance measuring device operating in the visible or ultraviolet frequencies.

The reference to the other types of wavelength/radiotion used by Lidars comes from http://en.wikipedia.org/wiki/Lidar. Type depends on the application/range.

From what sensor or sensors are you trying to represent the data using this message format?

tfoote commented 9 years ago

For both of those just use INFRARED we're not trying to represent the exact wavelength or specific taxonomy. We can use the general definition of INFRARED to cover things between visible and microwave.

https://en.wikipedia.org/wiki/Infrared http://www2.lbl.gov/MicroWorlds/ALSTool/EMSpec/EMSpec2.html

TSC21 commented 9 years ago

Will accept then @tfoote. Thanks for your time! Offtopic: is there a possibility of inserting covariance in the message definition?