Comments (5)
Hi!!
No. These are more detailed instructions to use gdb to debug a segmentation fault:
-
Clean up the workspace by deleting build install and log.
-
Open another terminal and compile with:
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Debug
-
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]
) -
Launch it
-
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.
Maybe Dashing is not supported. I think it's too old...
from gb_visual_detection_3d.
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.
from gb_visual_detection_3d.
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.
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.
from gb_visual_detection_3d.
Related Issues (20)
- std::out_of_range HOT 2
- Any rosbag with intel realsense camera topics available for test ??
- Why is it important to use "depth_registered/points" topic instead of "depth/points" ?
- c++: internal compiler error: Segmentation fault (program cc1plus) HOT 5
- No bounding boxes published HOT 1
- some question about gb_visual_detection_3d_msgs? HOT 1
- I want use in gazebo...but I got 'std::out_of_range' error HOT 1
- Ros Galactic topic camera\depth\registered\point with qos-reliability best-effort HOT 1
- Can I use this package without darknet_ros (2d) ? HOT 2
- Error on catkin_make HOT 3
- Is it possible to visualize tf of the object relative to camera? HOT 1
- Cannot load message class for [gb_visual_detection_3d_msgs/BoundingBoxes3d]
- Why the orientation is the same? HOT 2
- Marker is not at the center of boundingboxes3D
- Why sometimes bounding box marker doesn't appear in rviz? HOT 2
- several errors HOT 5
- for yolov7_ros HOT 1
- Advice to use USB Camera+LIDAR instead of RGB-D camera?
- Quick Start >Instalation>catkin_make Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gb_visual_detection_3d.