Closed whiteagle3k closed 9 months ago
Hi, at first glance this issue seems to be related to xacro
package, could you check if everything is installed properly? To do that, run rosdep install --from-paths src --ignore-src -y
in your workspace directory. Other information that could be useful:
Closing due to inactivity, please reopen if there are still questions.
Check if issue already exists Checked.
Describe the bug I am using isaac-ros , which is based on ROS2 humble in a docker container. depthai-ros compiled from sources all good, but trying to run any node (either from depthai_ros_driver or depthai_filters) generates this error: cannot import name 'Log' from 'rosgraph_msgs.msg'
Minimal Reproducible Example ros2 launch depthai_filters example_det2d_overlay.launch.py
Expected behavior I'd expect nodes to run. On galactic version everything runs ok.
Attach system log
admin@orin01:/workspaces/isaac_ros-dev$ ros2 launch depthai_filters example_det2d_overlay.launch.py [INFO] [launch]: All log files can be found below /home/admin/.ros/log/2023-08-13-17-11-54-620482-orin01-74748 [INFO] [launch]: Default logging verbosity is set to INFO [ERROR] [launch]: Caught exception in launch (see debug for traceback): executed command failed. Command: xacro /workspaces/isaac_ros-dev/install/depthai_descriptions/share/depthai_descriptions/urdf/depthai_descr.urdf.xacro camera_name:=oak camera_model:=OAK-D base_frame:=oak parent_frame:=oak-d-base-frame cam_pos_x:=0.0 cam_pos_y:=0.0 cam_pos_z:=0.0 cam_roll:=0.0 cam_pitch:=0.0 cam_yaw:=0.0 Captured stderr output: error: substitution args not supported: cannot import name 'Log' from 'rosgraph_msgs.msg' (/opt/ros/humble/install/lib/python3.8/site-packages/rosgraph_msgs/msg/init.py) when processing file: /workspaces/isaac_ros-dev/install/depthai_descriptions/share/depthai_descriptions/urdf/depthai_descr.urdf.xacro
depthai-ros
built from source or installed from apt? : from sourcedepthai/depthai-core
library installed from rosdep or manually? Manually