ProgrammingRobotsStudyGroup / robo_magellan

Apache License 2.0
4 stars 6 forks source link

Fix #12: Allow detect_cones.py to work if depth topic is not published #14

Closed merose closed 6 years ago

merose commented 6 years ago

Modified subscribers not to use the synchronizer message filter. Instead, depth images are stored as they are received, and image processing of the color image will proceed with the most recent depth image received, if any. Fixed code to work properly if no depth images are published. Also removed synchronization on the camera info topics, since there was no reason to process both camera info objects at the same time.