Skip to main content

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
47 views

How to include a code generated Matlab function into a ROS 2 C++ node

I generated a matlab function for a Quadrotor trajectory generation. Now I want to include this function into a pre existing ROS2 C++ node. Unfortunately, when compiling I get an error: ...
ric-enr's user avatar
  • 21
0 votes
1 answer
67 views

Waiting for 'controller_manager' node to exist

So I am new to ros2 and ros2_control. I am projecting a wheelchair with a rotating 2d LiDAR, to make a cheap 3d LiDAR. My problem is, I cannot solve the controller manager issue with the rotating ...
Victor Marques de Souza's user avatar
0 votes
0 answers
9 views

Integrating UR16e Robot in Unity3d with ROS2

I am working on a project that involves Unity3d with UR16e robot model and integrating with ROS2. I am using ROS2 Humble inside a docker container. I followed the ROS-Unity tutorials to get a hang of ...
confused-robocist's user avatar
1 vote
1 answer
28 views

How to print node crash message "process has died" in red

When a node crash, the typical error message below is printed in the terminal, but in regular (blank) color, making it difficult to spot it in the flow of others RCLCPP_INFO prints: ...
PatoInso's user avatar
  • 124
0 votes
0 answers
15 views

ROS 2 Jammy: Unable to Install Webots distributed package

I'm currently trying to install the distributed package for ros2_webots but keep receiving the following error: ...
Tyler Roman's user avatar
0 votes
1 answer
31 views

ros2 parameter dynamic update and node restart

I'm wondering what design pattern, if any, should be followed for a ros2 node that restarts after a dynamic parameter update. The use case is the following: ros2 node starts and reads parameters from ...
atab's user avatar
  • 1
0 votes
1 answer
48 views

Mecanum wheels not moving as per expectation

I am working on a robot with 4 mecanum wheels. I am using the following mecanum wheel controller "https://github.com/ros-controls/ros2_controllers/pull/512". The robot is working fine in ...
Pratham's user avatar
  • 63
0 votes
0 answers
11 views

Using roslibpy to run navigation2 actions

I am using ROS2 Humble and the Navigation2 package. I want to use the Navigation2 actions via websocket, ideally using roslibpy. Doing this over websocket is ...
snow_clone's user avatar
0 votes
1 answer
18 views

What is needed to compile a client using a service call?

What is needed to compile a client to use a service offered by another node? Is only the .hpp file needed and included via the include statement or is something else required?
FourierFlux's user avatar
1 vote
1 answer
41 views

ROS2 Generating Odometry with GPS and IMU Data and Visualizing in RViz

I'm a new robot developer and I am learning ROS2, and I'm working on a project where I want to make a robot go straight to a specific area using GPS and IMU data. Since there won't be any obstacles ...
Onur Ali KORKMAZ's user avatar
0 votes
0 answers
8 views

Some links are not showing up under Gazebo's models

I have a .xacro file that is being used to create a urdf to be sent to Gazebo, which is being launched using ROS2. I am trying to update a codebase from ROS to ROS2. I don't get any errors - I have ...
Ara's user avatar
  • 1
0 votes
1 answer
19 views

Automatic method to verify ros2 package compatability with new version

I am considering upgrading to ros2 jazzy from humble but would first like to verify all packages I depend on are supported. Is there an automatic way to check that all the dependencies in my workspace'...
Floub's user avatar
  • 1
0 votes
0 answers
14 views

Set_Model_State does not move my TurtleBot2

I am currently trying to create/migrate Q-Learning scripts for my TurtleBot2 in gazebo (for ROS2/Humble) and came to a problem which I cant solve. In a Python file I have created a couple of methods ...
DJ1NN's user avatar
  • 21
0 votes
0 answers
11 views

ROS2 launch issue when using .desktop file

I am having an odd problem and hoping someone can assist. I am using Ubuntu desktop 22.04 and ROS2 humble. I have a TOF camera that I am setting up for a project. Currently I have the camera drivers ...
TheFujiGuy462's user avatar
0 votes
0 answers
14 views

NAV2 Custom Robot is not following path while moving

I prepared a custom robot and whenever I publish velocity from the teleop, it moves well. My robot hasn't got IMU but it is localizing and mapping via LIDAR. It generates a map successfully with ros2 ...
Eren's user avatar
  • 1
0 votes
1 answer
24 views

How to remove a specific TF message in the rosbag file?

I created a rosbag file in the humble of ros2. But I want to remove a specific message of /tf topic from the bag file. Want to remove follow message all in /tf topic. ...
PStars Lee's user avatar
0 votes
2 answers
50 views

Adding nodes at startup of Turtlebot4

I want my service node to run when Turtlebot boots up. I have tried editing the bot's bringup files to add a call to launch file of my robot, but that didn't work and just broke the bringup completely....
zdaga's user avatar
  • 1
0 votes
0 answers
7 views

Data transfer using different transport protocols

Can we send data from publisher side using a particular protocol like UDP and receive data from the subscriber side using another protocol like TCP? I was running a ros2 publisher node with transport ...
Anoop's user avatar
  • 1
0 votes
1 answer
35 views

The ROS build system is confusing

1)What are types of build tools and build systems in ROS 2 ? 2)What are the differences of Colcon & Ament ? 3)When is CMake used ? 4)Can we use Cargo/Pip for building ? 5)How does the ROS build ...
Bezal-el's user avatar
0 votes
1 answer
51 views

Nav2 map server - map frame does not exist in RVIZ

I created my custom wheel robot and run it in ROS2 Humble. My launch file: ...
Kirill Partala's user avatar
1 vote
1 answer
35 views

What is the time base of ros2 loggers?

I was reading about logging here: https://docs.ros.org/en/iron/Concepts/Intermediate/About-Logging.html I notice in my log file some type of time is output in front of the strings I write to the ...
FourierFlux's user avatar
0 votes
0 answers
23 views

ROS2 Rqt_reconfigure hide params, make param groups

i am currently working on ROS2 port from ROS1. Now i am declaring parameters for manipulating a pointcloud. I want to use rqt_reconfigure, but the problem is, that there are shown all parameters from ...
Maverick_ROS's user avatar
0 votes
0 answers
77 views

ament_cmake_vendor_package, does it exist?

when trying to build the rosbag2 repo from source (following this), I encounter the following cmake error when running colcon build (yes, I have sourced setup.bash):...
Eric Barrera's user avatar
0 votes
1 answer
80 views

How can I parallelize or multithread rviz2 plugins?

Brief summary: I do some intensive image processing in a custom rviz2 plugin, and I can only get one plugin to generate output at a time. How can I spin each plugin off on a thread so they'll work in ...
Chuck's user avatar
  • 16k
0 votes
0 answers
30 views

MoveIt! "Jupyter Notebook Prototyping" tutorial : cannot configure planning scene monitor

I am doing the MoveIt! tutorial Jupyter Notebook Prototyping, but I cannot instantiate the MoveItPy object, because of an impossibility to configure the planning scene monitor. However, the Moveit ...
Q C's user avatar
  • 1
1 vote
3 answers
181 views

Gazebo crashes immediately - Segmentation fault (Address not mapped to object [0x220])

I installed ROS2 Jazzy successfully on a laptop running Ubuntu Noble 24.04 with an Intel Xe graphics card, and installed Gazebo Harmonic using: ...
PrattPrakash's user avatar
0 votes
0 answers
26 views

jazzy ros2 does not recognize rclcpp::ok(), rclcpp::sleep_for()

We just updated our robot stack from ROS2 Iron to ROS2 Jazzy, and we are facing a problem, when we are building package, we receive a build error, that ok() and sleep_for() is not a member of rclcpp <...
PDvorak's user avatar
0 votes
0 answers
20 views

how to change gazebo /clock QoS Reliability

how to change gazebo /clock QoS Reliability from BEST_EFFORT to RELIABLE . I did not find any gazebo param or any method to do so. It should not be hard coded. ...
Hrithik Verma's user avatar
1 vote
0 answers
30 views

SLAM Toolbox map size too small

I am working out of a simple 4 walled gazebo world with a 2 wheel differential drive robot similar in size to the turtlebot3. I am using the nav2_bringup package to launch the nav2 nodes and the slam ...
Abhi's user avatar
  • 11
0 votes
1 answer
24 views

Bias Omni Navigation Towards Forward Movement

I am working on an omnidirectional robot using ROS2 and NAV2 BT navigator stack. I have managed to get the lattice planner working and have full omni directional movement. I was wondering if there was ...
Sebastian Pelletier's user avatar
0 votes
0 answers
28 views

Service server never calls callback

I am trying to test a service with a small python script. The type used is std_srvs/srv/Empty. My minimal service server looks like this: ...
R. Larsen's user avatar
0 votes
0 answers
28 views

Robot Freezing and Hopping while navigating with slam_toolbox

I'm currently facing an issue with my robot's navigation using the slam_toolbox. I intend to perform SLAM in a large empty outdoor environment like a parking lot, so my initial setup reflects this. ...
skatellite's user avatar
0 votes
0 answers
16 views

Nav2 how to smooth velocities with deadband?

I'm having trouble with the cmd_vel that nav2 gives me for my robot. The robot only moves with : angular speeds ∈ [-1rad/s, -0.3rad/s] ∪ [0.3rad/s, 1rad/s] linear speeds ∈ [-1.2m/s, -0.3m/s] ∪ [0.3m/s,...
Tom Lemmel's user avatar
0 votes
0 answers
17 views

nav2 cmd_vel only has Theta values

i am trying to integrate nav2 on a real robot. So far i managed to generate maps using the slam toolbox and load them, it creates a costmap, the local costmap is updated and sees obstacles. A path is ...
Tom Lemmel's user avatar
0 votes
0 answers
9 views

Are Action Handles safe to share between threads?

I'm trying to understand the rclcpp example for a simple action server, specifically this line std::thread{execute, goal_handle}.detach(); The ...
2g4m's user avatar
  • 1
0 votes
0 answers
52 views

python3-catkin-pkg : Conflicts: catkin but 0.8.10-7 is to be installed

I am working on my Final Year Robotics Project, relatively new to Robotics. I am using ROS2 on Ubuntu 22.04 Jammy Jellyfish. I ...
Ammar Mujtaba Tariq's user avatar
0 votes
0 answers
16 views

Message filter subscribe with best effor QoS can't receive message from publisher with reliable QoS

I'm using the pointcloud_to_laserscan package to convert pointcloud from depth camera to laserscan, but the pointcloud_to_laserscan node can't receive message from depth camera. The QoS for the ...
Phymin's user avatar
  • 23
1 vote
1 answer
16 views

Dynamic assignment of joints to ros2_controllers

Is it possible to assign all joints of a robot (or a series of specific joints according to a pattern, e.g. left_joint_*) to a controller in the controller configuration YAML or does each joint ...
Maximilian von Unwerth's user avatar
0 votes
1 answer
26 views

Are ROS2 subscription callback arguments always pointers?

I have been looking more closely at ROS2 messages. Something I have noticed is that. The publisher always appears to take in the message object when publishing a new message and The subscription ...
FourierFlux's user avatar
0 votes
1 answer
19 views

Can't integrate localization and navigation in my launch file

I am studying Ros2 for a college project, I've build this robot using some tutorials to help me. I am now researching how to make a dynamic navigation node. My problem is, everytime I run my robot, I ...
Victor Marques de Souza's user avatar
0 votes
0 answers
19 views

GPS waypoint following

I am trying to create a node for Unitree go1 (4 legged robot)to follow gps waypoints. Can anyone guide me from scratch.
Muteeb Rehman's user avatar
1 vote
0 answers
11 views

Migration from uuv_thruster to gz-sim thruster plugin

I'm facing some difficulties in migrating some code from gazebo-classic to gz-sim. I have an unmanned surface vehicle equipped with four thrusters that receive the target propeller speed as control ...
Tony's user avatar
  • 11
0 votes
0 answers
16 views

Return of a mobile robot to skipped places (nav2, opennav_coverage)

I am planning an autonomous vacuum cleaner application in which I will use opennav_coverage to cover the full area. I expect a situation where the robot will miss part of the area due to an obstacle ...
SKJQ's user avatar
  • 21
0 votes
1 answer
32 views

How to set up depth camera to do obstacle avoidance in navigation2

I follow the navigation2 docsnavigation2 docs and add a depth camera to my gazebo model, the depth camera works fine until I configure the pointcloud from depth camera to do obstacle avoidance. There ...
Phymin's user avatar
  • 23
1 vote
2 answers
130 views

SLAM_TOOLBOX , topic /map is empty

I’m attempting to run the slam_toolbox. My setup includes ROS2 Humble, Raspberry Pi 4, and RPLIDAR A1. Previously, I encountered an issue with a terminal message like: [async_slam_toolbox_node-1] [...
Ivan Mokiets's user avatar
0 votes
0 answers
14 views

Moveit not using sim time despite setting param

I am trying to do the moveit tutorials but using Gazebo too, and here is the error I am getting: ...
vivek mannava's user avatar
0 votes
1 answer
46 views

How to Configure a PID controller Yaml file in ROS2_Control

In this page of the documentation of ros2 control There is no mention of how to make the PID controller actually work. If I run the yaml file example provided ...
Mohamed Abduljawad's user avatar
0 votes
1 answer
22 views

Error when initializing tf2_ros::buffer in ROS2 Foxy

does anyone know why i cant initialize an instance of tf2_ros::buffer in ROS2 Foxy? test_file.cpp : ...
Bryan's user avatar
  • 5
0 votes
0 answers
49 views

web video server over HTTPS

I'm on ROS 2 Humble and my web app is on https. Is there any way I can make web_video_server stream the image topics over HTTPS/SSL instead of HTTP so I can use ...
gxomalis's user avatar
0 votes
0 answers
14 views

Nav2- Using BehaviorTree.CPP nodes along with nav2 BT plugins

My application is dynamic object following and tracing the recorded goal poses to return to the intial pose when no /goal_update message is received for 5 seconds. ...
AUNebulosa's user avatar

1 2 3
4
5
68