5
votes
Accepted
"colcon_core.package_augmentation" Error When Building Python Package With Colcon in ROS2 Humble
My error went away after I ran the following commands:
sudo apt update
sudo apt upgrade
Running these commands updated the following packages which fixed my issue:
python3-colcon-cd
python3-colcon-...
3
votes
Accepted
How do you publish on a ROS topic when the message type is not known?
You can use AnyMsg to subscribe to the topic, then use this to acquire information about the topic which can be used to construct a publisher and a new message ...
2
votes
catkin build fails because PythonInterp cannot be found
"FindPythonInterp.cmake" has been deprecated for a long time, and is removed in more recent cmake versions:
https://cmake.org/cmake/help/v3.16/module/FindPythonInterp.html
The page ...
2
votes
"colcon_core.package_augmentation" Error When Building Python Package With Colcon in ROS2 Humble
I was having the same issue as you and I managed to somewhat fix it.
To fix it I built with colcon after a clean terminal -- as in without any sources to any ros2 installations -- and got no warning/...
2
votes
Accepted
What is the ROS2 equivalent of rospy.AnyMsg?
rospy.AnyMsg was generally used to subscribe to serialized messages in ROS 1. These would come to the user-specified callback as an array of bytes that the user ...
1
vote
Footprint Collision Checker Nav2
The footprint collision checker takes in an arbitrary occupancy grid [1] to work with, that can be global, local, or anything really. Its of type PyCostmap [2] which has a constructor that takes in a <...
1
vote
How to simultaneously execute 2 turtlesims inthe same window
You are starting two turtlesim nodes, which will have a window each. However, if you just start the first and then call the spawn service on that node, you will get ...
1
vote
No transform from xxx to xxx after installing conda
I believe after you've installed conda, ROS may not be pointing to the default python path (usually on /usr/bin/python3).
You can check the python version which is being called:
...
1
vote
Accepted
How to set/get ROS2 params from another node using Python?
https://github.com/ros-planning/navigation2/issues/2415#issuecomment-1028468173
Ask and ye shall receive
class SetExternalParam(Node):
...
1
vote
Accepted
Is there a way to publish a ROS AnyMsg in Python?
This is not how AnyMsg is intended to be used, and I wouldn't expect it to be possible to do this. As the error message shows, ...
1
vote
Accepted
Running ros (built from source) with specific Python version
If you build everything from source after the new version of python was setup everything should reference the new version of python.
You will need to make sure that you didn't build anything or have ...
1
vote
How to disable dynamic reconfigure parameters?
EDIT: I did not see the ros-noetic tag at first. Below answer is for ROS 2.
You can easily define rules on parameters, e.g.:
Disallow a parameter to be changed,
Automatically also change other ...
1
vote
Accepted
can not mirror the nav2_bringup package
Pull your config file from the humble branch, not the main branch (which targets Rolling). Your issue is API updates made to more recent distributions are not in Humble. Mirror from the humble branch ...
1
vote
ROS2 Foxy : DeprecationWarning: pkg_resources is deprecated as an API
Downgrade setuptools when you are using ROS2 foxy. Which is a known issue (mentioned here in the ROS 2 repository) :)
pip3 install setuptools==58.2.0
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
python3 × 115ros × 89
ros2 × 24
ros-melodic × 20
python × 12
ros-kinetic × 9
rospy × 8
ros-noetic × 7
python2.7 × 7
catkin × 6
ubuntu × 5
rosdep × 5
colcon × 4
navigation × 3
rviz × 3
urdf × 3
roslaunch × 3
morse × 3
slam × 2
opencv × 2
errors × 2
ros-humble × 2
ros-foxy × 2
rclpy × 2
tf2 × 2