2
votes
What causes build error: cannot import name 'OVERRIDE_OPT' from 'em'?
Because the empy version 4.0 will cause this problem.
$ pip install --user -U empy==3.3.4 pyros-genmsg setuptools
Try this ...
2
votes
Accepted
What causes build error: cannot import name 'OVERRIDE_OPT' from 'em'?
Check: https://github.com/ros-tooling/action-ros-ci/issues/839
You can fix it by using a newer version of setup-ros.
Like:
...
1
vote
Accepted
Preferred use of unique ptr, shared ptr and reference in ROS2?
When publishing I often see messages constructed as auto msg = std::make_shared(), even though it has to be published eventually as publisher->publish(*msg);. What is the use of seemingly ...
1
vote
ROS2 cannot import message from another package
First:
There is written in tutorial I cannot add custom messages in Python packages.
Where does it say so? I think what you mean is that it has to be a CMake package?
In any case: best practice is ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
msg × 106ros × 93
ros2 × 15
python × 10
message × 10
c++ × 7
ros-melodic × 7
ros-kinetic × 7
catkin × 5
publish × 5
publisher × 5
arduino × 4
rosmsg × 4
catkin-make × 3
cmake × 3
actionlib × 3
topic × 3
messages × 3
rosservice × 3
rostopic × 3
array × 3
std-msgs × 3
rosserial × 3
build × 3
action × 3