Skip to content

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

@tylerlum tylerlum force-pushed the sp18021-feat-add-sonar-msg branch from c328d4d to 6dda2df Compare March 6, 2018 01:05
@tylerlum tylerlum force-pushed the sp18021-feat-add-sonar-msg branch from 6dda2df to f7c7f32 Compare March 15, 2018 17:15
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