40 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
187
views
Build fails: ModuleNotFoundError: No module named 'em' when building unitree_api
I am trying to build the unitree_api package with ROS 2 Humble on Ubuntu 22.04.
ROS 2 was installed following the official documentation (via apt).
I am building inside a Python virtual environment.
...
1
vote
0
answers
57
views
ROS 2 colcon build failing due to malformed XML declaration in package.xml (line 1, column 6)
Title:
ROS 2 colcon build failing due to malformed XML declaration in package.xml (line 1, column 6)
When I run:
colcon build --packages-select camera_status_node --symlink-install
the build ...
0
votes
0
answers
52
views
Issues Building/Running ROS2 PKG in c++
I'm working on a ROS2 (Humble) package called signal_pkg inside my workspace:
~/Dev/Projekte/ros2/rosmaster_ws/src/signal_pkg/
It contains two C++ nodes:
normal_pub.cpp (publisher)
blinker_sub.cpp (...
1
vote
0
answers
171
views
ROS2 ModuleNotFoundError "No module named ‘configs’". Cannot import modules into node
I am working on a ROS2 project and encountering an issue where my node cannot import modules from the configs package. Below is a detailed description of the problem, including the structure of my ...
5
votes
1
answer
11k
views
canonicalize_version(version, strip_trailing_zero=False) while doing colcon build
I am using Ubuntu 22.04 with ros2-humble and got the following error while building the workspace
I tried colcon build and colcon build --symlink-install I build same turtlebot3_msgs on another ...
1
vote
1
answer
1k
views
AttributeError processing template 'msg.idl.em': AttributeError: module 'em' has no attribute 'BUFFERED_OPT'
When doing colcon build step in RealSense-ROS installation tutorial I face the CMake Error:
AttributeError: module 'em' has no attribute 'BUFFERED_OPT'
In my ros2_ws/src folder I have realsense-ros, ...
2
votes
1
answer
138
views
How to install ROS2 under NAOqi OS?
I want to install ROS2(https://docs.ros.org/en/humble/Installation/) under my NAOqi OS (read only file system) but figured out that limited support is offered and is installable only on few platforms (...
0
votes
1
answer
260
views
colcon test do not run/find ros2 Google test
The issue
Writing a ROS2 library package and its associated Google tests, after compilation, output library and relative Gtest program are stored has expected within /build and /install folders. ...
0
votes
1
answer
93
views
Not understanding why a (missing) debug .lib file is being linked by CMake
I'm trying to compile a ROS2 node from Visual Studio. Because I want to integrate to my own C++ compilation framework, I cannot simply use colcon build.
So I'm just trying to compile a ROS2 package ...
0
votes
1
answer
114
views
How to use std::filesystem library when compiling ROS2 package with colcon?
I am trying to compile my first ROS2 package using the std::filesystem library with colon build, but I am getting the following compile error:
function "std::filesystem::__cxx11::path::filename&...
0
votes
0
answers
198
views
ROS2 and QT5 - Undefined refernce to 'main' by using SET(CMAKE_AUTOMOC ON)
I want to migrate my ROS1 QT GUI to ROS2 Humble. However, when I try to compile after completing all the necessary code changes, I get the following error message:
/usr/bin/ld: /usr/lib/gcc/x86_64-...
0
votes
1
answer
532
views
ROS2 Custom MSG files and generated C++ headers
I have the following issue - I get from a 3rd party a database which contains the message names and signals. I need to write a generator that creates ROS2 MSG files based on the input from the ...
0
votes
0
answers
339
views
Exclude directories from flake8 tests when it's run through colcon?
Question
I tried to build a simple ROS2 package using colcon, but I struggle to exclude directories from the flake8 tests launched with colcon test-result (namely the install and build directories), ...
0
votes
1
answer
2k
views
ROS2 colcon build fails with ModuleNotFoundError for Python dependency in virtual environment
When trying to build my ROS2 project, I get a ModuleNotFoundError when compiling one of the C modules, due to a missing dependency called em:
% colcon build --cmake-clean-cache
Starting >>> ...
0
votes
1
answer
2k
views
How do I see the commands executed during a colcon build?
colcon build invokes cmake --build which invokes the build tool (e.g., make), which invokes the compiler -- along the way it becomes difficult to see how the compiler is being invoked.
The log files ...
rgov's user avatar
- 4,468