Skip to content

ros2 topic echo detector/detections empty #6

Open
@an99990

Description

Hi,
So I basically just remapped the node to subscribe to the zed stream.
However when I try to echo the detections i get nothing.
I leave my rqt_graph here.
As you can see detector which i renamed darknet is subscribed to /zed/zed_node/stereo/image_rect_color
Screenshot from 2021-07-19 18-54-17
This is mon launch file

import os
from launch import LaunchDescription
from launch_ros.actions import Node
from ament_index_python.packages import get_package_share_directory

def generate_launch_description():

    config_yolo = os.path.join(
        get_package_share_directory('openrobotics_darknet_ros'),
        'config',
         'detector_node_params.yaml'
    )

    return LaunchDescription([
        Node(
            package='openrobotics_darknet_ros',
            executable='detector_node',
            name='darknet',
            parameters=[config_yolo],
            remappings=[
	    ('/darknet/images', '/zed/zed_node/stereo/image_rect_color'),
	    ],
        )    
        ]
      )

Please advise

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions