Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Proximity sensor option #1424

Open
wants to merge 1 commit into
base: ros2
Choose a base branch
from

Conversation

tonynajjar
Copy link

@tonynajjar tonynajjar commented Aug 26, 2022

Title says it all

@iliabaranov
Copy link

Does the existing range sensor not work?

https://docs.ros.org/en/noetic/api/sensor_msgs/html/msg/Range.html

It has specific definition for fixed distance ranging, which is essentially a proximity sensor

@tonynajjar
Copy link
Author

What you linked is the Range message. Can you link me to the range sensor?

@iliabaranov
Copy link

Sure thing :)

void GazeboRosRange::PutRangeData(common::Time &_updateTime)

@tonynajjar
Copy link
Author

tonynajjar commented Sep 9, 2022

Thanks. It's not available in ROS2, it has been replaced by the ray sensor, see here.

I didn't look in too much detail, but it seems to me like even the ROS1 range sensor does not support thresholding it to simulate a proximity sensor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants