Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

New answers tagged

0 votes
Accepted

teleop_twist_keyboard / any teleop

I am answering this in the format that will hopefully help you understand how to find this type of answer on your own in the future. The first step is to find what the tool outputs. In this case: &...
Hilary Luo's user avatar
1 vote

super().__init__("py_test") causes "None" cannot be assigned to parameter

It seems, the ROS2 team have updated the ROS2 since then. I'm using the ROS2 humble but it might go for any distro, where VS code shows a red underline under the code of the init line. Even though it ...
Thiwakar S's user avatar
0 votes

ROS2 Humble Rviz not loading STL file

I don't see anything inherently wrong in your approach, but I can suggest some debugging tips if that might interest you: Check if the base_link.stl has been copied over to your install space - if ...
ssarkar's user avatar
  • 586
1 vote

"call setup.bat" issue in ROS 2 humble install on windows 10

I encountered the same problem as you. I am a rookie too so I scoured for solutions and stitched them together: Go to https://community.rti.com/page/rti-connext-dds-installers-ros-2, download & ...
cat_in_the_loop's user avatar
0 votes

AMCL is not publishing map -> odom TF [HUMBLE]

I have found where was the issue. I didn`t give the initial pose because I thought the problem came from another thing because the termial, after I launched the robot and the nav2 bring_up, was full ...
dani santana's user avatar
1 vote

Programmatically find path to the cpp package irrespective of workspace from within the cpp node

If you wish to retrieve some files in the installed package then get_package_share_directory is the way to go. It is available in the ...
oKermorgant's user avatar
0 votes

Sensors on Mobile Links

1- Check your Urdf on Urdf folder check_urdf name_of_robot_urdf.urdf 2-Then check the TF frames if they are properly transformed ...
Marcus Vinicius's user avatar
1 vote
Accepted

Programmatically find path to the cpp package irrespective of workspace from within the cpp node

The following worked for me. The core idea is we export a shell environment variable that any C++ / Python package can access. An example is shown below Create a shell script called ...
Azmyin Md. Kamal's user avatar
0 votes

Spawner Waiting for '/controller_manager' services to be available

If the demos did not launch then there is no need to have a look at your project. But there is no need to launch a ros2_control_node if you use gazebo_ros2_control, which starts an instance of ...
Christoph Froehlich's user avatar
0 votes

Unable to create C++ header files for Custom Message

You tag your question with ros-humble, yet the link points to the tutorial for Crystal, which is a much older ROS version. Here is the tutorial for Humble: https://...
JRTG's user avatar
  • 1,974
0 votes
Accepted

MoveIt2 Didn't receive robot state (joint angles) with recent timestamp within 1.000000 seconds

I've managed to solve it. It seems that I was wrongly initializing MoveGroupInterface class all along. I've changed initialization to: *.hpp: ...
Filip Zorić's user avatar
1 vote

Is Groot still used to monitor nav2 behaviour tree in 2024? (ROS2-Humble)

I was facing the same issue, just to discover that, at least for Humble, the support for live monitoring of BT is dropped in Nav2 :( I'm still in doubt if the live monitoring will be available with ...
cbn.joao's user avatar
0 votes

Communication Between Docker Containers Running Different Versions of ROS

Yes, it is possible to do anything with docker, starting with --net=host to open the networks between the containers. If you need it as efficient as possible, do ...
Ryan Friedman's user avatar
3 votes
Accepted

ROS2 in .NET for Dummies?

Apologies for the poor documentation from the author of rclnet. Allow me to introduce some basic concepts about rclnet to you. ...
noelex's user avatar
  • 146
0 votes
Accepted

Holonomic drive in Ros2 using Mecanum Wheels

There is no merged ros2_controller yet in the official repo, but there is a PR for mecanum wheeled robots.
Christoph Froehlich's user avatar
0 votes

Blocking call on MoveIts CurrentStateMonitor?

Did you manage to figure it out, I'm having a similar issue. But I'm using use_sim_time as you can see more here.
Filip Zorić's user avatar
0 votes
Accepted

Cannot install Gazebo in ros2 humble

I might be wrong but doesn't sudo apt install ros-humble-desktop include Gazebo ? And I gotta ask, is your device ARM or x64? I know that using gazebo-classic might ...
Alperen Keser's user avatar
0 votes
Accepted

Planning a single goal with two hardware interfaces with different Joint Trajectory Controllers

JTC from ros2_controllers does not support this out of the box. Depending on your needs, you could write a node with two action clients for the two controllers, and maybe wrap that in an service/...
Christoph Froehlich's user avatar
0 votes
Accepted

ROS2 Controllers Activation Issues

You have a typo in this line: https://github.com/BobbieZain/inchworm/blob/a99dbb9e8be6a7da9f61fe761fca5e2eefee66f3/urdf2/movement/config/ros2_controllers.yaml#L33 ...
Christoph Froehlich's user avatar
0 votes
Accepted

Why can't I launch the navigation stack from the same launch file as the simulation and the mapper?

Apparantly this has to do with ROS 2 launch arguments leaking into other included launch configurations. In contrast to ROS 1, here included launch files will not have their own scope by default. You ...
moooeeeep's user avatar
  • 174
0 votes

How to do mapping based on lidar/odometry measurments in ROS2 for Turtlebot4 Humble?

You could try to use SLAM Toolbox for that purposes https://turtlebot.github.io/turtlebot4-user-manual/tutorials/generate_map.html
Michael Jonathan's user avatar
0 votes

executable '[<launch.substitutions.text_substitution.TextSubstitution>]' not found on the PATH

I had the same problem on docker. After downloading xacro, the problem was solved: sudo apt-get install ros-humble-xacro
sys_met's user avatar
0 votes
Accepted

Is this a bug in ros2 command line processing?

I finally found syntax that works: ...
user1759557's user avatar
0 votes

openssl version for ROS2 humble Win10

I found a good guide here to install openssl: https://github.com/openssl/openssl/blob/master/NOTES-WINDOWS.md
Robowave's user avatar
0 votes
Accepted

What packages for camera-based face recognition and object recognition exist for ROS2, Humble?

I found, and tested this package for visual object recognition. It works fine using Ubuntu 22.04/ROS2 Humble apart from excessive GPU usage when using a live video stream. That is a long standing ...
user1759557's user avatar
0 votes

Turtlebot4 problems when trying to simulate

Today I realized that they updated some ros humble packages including ros-humble-ign-ros2-control that contains the bug fix (I am in Ubuntu 22.04). The workaround ...
joanvallve's user avatar
2 votes

Creation of ROS2 subscriptions dynamically in loop vs manually

OP's answer from a now-deleted comment on Steve Mecenski's answer: Hardcoding working without storing the instance may have to do with how I'm wrapping the node later on... I'll test it in isolation. ...
1 vote

fatal error: tf2_geometry_msgs/tf2_geometry_msgs.h: No such file or directory

hope my reply is not too late :) I met the same issue as you. After searching on the Internet, I found the solution. The reason for the issue The reason for the error is that the CMake cannot find the ...
Jin_Tonic's user avatar
3 votes
Accepted

Creation of ROS2 subscriptions dynamically in loop vs manually

As firthc pointed out (in the comment that is now a wiki answer), it is a "problem" with lambda functions. They create a reference to the environment rather than a copy of the current value ...
MadsDyrmann's user avatar
0 votes

Sensor fusion in ROS2: 360 lidar + depth camera

You can use packages like Rtabmap. Rtabmap is originally built for vslam but it supports data fusion from all other sources which gives you the ability to fuse scan data along with rgb and depth data.
fatemeh_p's user avatar
  • 168
0 votes

E: Unable to locate package ros-humble-tf-transformations

I think Tully is correct. You have installed ROS2 desktop from source. Then you will also need to locate tf-transformations package and install it from source. Today I have installed TF ...
Marcus Vinicius's user avatar

Top 50 recent answers are included