ros-perception / depthimage_to_laserscan

Converts a depth image to a laser scan for use with navigation and localization.
243 stars 163 forks source link

optimized loops implementation in conversion method to reduce CPU load #47

Open kakareko opened 4 years ago

kakareko commented 4 years ago

The original implementation of the conversion method creates a high CPU load. I have changed the loops nesting order and moved heavy operations out of the inner loop.