Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

OA crashing when using PCL form ros1bridge #118

Open
zentala opened this issue Jun 4, 2020 · 1 comment
Open

OA crashing when using PCL form ros1bridge #118

zentala opened this issue Jun 4, 2020 · 1 comment

Comments

@zentala
Copy link

zentala commented Jun 4, 2020

I am trying to use ros2_object_analytics on Eloquent with realsense-ros wrapper for ROS Melodic. So I am bridging PCL from ROS Melodic to ROS Eloquent. When I am starting ros2_object_analitycs I got this:

$ /opt/robot_devkit/perception/object_analytics_node/lib/object_analytics_node/object_analytics_node --tracking --localization --ros-args -r /object_analytics/detected_objects:=/ros2_openvino_toolkit/detected_objects -r /object_analytics/rgb:=/camera/color/image_raw -r /object_analytics/pointcloud:=/camera/depth/color/points       
[INFO] [OA_Composition]: Load library libsegmenter_component.so
[INFO] [OA_Composition]: Instantiate class rclcpp_components::NodeFactoryTemplate<object_analytics_node::segmenter::SegmenterNode>
[INFO] [OA_Composition]: Load library libtracking_component.so
[INFO] [OA_Composition]: Instantiate class rclcpp_components::NodeFactoryTemplate<object_analytics_node::tracker::TrackingNode>
[WARN] []: No objects to publish!
[1]    14536 segmentation fault (core dumped)   --tracking --localization --ros-args -r  -r  -r 

But when I am using realsense wrapper for ROS Eloquent this issue doesn't occur:

$ /opt/robot_devkit/perception/object_analytics_node/lib/object_analytics_node/object_analytics_node --tracking --localization --ros-args -r /object_analytics/detected_objects:=/ros2_openvino_toolkit/detected_objects -r /object_analytics/rgb:=/camera/color/image_raw -r /object_analytics/pointcloud:=/camera/pointcloud                                                                      
[INFO] [OA_Composition]: Load library libsegmenter_component.so
[INFO] [OA_Composition]: Instantiate class rclcpp_components::NodeFactoryTemplate<object_analytics_node::segmenter::SegmenterNode>
[INFO] [OA_Composition]: Load library libtracking_component.so
[INFO] [OA_Composition]: Instantiate class rclcpp_components::NodeFactoryTemplate<object_analytics_node::tracker::TrackingNode>
@zentala
Copy link
Author

zentala commented Jun 7, 2020

New debug info:
I got above error when I am using bridge without any arguments (ros2 run ros1_bridge dynamic_bridge). But when I am using bridge with argument --bridge-all-topics I got error symbol lookup error: /[...]/object_analytics_node: undefined symbol: _ZNK12class_loader11ClassLoader14getLibraryPathB5cxx11Ev. Full error:

$ /opt/robot_devkit/perception/object_analytics_node/lib/object_analytics_node/object_analytics_node --tracking --localization __log_level:=debug --ros-args -r /object_analytics/detected_objects:=/ros2_openvino_toolkit/detected_objects -r /object_analytics/rgb:=/camera/color/image_raw -r /object_analytics/pointcloud:=/camera/depth/color/points
/opt/robot_devkit/perception/object_analytics_node/lib/object_analytics_node/object_analytics_node: symbol lookup error: /opt/robot_devkit/perception/object_analytics_node/lib/object_analytics_node/object_analytics_node: undefined symbol: _ZNK12class_loader11ClassLoader14getLibraryPathB5cxx11Ev
$

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant