Skip to content

Early termination of yolov3_detector node #6

@koytipita

Description

@koytipita

Firstly, I use pointcloud branch of the code.
Here is my edition of realsense_yolo.launch file

<?xml version="1.0"?>
<launch>
    <arg name="load_realsense_driver"   default="false"/>
    <arg name="yolo"                    default="true"/>
    <arg name="visualization"           default="false"/>

    <arg name="depth_image_topic" default="/camera/aligned_depth_to_color/image_raw"/>
    <arg name="camera_info_topic" default="/camera/aligned_depth_to_color/camera_info"/>

    <!-- Output Variable -->
    <!-- <arg name="detected_persons_pub_topic" default="/spencer/perception_internal/detected_persons/rgbd_front_top/upper_body"/> -->
    <arg name="detected_persons_pub_topic" default="/spencer/perception_internal/detected_persons/rgbd_front_top/hog"/>
    <arg name="detection_id_offset" default="0"/>
    <arg name="detection_id_increment" default="1"/>

    <include file="$(find realsense2_camera)/launch/rs_d435_camera_with_model.launch" if="$(arg load_realsense_driver)">
        <arg name="camera" value="camera"/>
        <arg name="tf_prefix" value="camera"/>
    </include>

    <group if="$(arg yolo)">

        <!-- darknet_ros.launch: 30fps | yolo_v3: 5fps++-->
        <!--<include file="$(find darknet_ros)/launch/darknet_ros.launch"/>-->
        <include file="$(find darknet_ros)/launch/yolo_v3.launch"/>

        <node pkg="tf" type="static_transform_publisher" name="yolo_to_camera" args="0 0 0 -1.5708 0 -1.5708 camera_color_optical_frame camera_link_yolo 100"/>  <!--if="$(arg load_realsense_driver)" -->

        <node pkg="realsense_yolo" type="realsense_yolo" name="yolov3_detector" output="screen" launch-prefix="">
            <param name="depth_image_topic" value="$(arg depth_image_topic)"/>
            <param name="camera_info_name" value="$(arg camera_info_topic)"/>
            <param name="detection_output" value="$(arg detected_persons_pub_topic)"/>
        </node>
    </group>

    <!-- RViz visualization -->
    <node name="tracking_visualization_rviz" pkg="rviz" type="rviz" args="-d /home/alex-beh/ros1_ws/learn_ws/src/realsense_yolo/launch/rviz/realsense_yolo.rviz" if="$(arg visualization)"/>
</launch>

and I also edited the topic names of the source codes and when I start node with roslaunch realsense_yolo realsense_yolo.launch

I get:
[ERROR] [1683531005.948645529]: "camera_link_yolo" passed to lookupTransform argument target_frame does not exist. Failed to find match for field 'x'. Failed to find match for field 'y'. Failed to find match for field 'z'. Failed to find match for field 'rgb'. [yolov3_detector-2] process has died [pid 3532, exit code -11, cmd /home/unitree/catkin_ws/devel/lib/realsense_yolo/realsense_yolo __name:=yolov3_detector __log:=/home/unitree/.ros/log/0e16cc34-ed6c-11ed-943a-00044bde5a49/yolov3_detector-2.log]. log file: /home/unitree/.ros/log/0e16cc34-ed6c-11ed-943a-00044bde5a49/yolov3_detector-2*.log
What can be the reason for this situations? Can you help me with that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions