Closed leandropineda closed 1 year ago
Have you seen this branch? https://github.com/eProsima/Integration-Service/compare/main...ros2-typename
I wonder if it might be the solution to your problems. Edit: nope. I tried the patch and it changed nothing.
It's weird: if I run the script it's talking about manually, there's plenty of output on stdout when querying the std_msgs
package.
↳ python3 ROS2-SH/utils/ros2-mix-generator/scripts/is_ros2_rosidl_find_package_info.py std_msgs
builtin_interfaces;/opt/ros/humble/share/std_msgs/msg/UInt64MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Bool.msg#/opt/ros/humble/share/std_msgs/msg/ColorRGBA.msg#/opt/ros/humble/share/std_msgs/msg/Float32MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Int16MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/ByteMultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Int64MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/UInt16MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Empty.msg#/opt/ros/humble/share/std_msgs/msg/UInt8.msg#/opt/ros/humble/share/std_msgs/msg/Char.msg#/opt/ros/humble/share/std_msgs/msg/Byte.msg#/opt/ros/humble/share/std_msgs/msg/Int32MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Float32.msg#/opt/ros/humble/share/std_msgs/msg/MultiArrayLayout.msg#/opt/ros/humble/share/std_msgs/msg/Float64.msg#/opt/ros/humble/share/std_msgs/msg/Int32.msg#/opt/ros/humble/share/std_msgs/msg/Float64MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/UInt32MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/UInt64.msg#/opt/ros/humble/share/std_msgs/msg/Int8.msg#/opt/ros/humble/share/std_msgs/msg/UInt8MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/UInt16.msg#/opt/ros/humble/share/std_msgs/msg/MultiArrayDimension.msg#/opt/ros/humble/share/std_msgs/msg/Int16.msg#/opt/ros/humble/share/std_msgs/msg/Int8MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Int64.msg#/opt/ros/humble/share/std_msgs/msg/UInt32.msg#/opt/ros/humble/share/std_msgs/msg/Header.msg#/opt/ros/humble/share/std_msgs/msg/String.msg;;/opt/ros/humble/share/std_msgs/msg/UInt64MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Bool.msg#/opt/ros/humble/share/std_msgs/msg/ColorRGBA.msg#/opt/ros/humble/share/std_msgs/msg/Float32MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Int16MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/ByteMultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Int64MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/UInt16MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Empty.msg#/opt/ros/humble/share/std_msgs/msg/UInt8.msg#/opt/ros/humble/share/std_msgs/msg/Char.msg#/opt/ros/humble/share/std_msgs/msg/Byte.msg#/opt/ros/humble/share/std_msgs/msg/Int32MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Float32.msg#/opt/ros/humble/share/std_msgs/msg/MultiArrayLayout.msg#/opt/ros/humble/share/std_msgs/msg/Float64.msg#/opt/ros/humble/share/std_msgs/msg/Int32.msg#/opt/ros/humble/share/std_msgs/msg/Float64MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/UInt32MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/UInt64.msg#/opt/ros/humble/share/std_msgs/msg/Int8.msg#/opt/ros/humble/share/std_msgs/msg/UInt8MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/UInt16.msg#/opt/ros/humble/share/std_msgs/msg/MultiArrayDimension.msg#/opt/ros/humble/share/std_msgs/msg/Int16.msg#/opt/ros/humble/share/std_msgs/msg/Int8MultiArray.msg#/opt/ros/humble/share/std_msgs/msg/Int64.msg#/opt/ros/humble/share/std_msgs/msg/UInt32.msg#/opt/ros/humble/share/std_msgs/msg/Header.msg#/opt/ros/humble/share/std_msgs/msg/String.msg#/opt/ros/humble/share/builtin_interfaces/msg/Time.msg#/opt/ros/humble/share/builtin_interfaces/msg/Duration.msg
To debug cmake we can use:
colcon build --packages-select is-ros2-mix-generator --cmake-args --trace-expand
less log/latest_build/is-ros2-mix-generator/stdout_stderr.log
Edit: the issue is the PYTHON_EXECUTABLE
variable isn't set. Once I put this
set(PYTHON_EXECUTABLE "python3")
in the cmake file, it progressed passed this and ran into another error, clearing the build & instal artifacts fixed this.
ROS2-SH build on humble is since https://github.com/eProsima/Integration-Service/pull/186 successful as attested by CI
I was able to compile the ROS2-SH on a
foxy
based docker container, but when compiling it forhumble
I got the following error:I understand that the script is failing to get information related to
std_msgs
, but those seem to be properly installed on the system:Might this be related to Ubuntu 22 python version?