Is your feature request related to a problem? Please describe.
This is a proposal of a minor refactoring to clean up code.
Describe the solution you'd like
Replace the pairs of ImageTransport::advertise<Image>() and NodeHandle::advertise<CameraInfo>() in k4a_ros_device.cc with single calls to ImageTransport::advertiseCamera(). If there is a technical reason not to do this, please clarify it in the code comment.
Is your feature request related to a problem? Please describe. This is a proposal of a minor refactoring to clean up code.
Describe the solution you'd like Replace the pairs of
ImageTransport::advertise<Image>()
andNodeHandle::advertise<CameraInfo>()
ink4a_ros_device.cc
with single calls toImageTransport::advertiseCamera()
. If there is a technical reason not to do this, please clarify it in the code comment.