Questions tagged [ros2]

Use this tag for questions related to ROS (Robot Operating System) version 2.

Filter by
Sorted by
Tagged with
0 votes
3 answers
405 views

ros2 spinning problem[SOLVED]

i'm trying to transform ego-planner-swarm founded in: https://github.com/ZJU-FAST-Lab/ego-planner-swarm to ros2... the problem was in one of the subscription's callbacks there was a function in which ...
arash mokhtari sherkat's user avatar
0 votes
1 answer
183 views

How can I disable all logging to files under ~/.ros but still log to stderr?

I read https://docs.ros.org/en/humble/Concepts/Intermediate/About-Logging.html but that didn't really explain how one would go about it. Is it even possible? I am on Ubuntu 22.04 and I'm on a source ...
Hakaishin's user avatar
  • 105
0 votes
2 answers
423 views

Trying to install ROS2 on Ubuntu Jammy, but I'm running into some errors

I have ran into an error whilst trying to install ROS2, not sure what to do. Some background: I'm running ubuntu version 22.04.3 using a virtual machine. I'm trying to install ROS 2 Iron (...
Error100's user avatar
0 votes
2 answers
333 views

GPS+Navigation2 : Issues navigating with an empty map after success with a pre-built map: "Received plan with zero length"

I've been working on a project using the Navigation2 stack to navigate a robot through GPS waypoints. When using a pre-built map, the robot successfully navigates to all waypoints. However, I ...
Marcus Vinicius's user avatar
0 votes
2 answers
95 views

How to specify the network interface ros2 uses for communication?

When I launch my node, after installing a docker image, I get following warning, luckily it arbitrarily selects the right interface, but how can I specify it to get rid of the warning? ...
user avatar
2 votes
3 answers
978 views

Spdlog linker error with ROS2 packages

Good afternoon! We are a company that has a pretty big robotic framework and we are currently working in a transition into ROS2. We are first creating the structure that all of our packages will ...
Jorge Playán's user avatar
2 votes
0 answers
99 views

Building ROS2 Humble on macOS Fails Due to Old pybind11

I’ve been trying to build Humble for macOS 13.5.2 (on M1). With the help of Discord, I’ve gotten further along, but now I’ve run into an issue I’m not sure how to solve. When building ...
Rick's user avatar
  • 121
2 votes
1 answer
370 views

Getting the value of LaunchArgument inside python Launch file

I've came across an interesting issue. Is it possible to get the value of the LaunchArgument inside the python launch file? Take the following scenario: ...
Stanislav Svědiroh's user avatar
1 vote
1 answer
180 views

convert/use rosbag1 with ROS2 on Ubuntu 22.04

Hi, I just got several datasets in the form of ROS1 rosbags. I would like to use them within ROS2 (humble), either by converting them to ROS2 bags, or by replaying them in ROS2, whatever is easier. Or ...
user avatar
1 vote
2 answers
141 views

How do I make a robot imported using urdf and ROS2 gravity? It just floats

I can't seem to find any examples with imported URDFs (the universal robot examples don't seem to have any physics settings beyond joint inertias etc). My robot has mass from the urdf: But it seems ...
Craig MS's user avatar
0 votes
2 answers
163 views

Lidar scan not matching with obstacles when using AMCL in Nav2, specially when the robot is rotating

I am taking ground-truth odom and lidar scan messages from gazebo garden and using custom nodes to change the time stamps to ros2 time. I verified that messages are correct in both systems. When ...
Rakshit Soni's user avatar
0 votes
2 answers
192 views

ROS2 Gazebo vacuum_gripper doesn't grip

I am trying to add a vacuum gripper to my ROS2/Gazebo/Python project. I have the following: grip.xacro (note the plugin for gripper): ...
Steve Brown's user avatar
0 votes
0 answers
120 views

Local Planner struggling to follow the global plan

When I set the NAV2GOAL in rviz, the global plan displayed and robot initially starts following it. However just after reaching the goal and when an angular goal is set, sometimes the robot tries to ...
Rakshit Soni's user avatar
0 votes
2 answers
168 views

nav2 interactive_waypoint_follower example can not get robot_localization state

I am trying to run the Interactive GPS Waypoint Follower. I have launch these instruction: TERMINAL 1: ...
Cristian_wp's user avatar
0 votes
2 answers
173 views

Help With MultiThreadedExecutor

...
Basavaraj's user avatar
0 votes
0 answers
32 views

Nav_sat_transfor_node dual-EKF causes serious jumping in map frame

I have a differential robot with poor grip as you can see in the picture below, with the following devices: -Motor controller - 100Hz, encoder and publishing in my topic /diff_cont/odom (frame id: ...
Juan Miguel Sequeira Da Silva's user avatar
0 votes
2 answers
38 views

Robotic arm moves on loading inside Gazebo

I am trying to run the ros2_control_demo_example_7 package of ros2_control_demos with some modifications to spawn r6bot robot ...
Anubhav Singh's user avatar
0 votes
3 answers
2k views

Lookup would require extrapolation into the future on the same machine

I get this error when trying to view my RPLidar A2 scan in rviz2. It’s on a differential drive robot controlled using arduino using Articulated Robotics’ code that I quickly ported to Humble, ...
Redstone's user avatar