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

Implement use of sonar msg #50

Open
wants to merge 1 commit into
base: lunar-devel
Choose a base branch
from

Conversation

tylerlum
Copy link

@tylerlum tylerlum commented Feb 26, 2018

Issue: stage_ros previously treated sonars and lasers as the same type of device and published their data both with the same laser msg type. They both had fov, min/max range, etc. The difference was that sonars have 1 sample and lasers have many. All ranger(laser and sonar) devices in stage had their data published as sensor_msgs/LaserScan msg type, even if they were sonars, but a desired behaviour would be publishing sonar data as sensor_msgs/Range msg type.

Solution: separate all (rangers) -> (sonars + lasers). Then publish laser data as sensor_msgs/LaserScan msg type and sonar data as sensor_msgs/Range msg type. However, stage currently does not differentiate between sonars or infrared devices, so they are all assumed to be infrared

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.

1 participant