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
0 answers
8 views

Can't build with colcon on ROS2 Humble. Issue with empy

I'm on Ubuntu 22 Desktop. Just installed ROS 2 Humble and can't proceed with this tutorial https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Colcon-Tutorial.html When I try to execute ...
Raúl Bezares's user avatar
0 votes
0 answers
10 views

Connection problem between ROS2 in WSL2 and Unity in Windows

I'm trying to build a system which is composed of Unity which has a ros2-for-unity in Windows11 and ROS2 in WSL2. However, I can not pub/sub between ROS2 in WSL2 and Unity in Windows. Ros2-for-unity ...
menomendy's user avatar
0 votes
0 answers
2 views

if i apply the 3D graphics acceleration on virtual pc, then i can not get the right gazebo display with robot, only empty world. why?

if i apply the 3D graphic acceleration, then i can start the gazebo correctly with robot or object displayed in the world. if i not apply the 3D graphic acceleration, then i can use command like "...
xinfengxia's user avatar
0 votes
0 answers
3 views

ROS2 cancel action_server goal in javascript

can someone help me regrading how to cancel the action server goal? This is my current code: ...
dines's user avatar
  • 1
0 votes
1 answer
9 views

Subscribing to topic /tf_static in ROS2

I am trying to subscribe to the topics /tf and /tf_static. /tf works now but I am not getting any data from /tf_static. Can I even subscribe to the topic? ...
michael86's user avatar
0 votes
1 answer
15 views

ros2_control_node errors after ROS2 Rolling update

I have ROS2 Rolling installed last year on one laptop and my launch file just works fine there. But I have newly installed ROS2 Rolling on other laptop and same launch file doesn't work there. My ...
Kirill Partala's user avatar
0 votes
1 answer
11 views

Significant Degradation in SLAM Performance with Reduced LiDAR FoV

I am using ROS2 Humble and trying to run a simulation with Gazebo. I run a SLAM algorithm with slam_toolbox for my robot. The mapping and localization were good when I had a 360° LiDAR, but when I ...
Arad's user avatar
  • 21
1 vote
1 answer
13 views

Sensor fusion in ROS2: 360 lidar + depth camera

I recently purchased an OAKD-Lite camera and I'm trying to integrate it into my ROS 2-operated robot to detect obstacles that are lower than the 360lidar, preventing collisions. So far, I've succeeded ...
Daniela's user avatar
  • 11
0 votes
0 answers
7 views

ros2 can't view topics from remote raspberry pi in virtual machine

I have a problem where I can't see topics published on my Raspi 4 in my VMWare Virtual Machine. I remember being able to see the topics while my work environment was on a dual-boot setup but that ...
Lokplart's user avatar
1 vote
0 answers
13 views

Issue changing Behavior Tree in Nav2

I am trying to follow this tutorial for NAV2 to begin development of dynamic object following. I got everything running however I am not quite sure that I properly changed the behavior tree. I haven't ...
Lukas Nöller's user avatar
1 vote
0 answers
10 views

How to migrate ROS1 code that passes ros::Nodehandle to functions inside constructor

In ROS 1 C++ code, a somewhat popular idiom involves calling functions that takes ros::NodeHandle to initialize members, e.g. ...
Hs293Go's user avatar
  • 11
1 vote
0 answers
18 views

robot_localization EKF covariance exploding with absolute pose input

Firstly, I have had a look at other questions targeted around exploding covariances, yet I still cannot figure out what is wrong with my setup. I have multiple static cameras that detect a moving AR ...
b0xermatt's user avatar
-1 votes
1 answer
14 views

ROS2 package installation error

It seems like there's an issue with the ROS 2 repository for Ubuntu Mantic, as indicated by the "404 Not Found" error. How do I fix this? ...
sneha's user avatar
  • 1
0 votes
0 answers
33 views

How to execute non-ROS Python code in launch files?

I have an application where I'm happily using *.launch.py files BUT I would love to run non-ros (no node, no launch, etc) to populate some arguments of the downstream launch actions. Overall this ...
Ignacio Vizzo's user avatar
0 votes
0 answers
8 views

Read encoder's data with RPi + ROS2

i'm actually doing a mecanum drive robot that has 4 DC motors (polulu) with encoders. To drive my robot, I wanted to measure the speed of my motors to adjust the Duty Cycle with a simple PID. However, ...
Erudil's user avatar
  • 1
0 votes
1 answer
14 views

Is it possible to use Nav2 Low Level Controllers without a map?

I am currently building a car-like robot and wrote a simple pure-pursuit controller. I found that Nav2 has a really nice implementation of it. Since my robot does not compute an occupancy grid, but ...
multiplex's user avatar
0 votes
1 answer
19 views

eprosima::fastcdr::Cdr::DDS_CDR

i am trying to build micro ros agent package on ubuntu 22.04 working on ros2 humble but this error appears /home/boxtech/ros4_ws/src/micro_ros_agent/micro_ros_agent/src/agent/graph_manager/...
Meriem Ghrissi's user avatar
0 votes
2 answers
59 views

Spawner waiting for '/controller_manager' services to be available when they are already available

...
Vrushab Jain's user avatar
1 vote
1 answer
14 views

Does the mock hardware component "mock_components/GenericSystem" provided by ros2 control support the 'velocity' command interface?

When I change the command interface from 'position' to 'velocity' in Moveit2 tutorial (MoveIt Setup Assistant — MoveIt Documentation: Rolling documentation), I found the crux of the problem is the ...
Michael's user avatar
  • 35
0 votes
1 answer
28 views

ROS2, Create3, Node subscribes to topic /tf but cannot receive data

In ROS2 for the iRobot Create3. I created a node and subscribed to the topics /tf and tf_static. It seems to work because I can compile it and subscribed to other topics without any problems. But /tf ...
michael86's user avatar
0 votes
0 answers
19 views

ROS2 rclpy subscription problem

I have a following problem: I am trying to subscribe two topic (image and pointcloud) and once the program detect falling edge from gpio pins it should publish the image and point cloud. However the ...
JereK's user avatar
  • 1
0 votes
0 answers
7 views

Octomap Mapping Floor Issue [closed]

I am new to ros2 navigaiton. I am trying to create a map using Octomap pkg which I can use in Nav2. The point cloud data also includes the floor which causes the map to consider it as an obstacle. ...
Student's user avatar
0 votes
0 answers
8 views

Ros2 Iron, Tutorial Webots, Setting up a robot simulation (Basic) Connection Issue

Following the basic tutorial with the goal to use webots with ros2, I've run into the following problem: ...
Merlin's user avatar
  • 1
0 votes
0 answers
17 views

Porting an exsiting Python Project to ROS2

I have a conceptual question about using ROS2 with other projects that I haven't been able to find a satisfactory answer for. I work with a few complete systems written in Python that are self-...
firthc's user avatar
  • 23
0 votes
1 answer
50 views

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

OS: RaspberryPi OS debian version: 11 (code name is bullseye.) ROS2 version: humble I tried to install the library with ...
Kimura's user avatar
  • 3
0 votes
2 answers
42 views
+50

ROS2 Wrapper for a Python-based Sensor

I have a force sensor that I want to use with ROS2, however, I don't know how to create a ROS2 wrapper for it. All I found was this tutorial that creates a ROS1 wrapper. Below is a snippet of the ...
Mohamed Abduljawad's user avatar
0 votes
0 answers
5 views

Building ro2 from source failed due to tf2_ros_py

I'm trying to build ROS2 from source on ubuntu 20.04 on parallels on apple silicon, but I'm getting this error ...
Anas Badr's user avatar
0 votes
0 answers
18 views

ROS 2 Humble RQT image view doesnt appear

I recently installed ROS 2 Humble again and i used to open RQT to view an image topic from a camera used in a gazebo simulation, but after this installation the view option doesnt appear in RQT ...
Lucas Paiva's user avatar
0 votes
0 answers
19 views

Inquiry Regarding Support for Intermediate Certificates in SROS 2

I am currently exploring the safety features of SROS 2 to ensure safe communication within the robotic system. One of the security aspects that interests me is the support for intermediate credentials ...
890719's user avatar
  • 1
0 votes
0 answers
13 views

Why is the `retrospective_penalty` not included in the SmacPlannerHybrid::dynamicParametersCallback method?

When writing a pipeline that sets planner server parameters at runtime I realized that the retrospective_penalty cannot really be changed at runtime. For example I ...
hsong's user avatar
  • 1
0 votes
0 answers
12 views

find_package() of exported dependencies builds with --merge-install but not isolated

Running ubunut 22.04, ros humble from binaries. I have written 3 packages. Two containing libraries and the third an executable. I have split the libraries just because they were semantically ...
Nyquist's user avatar
  • 149
0 votes
0 answers
7 views

Compensate magnetometer tilt with the IMU in ROS

For outdoor navigation, I have a magnetometer driver node publishing sensor_msgs/msg/MagneticField messages in mag_link frame (fixed frame relative to base_link) I have an IMU driver node publishing ...
Antoine Van Malleghem's user avatar
1 vote
2 answers
34 views

How to correctly change the command interface of the panda robot arm from 'position' to 'velocity' in the Moveit2 website tutorial

I followed the official Moveit2 website to create the panda robot arm and successfully ran demo.launch.py: MoveIt Setup Assistant — MoveIt Documentation: Rolling ...
Michael's user avatar
  • 35
0 votes
0 answers
3 views

While the executor is running, where should the process of reading UART data occur? (callback? loop including spin?)

I'm using micro-ROS. The executor is running through spin, and the callback function is triggered by timer conditions to deliver messages. I wanted to add lidar data via UART here. However, I noticed ...
ertretff's user avatar
0 votes
1 answer
14 views

Octomap Saving Map Extension - ROS2

After creating the map, I tried to save it using the following commands: ...
Student's user avatar
1 vote
1 answer
24 views

ROS2 Error while installing dependencies (rosdep)

I successfully compiled and installed ROS2 on Arch Linux. Everything is working fine (surprisingly!). As I initialized rosdep I got this error: ...
enf's user avatar
  • 21
2 votes
1 answer
31 views

Smartmicro radar ROS2 package Ethernet trouble

I'm working with a UMRR-96 Type 153 radar. I am having trouble using its ROS Package. My hardware is good since there are no problems when I use the radar with its own application. It works with both ...
ErenDs's user avatar
  • 23
0 votes
0 answers
8 views

Cancel previous callback made from subscription ROS2

I'm new to ROS2 and I don't really know how to do this is in a clean way. I'm in this condition ...
Alexander's user avatar
1 vote
2 answers
21 views

robot_state_publisher-1 Error: joint limit: no effort

Here's a snippet of my urdf that's causing the problem: ...
user40389's user avatar
0 votes
1 answer
25 views

rviz2 mesh visulization error while using GZ harmonic + ROS 2 humble

I am trying to use gz harmonic with ros2 humble, and I am stuck on rviz2 part. Gazebo and ros_gz_bridge are working well, and I am able to visualize the topics in rviz2 but not the model meshes. I am ...
aarsht7's user avatar
  • 93
0 votes
0 answers
14 views

ROS2 Ackermann Steering Car is not moving and wheels are not turning

I've been trying to figure out why my robot will not turn or move forward in Gazebo or Rviz2. I'm using ROS2 Humble and the ros2_control for the Ackermann Controller. So far, my robot properly spawns ...
encyclopedia_maritime's user avatar
0 votes
1 answer
30 views

ROS2 Send Image Through Service (C++)

I'm relatively new to ROS2 and have been relying on tutorials and online resources to navigate my learning journey. Currently, I'm trying to send an image via a service request, but despite my efforts,...
Heron Saba's user avatar
0 votes
1 answer
10 views

Nav2 to navigate to space outside of global cost map when using static layer

Does anyone know if there is a way to travel to goal poses outside of the global cost map while using nav2 with static layer enabled? When I set up a SLAM simulation with nav2, the initial slam map is ...
Ben Rossano's user avatar
0 votes
0 answers
6 views

How to get a flipper and track to move together with different joints [closed]

Hopfully someone can help. I'm having problems with a tracked robot i'm designing. The robot has two main links, a track and flipper. The flipper rotates and the tracks allow the robot to move ...
Rob Dawson Jr's user avatar
1 vote
1 answer
48 views

OpenSSL version problem in ROS2 Humble install for Windows

I'm trying to install ROS2 Humble for Windows because I would like to create an environments for Oculus Quest and Unity and Isaac sim and ROS2. I followed this official page but I noticed that OpenSSL ...
Shunichi's user avatar
0 votes
2 answers
16 views

ROS2 "install" can't load plugins on other machines

This is a bit obscure. I am trying to run moveit2 on a raspberry pi zero 2 w but the systems resources are so low that I can not really compile on that machine. So I got a pi 5 for building the whole ...
Boilerbots's user avatar
0 votes
1 answer
27 views

Encountering error: qt.qpa.xcb: could not connect to display [closed]

I get the following error when running ros2 run turtlesim turtlesim_node: ...
Fitz's user avatar
  • 1
3 votes
1 answer
39 views

ROS2/Gazebo fuel.ignitionrobotics.org URL deprecated

I have installed ROS2 Humble + Gazebo Fortess on 22.04.1-Ubuntu. I am following this documention https://docs.ros.org/en/humble/Tutorials/Advanced/Simulators/Gazebo/Gazebo.html When I run: ...
DoOrDoNot's user avatar
  • 131
0 votes
3 answers
24 views

Path to colcon test output directory in a gtest

Is there a way to specify the path to <workspace>/log/test_<date_time>/ from within a gtest executed with colcon test...
Matt's user avatar
  • 11
0 votes
1 answer
20 views

ROS2 MoveIt!2 "No acceleration limit was defined for joint! You have to define acceleration limits in the URDF or joint_limits.yaml"

Im trying to get a UR3e simulation running with MoveIt2 in RViz and Gazebo. I have the robot generating in RViz and Gazebo, and can move it around in RViz. When i try to plan a trajectory, i get the ...
HES's user avatar
  • 1

1
2 3 4 5
62