GithubHelp home page GithubHelp logo

error: no matching function for call to ‘tf2_ros::Buffer::lookupTransform(std::cxx11::string&, std_msgs::msg::Header<std::allocator >::frame_id_type&, std_msgs::msg::Header<std::allocator >::stamp_type&, tf2::Duration)’ point_cloud.header.stamp, tf2::durationFromSec(2.0)); about gb_visual_detection_3d HOT 5 OPEN

miga94 avatar miga94 commented on June 17, 2024
error: no matching function for call to ‘tf2_ros::Buffer::lookupTransform(std::cxx11::string&, std_msgs::msg::Header::frame_id_type&, std_msgs::msg::Header::stamp_type&, tf2::Duration)’ point_cloud.header.stamp, tf2::durationFromSec(2.0));

from gb_visual_detection_3d.

Comments (5)

fmrico avatar fmrico commented on June 17, 2024 1

Hi!!

No. These are more detailed instructions to use gdb to debug a segmentation fault:

  1. Clean up the workspace by deleting build install and log.

  2. Open another terminal and compile with: colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Debug

  3. Modify the launcher so that node is launched with gdb in a separate terminal (you must have xterm installed):
    darknet3d_node = Node(
    package='darknet_ros_3d',
    node_executable='darknet3d_node',
    prefix='xterm -e gdb -ex run --args',
    node_name='darknet3d_node',
    output='screen',
    parameters=[config_file_path]
    )

  4. Launch it

  5. When it fails, it will tell you the line. Use 'bt' and other gdb commands to see what happened. If you want, send me the output.

Good luck!!

from gb_visual_detection_3d.

fmrico avatar fmrico commented on June 17, 2024

Maybe Dashing is not supported. I think it's too old...

from gb_visual_detection_3d.

miga94 avatar miga94 commented on June 17, 2024

Hello @fmrico , Thank you for your reply.
I am now testing with ros-eloquent and latest intelrealsense2 ros-development branch. I have detection with darknet ros but get following error when launched darknet_ros_3d.
[ERROR] [darknet3d_node-1]: process has died [pid 4197, exit code -11, cmd '/home/robolab/ros2_ws/install/darknet_ros_3d/lib/darknet_ros_3d/darknet3d_node --ros-args -r __node:=darknet3d_node --params-file /home/robolab/ros2_ws/install/darknet_ros_3d/share/darknet_ros_3d/config/darknet_3d.yaml'].

I have given correct topics in the darknet3D.yaml files.
Screenshot from 2022-12-01 09-36-35

from gb_visual_detection_3d.

fmrico avatar fmrico commented on June 17, 2024

Hi @miga94

You are obtaining a segmentation fault that does not give you much information.

Build with CMAKE_BUILD_TYPE to Debug or RelWithDebInfo and launch the node with prefix='xterm -e gdb -ex run --args'

Best

from gb_visual_detection_3d.

miga94 avatar miga94 commented on June 17, 2024

Hello @fmrico ,
If I understood you I ran the following command while running the node:
xterm -e gdb -ex run --args ros2 launch darknet_ros_3d darknet_ros_3d.launch.py

Is this formulation correct? Attached is the screenshot what I got from this.
obtained_picture

from gb_visual_detection_3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.