publish CameraInfo
This MR adds the CameraInfo
publisher, so that intra-process communication can be used with the same CameraPublisher
interface.
The node can then be used in a launch file like:
cam_node = ComposableNode(
name='cam', namespace='/camera',
package='v4l2_camera', plugin='v4l2_camera::V4L2Camera',
extra_arguments=[{'use_intra_process_comms': True}])
together with the AprilTagNode
in a single ComposableNodeContainer
, without copies:
[camera.cam]: Image message address [PUBLISH]: 0x7ff7d4000be0
[apriltag.tag]: Image message address [SUB]: 0x7ff7d4000be0
[camera.cam]: Image message address [PUBLISH]: 0x7ff7d4001510
[apriltag.tag]: Image message address [SUB]: 0x7ff7d4001510
[camera.cam]: Image message address [PUBLISH]: 0x7ff7d4001870
[apriltag.tag]: Image message address [SUB]: 0x7ff7d4001870
Fixes #19 (closed) .