heuristicus / spot_ros

ROS driver for controlling Boston Dynamics' Spot robot
https://heuristicus.github.io/spot_ros/
Other
268 stars 136 forks source link

Duplicated publish_depth_images_callback method #147

Closed trangml-mit closed 7 months ago

trangml-mit commented 7 months ago

There are two methods named publish_depth_images_callback, which is causing the depth only camera image to not be published, even when setting depth_in_visual to False.

https://github.com/heuristicus/spot_ros/blob/2a1d26da976a6376b21b5af9ce5328899fb7a8c4/spot_driver/src/spot_driver/spot_ros.py#L326

and

https://github.com/heuristicus/spot_ros/blob/2a1d26da976a6376b21b5af9ce5328899fb7a8c4/spot_driver/src/spot_driver/spot_ros.py#L404

One of them could just be renamed.

heuristicus commented 7 months ago

Fixed in 6c4ce99.