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

Problem resolution needed for building ROS2 from source

I am using Ubuntu 23.10 on a Raspberry Pi 5 to build ROS2 from source, as specified in "Ros 2 Documentation: Iron" https://docs.ros.org/en/iron/Installation/Alternatives/Ubuntu-Development-...
0 votes
0 answers
4 views

How to calibrate RGBD camera position under ROS2?

I have a RealSense RGBD camera mounted on a robot's end-effector and would like to calibrate the camera's position relative to said end-effector under ROS2. I am using the moveit hand-eye calibration ...
0 votes
0 answers
15 views

ROS2 demo_nodes_py listener "No executable found"?

I have tried to install ROS2 humble in conda using robostack on Linux Mint 21.3. When I do so and activate the conda environment I am able to run cpp nodes but not the python ones. I.e when I try to ...
0 votes
1 answer
32 views

How do ROS2 nodes find each other on the same computer?

I always assumed ROS2 nodes used sockets to communicate but it looks like they might also use shared memory or pipes. Regardless I'm curious how ROS2 nodes find each other? Lets suppose each node ...
0 votes
0 answers
23 views

Which of the following activities would be wise about Gazebo?

Current situation : The created manipulator was displayed in Gazebo, manipulated with jsp_gui and confirmed in rviz (gazebo integration is not possible) What to do next: moveit,realize hardware ...
0 votes
1 answer
37 views

mapviz won't show map on real robot

I've installed mapviz from binary on ros2 iron following this tutorial for navigation stack. Everything works as expected on that demo. I can launch mapviz and the map shows up. I can change lat/lon ...
0 votes
0 answers
17 views

Request for recommendations regarding Gazebo’s speed updates

While studying teleop_twist_* & diff *, I was able to confirm that it was more complicated than I thought. I thought it was simply updating the wheels, but it recorded the speed, estimated the ...
1 vote
1 answer
25 views

how to get node graph like rqt_graph with command line?

my ros2 env does not have a display or visualization config, is there a method only by cli to get the ...
0 votes
0 answers
7 views

Simulate calibrated camera in gazebo garden

I have a calibrated camera, with calibration parameters specified in a yaml file. Is there a way to simulate this camera in gazebo (version = garden)?
0 votes
0 answers
8 views

Is it possible to clone / install ROS2 dependencies packages as specified by rosdistro/iron/distribution.yaml?

I have built ros2 iron and gazebo fortress under debian bookworm. Now I want to try ...
0 votes
1 answer
39 views

how can I reset robot localization in runtime

I'm using ros2 iron and robot_localization with dual EKF and navsat on an outdoor rover. After some time of working I would like to reset the filter as if I turn it off and re-launch it. Is there a ...
0 votes
1 answer
24 views

Recursive launchfile call falling to execute

I'm working on a launchfile that recursively calls itself N times, depending on a parameter. However whenever I try to run it no nodes are initialized, could you help me find the error ? Thanks a lot <...
0 votes
1 answer
14 views

Problem using rqt_image_view only image

I am a new user of ros2 humble. I used rqt_image_view sometimes with ros2 run and since one day I see only the image placeholder and the panel for the topic and else is away. I don't know how I did ...
0 votes
0 answers
17 views

Understanding nested node behavior with subscribers

When I run action info, the action subscriber shown is a different node than the node I passed to the AclientClient constructor. Why is this? It's not what I ...
0 votes
0 answers
15 views

Ros Bridge Publishing cmd_vel from move_base

I am working on a project which requires slam and autonomous navigation. When in Noetic I have created a map and will use move base because the lidar has plenty of drivers for ROS and not ROS2 so I’m ...
0 votes
0 answers
27 views

I am willing to implement ros2_canopen with ros2_control

I am willing to implement ros2_canopen with ros2_control. I am new to ros2_canopen. I have four wheels robot (in simulation) and using diff_drive as ros2_control. Everthing is working fine but when I ...
0 votes
1 answer
27 views

Different turn rates in rviz and gazebo leading to big desync between them

I've been building a 4 wheel differential drive robot (all 4 wheels have motors) and I've noticed that when I control the robot, in Gazebo it barely turns while in RViz it turns a lot more. This ...
0 votes
0 answers
6 views

turtlebot3_simulation branch new_gazebo colcon build error (gz sim Harmonic)

On a Ubuntu 22.04/x86-64 machine, following turtlebot3_simulation new_gazebo "Migrating ROS 2 packages that use Gazebo Classic", repository. After rosdep, colcon build fails: $ colcon build -...
0 votes
1 answer
164 views

Installed ROS2 Humble but rclpy not found

I installed ROS2 humble as per the instructions on https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html on Windows 11 WSL2 using Ubuntu 22.04. No issues during installation and ...
0 votes
0 answers
19 views

process has died [pid 16215, exit code -11, cmd gzserver

I am currently try to simulate my physical TurtleBot2 with an attached mount in my created world file using this repo but unfortunately I am running into this error ...
0 votes
2 answers
25 views

Multiple isolated gazebo on same PC(ROS2)

I need to run multiple instances of gazebo on same PC (ROS version foxy) and want to interact with them individually like spawning a robot in one of them. I tried using different ROS_DOMAIN_ID in ...
0 votes
1 answer
27 views

Esp32 stop receiving data through microros

I am facing some sort of communication issue as follows.... Problem Description: I am facing difficulties when attempting to run three ESP32 devices simultaneously, each connecting to a MicroROS agent ...
0 votes
0 answers
23 views

Losing connectivity on starting nodes in ROS Humble

I am trying to communicate to a Turtlebot 4 from my laptop. I set up the Discovery server as the documentation says and usually I can drive the robot around. However, every time I start anything with ...
0 votes
1 answer
20 views

Robot not loading on gazebo

My Robot is not loading on Gazebo although loading fine on rviz2. Below is my code. On gazebo, only leg_link is loading not any other links. Although on the side ...
3 votes
1 answer
276 views

How to speed up colcon build (notably slower than catkin/cmake) and or debug causes?

My team has a ROS2 humble docker image we use for development. It contains our dependencies along with a source installation of Humble targeting Ubuntu arm64 architecture on a Nvidia Jetson device. ...
0 votes
1 answer
25 views

Assistance downloading UR interface for Ros2 humble

Im getting an error for downloading the ur robot driver. its a line inside a c++ file causing the issue, i cant find the right command to use. Heres the error, please help! ...
0 votes
0 answers
35 views

My docker does not recognise existing nodes and topics

I’m using wsl to run a docker with arm64 platform in order to compile the packages that will go on a debix model A board. My problem is that sometimes I want to test the packages I have but when I ...
0 votes
1 answer
40 views

How to wait for an action to be complete inside a callback?

I'm controlling a mobile robot and I'd like to set up an action (call it back_and_forth) that commands the robot to move forward 1 meter, then move backwards one meter. The interface that I'm using (...
0 votes
1 answer
21 views

rclpy set parameters in global namespace?

As far as I know, it is not possible to set parameters in the '/' namespace from a ROS 2 node, unlike ROS 1. All the parameter set from the ROS 2 node falls in the <...
0 votes
1 answer
33 views

Multi-robots control in ROS2 Humble

I am trying to spawn two robots with the goal of controlling them independently. I have made changes to the empty world launch file in turtlebot3_gazebo package to try and spawn two robots, for now I ...
0 votes
1 answer
25 views

Robot_Localization Local/Global ekf nodes

I have a doubt regarding the use of Robot_localization. I was watching this tutorial: https://navigation.ros.org/tutorials/docs/navigation2_with_gps.html in my case I have a real robot (equipped with ...
0 votes
2 answers
50 views

Where to find a circular robot, diameter < 45cm, load bearing >= 30Kg with ROS (1 or 2) installed?

I am looking for a robot with the following specifications: Circular, holonomic robot Diameter <= 45 cm (17.7 in) Load bearing >= 30 Kg (66 lbs) ROS enabled + camera & lidar sensor (...
0 votes
0 answers
5 views

Blocking call on MoveIts CurrentStateMonitor?

I've created my own move_group_interface due to some complications with the original and the need to expose more functionality of ...
0 votes
1 answer
33 views

Does ROS 1 have compatibility with any Renesas Hardware? Or is it just available for ROS-micro (ROS 2)?

I'm doing research about ROS compatibility with different microcontroller hardware. From what I've searched, I have only found compatibility with microcontrollers using micro-ROS, which is built with ...
0 votes
0 answers
93 views

robot_localization global ekf node(GPS) and local ekf node(odom) cause shifting of base link tf frame?

I have a problem with my robot with GPS. I have a Scout robot with F9P gps device getting gps and having dual ekf node which have the following config file. But once I launch these nodes and visualize ...
0 votes
0 answers
51 views

Webots ros2_control and controller_manager issue

I have been trying for the past week searching forums and documentation to solve this issue. I am trying to make a simple simulation using ros2 humble and webots 2023b. I had switched from Gazebo ...
-1 votes
1 answer
21 views

Nav2 Unable to Switch BT (Galactic)

This question is asked a few times and I tried changing the yaml file but still when I load groot live monitoring, its always default bt loaded. Can you anyone suggest suggestions/corrections to try. ...
0 votes
1 answer
37 views

Problem with Nav2 and RVIZ

I'm trying to set up Nav2 (ROS2 Humble + Ubuntu 22.04.3 LTS) to work in a simulation environment. When I start the nav2 launch file, I see this on RVIZ, if from the Nav2 launch file I remove the ...
0 votes
1 answer
17 views

GPS timestamp vs ROS2 time

I'm using an ardusimple board, it has an ublox f9p receiver. I'm using kumar driver t get /fix topic I fuse GPS data with IMU and wheel encoders using two instance of robot_localization package and ...
0 votes
1 answer
20 views

Awkward shell outputs for launching many nodes using a configuration file

I'm launching multiple nodes of unknown count using a configuration file that I provide to the backend launcher. So far, I appear to have no issues accomplishing this. However, calling ...
0 votes
0 answers
11 views

2D Rigid Scan Matcher for Sparse Points (<=3) for Global Localization

I am working on a wheeled robot in ROS2 Humble that navigates in the XY plane. The robot currently uses wheeled odometry for position estimation, but due to its dead reckoning nature it experiences ...
1 vote
0 answers
25 views

How to change the robot_base_frame frame based on forward/reverse driving in NAV2

What is the best way to change the robot_base_frame based on the direction you are driving? For a normal car, it has symmetrical behavior when driving forward/backwards so it does not matter much. But ...
0 votes
1 answer
20 views

ros2 repo for rhel not available for aarch64

I am using rhel 9.3 in a virtual machine on a Mac (aarch64), following the instructions to install ROS2 it seems there is no repo available for my architecture (only x86_64). See: http://packages.ros....
0 votes
0 answers
177 views

How to install/use audio-common on ros2 humble

I am trying to use audio-common to capture audio on ros2 humble. I am new to ros, below are few methods I tried with out much success. ** Try 1: ** I tried to install using cmd "sudo apt-get ...
0 votes
1 answer
129 views

FIXED How do i install Xacro for ROS2 humble

I have installed ROS2 Humble and I need to install something called Xacro but i cant find any info anywhere on how and when i try to run ...
0 votes
1 answer
78 views

No module named 'moveit_ros_planning_interface'

Environment Information: ROS 2 Distribution: Humble Operating System: Ubuntu 22.04 Python Version: 3.10.12 MoveIt Installation: ...
0 votes
1 answer
95 views

Multi robot SLAM problem

I'm trying to make two robots work in ROS Galactic with no luck so far. As far as I know the approach is to use namespaces. In order to make this I have namespaced everything (nodes, frames, topics, ...
0 votes
1 answer
21 views

Increasing the obstacle detection range in costmap ROS2 Foxy

I am running Nav2 Foxy version in my self build navigation robot. The whole system works without any issue and now i am trying to tune some parameter in the costmap to increase the obstacle detection ...
0 votes
1 answer
34 views

Help regarding /odom

how do i use /odom as a subscription in python script, i have a controller file in which i have to publish cmd_vel and then move my model. then i have to get the position and velocity back to move ...
0 votes
0 answers
12 views

Problem in spawning URDF file export from solidworks to gazebo with ROS2

I have a problem in spawning the robot which is made with solidworks_urdf_exporter. The robot is able to view in RVIZ but gazebo was crash when i spawned it. I dont know is that the problem with the ...

1
2 3 4 5
57