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-...
Ritish Shailly's user avatar
4 votes
Accepted

Autonomous Mapping help!

I think there is a bit of misconception with what SLAM does, just remember that SLAM stands for; Simultaneous Localization and Mapping, what you want is to explore the map (autonomously of course) so ...
Harley Lara's user avatar
4 votes
Accepted

symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE

From Java: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE on Stack Overflow: Though I have already ...
Greenonline's user avatar
  • 1,543
4 votes
Accepted

Failed to fetch http://packages.ros.org/ros2 (404 not found)

I think you just need to run a "sudo apt update" to get the latest versions of available Debians. The file name you referenced does not currently exist on the server - but a version with the ...
Mike Ferguson's user avatar
3 votes

How to install Gazebo to use along with ROS2 Humble Hawksbill on Ubuntu 22.04?

Gazebo is part of desktop-full not the desktop variant. You can use ros-humble-simulation as ...
Tully's user avatar
  • 25k
3 votes
Accepted

Writing multi-process Python tests in ROS2

In addition to the aforementioned launch_testing of the launch project whose goal is to provide "tools for launching ...
Bi0T1N's user avatar
  • 429
3 votes

Difference between various ros distro?

Have a look at the official documentation about Distributions: What is a Distribution? A ROS distribution is a versioned set of ROS packages. These are akin to Linux distributions (e.g. Ubuntu). The ...
jtbandes's user avatar
  • 216
3 votes
Accepted

ROS2 CPP file only second logger

Short answer: Re. separate log files: It is not currently possible to log to two separate files from one node. To realize this, you'd have to implement an alternative rcl_logging_interface. (Multiple ...
JRTG's user avatar
  • 1,664
3 votes
Accepted

rclcpp wait for a list of service/action servers to start before proceeding further

Both services and actions have wait_for_...() methods, see the service tutorial and rclcpp source code: ...
JRTG's user avatar
  • 1,664
3 votes
Accepted

ROS1 dependency in nav2 tutorial?

gazebo_ros is still used in ROS2. The source code is available here : gazebo_ros ros2 branch ...
Antoine Van Malleghem's user avatar
3 votes
Accepted

Which ROS2 Distro? Iron or Humble?

Humble can be a better choice as it has LTS, there will be more stable package releases and more support on he core. Also you can discuss this type of topics at discourse.ros.org
aarsht7's user avatar
  • 91
3 votes

[slam_toolbox]: Failed to compute odom pose

I can see the standard frame in slam_toolbox param file is base_footprint. See yaml-file. I can't see it in your tf.
Nobel's user avatar
  • 56
3 votes
Accepted

Reading a vector of structs as parameters in ROS2

Im working on the same problem and have found a workaround that lets you get parameters from a yaml file like you would in ROS1 without forward declaring them as is the default in ROS2. You need to ...
bonnaroo's user avatar
2 votes
Accepted

ros-gz integration

To use roz_gz with Humble & Garden you will need to build the package from source. https://github.com/gazebosim/ros_gz The Humble binaries (ros-humble-ros-gz) look for Fortress message types.
Clyde McQueen's user avatar
2 votes

Why are installed ROS 2 humble python packages split in two directories

Building off from what Tully said, I can add a little more context. For reasons I won't get into here, several distributors of Python have begun patching the ...
cottsay's user avatar
  • 106
2 votes
Accepted

ROS2 Humble packages for Ubuntu 22.04 - what is the perception package?

The proper reference is the ROS Enhancement Proposals (REPs) which provide a concise technical specification for various things related to ROS. There you can find a document describing the different ...
Bi0T1N's user avatar
  • 429
2 votes

Writing multi-process Python tests in ROS2

Generally speaking, you should try to make it so that your software isn't heavily reliant on ROS, to the point where you can test the core, nontrivial logic of your code without such an invasive ...
Raggy's user avatar
  • 128
2 votes

Azure Kinect with ROS2 Humble

Install Ubuntu 22.04. Install the Azure Kinect Sensor SDK as per official documentation stated here Install ros2-humble-desktop Setup your ros2 workspace Download ...
JJerome's user avatar
  • 183
2 votes

ROS 2 Humble FastDDS Monitor

So the problem was related to the eProsima/Fast-DDS version. After rolling back to v2.6.2, which is mentioned in the Roscon presentation, I got the expected behavior.
mayor_Burns's user avatar
2 votes

How to create a ROS2 simulation environment in Docker?

Gazebo needs not only X11 but also OpenGL to work. (See the error above Failed to create OpenGL context... OpenGL support is provided by your graphics card. To that ...
Tully's user avatar
  • 25k
2 votes

How to configure Flake8 with colcon test

Just stumbled across this post having the same issue and question. However, because I only installed some python executables in my package, I generated my workspace with the ...
Nyquist's user avatar
  • 134
2 votes
Accepted

How to build a python node as a component?

Welcome to Robotics Stack Exchange! How to build a python node as a component? As of ROS 2 Iron Irwinin the features status mentions that the composition of node components at compile, link, load, ...
ravi's user avatar
  • 1,366
2 votes
Accepted

If i use a lambda function when creating a subscription, when it will be evaluated?

This pb is not ros2 related. cf explanations here : https://realpython.com/python-lambda/#evaluation-time They propose this nice solution : ...
SebL's user avatar
  • 51
2 votes
Accepted

How to pass parameters to included launch description?

Well I ended up with passing on the launch files as individual launch configs: ...
WouterOddBot's user avatar
2 votes
Accepted

How to add parameters to a node via a yaml file using a python launch file in ROS2?

So answering my own question, To make the parameters available to the node, they first need to be declared inside the node. Hence, the node should be something like: ...
S07's user avatar
  • 21
2 votes
Accepted

Nav2 obstacle avoidance not working in Humble

I think I found the issue, in the topic param for global_costmap I had merged_laser/scan, I changed it to /merged_laser/scan and ...
Diego Carvajal's user avatar
2 votes
Accepted

Global plan update frequency Nav 2 [ROS 2]

Yes, look at the behavior tree XML you're using. You can set the rate there (or even make it a blackboard parameter so it can be adjusted on the fly). What's nice about this is that you can not only ...
Steve Macenski's user avatar
2 votes
Accepted

Dynamical footprint in Nav2

The "easy" solution would be to use a footprint that covers the robot in any configuration - the downside is that footprint is likely quite large and if you are planning in confined areas, ...
Mike Ferguson's user avatar
2 votes
Accepted

Have registered depth image adopt color image timestamp

The timestamp of the data is associated with the time of observation. The default behavior of most elements of processing is to maintain that timestamp through the processing. This is important ...
Tully's user avatar
  • 25k
2 votes

Unable to install ros-humble-desktop on Ubuntu 22.04.2 LTS arm64

You likely need to do a "sudo apt-get update" - and pay attention to any errors that may be listed. This command will update your apt cache, which should fix the mismatched version numbers ...
Mike Ferguson's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible