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

Ros2 Humble colcon build error

hello i am learning ros2 and i am having problem with colcon build command. i am running arm based ubuntu 22.04 virtual machine on my macbook. here is the error that i am getting on my terminal after ...
Kemal's user avatar
  • 1
0 votes
0 answers
12 views

Nav2 waitng for transform from base_link to odom to become available

I am trying to run Nav2 together with mapping by slam_toolbox. I'm using a raspberry pi 4 to connect my hardware, it's running ROS2 humble and ubuntu server 22.04, everything runs on the raspberry ...
Henk's user avatar
  • 1
0 votes
0 answers
5 views

Correct setup of the URDF and the sensor`s output when using the robot_localization library

I am trying to use the robot_localization library to fuse the pose information from a camera fixed to a wall and an IMU mounted on the robot itself. The robot has a base_link and attached to it are ...
SuperGrandBob's user avatar
0 votes
0 answers
5 views

Moveit with UR and onrobot gripper attached in ros2

I'm trying to attach an onrobot gripper to an ur10e and plan paths using moveit. I followed this tutorial to attach the urdf-file of the onrobot gripper (rg6) found here to the robot. I ran the ...
CNGF's user avatar
  • 1
0 votes
0 answers
5 views

ROS2 Topic/Node Communication Between Container and Local Machine- Ros2:Humble:22.04

Before I explain my problem, I have already made sure of the following: BOTH the container and my machine are on rmw_fastrtps_cpp Both the container and my machine are running the same version of ...
Nick Koenig's user avatar
0 votes
0 answers
5 views

Singularity/apptainer simulation slow down ROS2 Gazebo

Good afternoon, I'm trying to run a Gazebo simulation of a Turtlebot4 as showed here on a singularity container. I tried also to run this example from ROS2 documentation. In the first case the real ...
Paolo's user avatar
  • 11
0 votes
0 answers
4 views

Installation of Kinect SDK in ROS2 Humble to install the driver

I am trying to install the Azure kinect camera driver in ROS2 humble and Ubuntu 22.4, all the information that I can find for the installation of the SDK are for Ubuntu 18.04 and I am not sure if this ...
Omar El Sherbeny's user avatar
0 votes
0 answers
3 views

Unordered point cloud not visible on Rviz2 or not useful for Rtabmap

Does any one have any idea why my unordered point cloud is not visible in Rviz2? Here is my point cloud 2 message data fields. When I gave it to Rtabmap, occupancy grid was not generating. I assume ...
naitik nakrani's user avatar
0 votes
1 answer
9 views

Using ros2 launch to run Python nodes on Windows

I'm running into a problem when I try to use ros2 launch (under Jazzy on Windows 10) to run Python nodes. The Windows shell doesn't understand shebangs, so it isn't able to determine that it should ...
egwhoi's user avatar
  • 11
0 votes
0 answers
9 views

Prismatic joint not moving upwards in Gazebo simulation

I am working on a small forklift URDF model which I am using in Gazebo in conjunction with ROS2 (Jazzy). I am trying to get the fork plate to move upwards by utilizing Gazebo's JointPositionController-...
splendicus's user avatar
0 votes
2 answers
24 views

ROS 2 humble hawksbill's rviz 2 not able to load either STL or DAE files. How can i resolve this?

I'm sharing details for this issue only with the STL file but the same issue is occurring with the DAE file as well. I've checked to make sure that the STL file is located exactly where rviz 2 is ...
ahiyantra's user avatar
0 votes
0 answers
6 views

rosbag2 with time replaced to now

I recorded with rosbag2 some messages without the clock msg. I like now to play the bag file, but I like to get my header timestamps replaced with the current ROS time. Is there an option to do that?
Max's user avatar
  • 111
0 votes
0 answers
3 views

How can I load a ros2 parameter config file independent of the namespace?

I have a setup where I have multiple modules running in the same ros2 network. Therefore, all of there nodes run under a namespace for that module. I now have the problem that my config yaml file won'...
a crazy Minion's user avatar
0 votes
0 answers
9 views

ros2 actions not being passed to UR client from different computers on the same network

We are running a UR3e using the Universal_Robots_ROS2_Driver/ which works perfectly when we launch the driver from the CLI and then run a python node with rclpy.action commands to move the robot. We ...
Kat's user avatar
  • 1
0 votes
1 answer
14 views

Namespacing nav2 stack for multi-robot navigation

What are the current approaches to namespacing the different topics when using the ROS2 nav2 package? I am having issues understanding how to set up Nav2 for multiple robots sharing the same map. I am ...
Ara 's user avatar
  • 1
0 votes
0 answers
12 views

Guide to me learn robotics using ROS

Hey guys I have started learning ros but Im overwhelmed with the amount of things to learn. Should I learn about pid, control systems and kinematics before jumping into nav2 stack ? I’ve got the ...
Robocop's user avatar
0 votes
0 answers
6 views

Regression testing for ROS stack

I have a complex ROS2 (Humble) application to get ready for production. We already unit test each node but that covers 5% of the global application. I want to set up an automatic regression test ...
guidout's user avatar
  • 143
0 votes
1 answer
25 views

How to publish data to a topic different than the one listened to

I want to execute a ROS2 command say: ros2 topic pub --smth /obj std_msgs/String "sometext" from a package node (written in Python) that is execute using ...
Sam's user avatar
  • 103
0 votes
0 answers
7 views

How to get the result of a goal execution on a different machine?

I am using this tool which exposes a server to speech to text service: https://github.com/MERLIN2-ARCH/speech_to_text The command to send a goal is: ...
Sam's user avatar
  • 103
0 votes
0 answers
8 views

Error when running voskros on Windows

So following the below link I have downloaded and build the voskros tool under Ros2 in Windows 10 (Python 3.8): https://github.com/bob-ros2/voskros But when I run the execute command: ...
Sam's user avatar
  • 103
0 votes
0 answers
11 views

How to run multiple tests in parallel with colcon test?

I am currently engaged in a ROS2 project aimed at optimizing our testing processes by enabling concurrent execution of tests within a single package using ...
LastStarDust's user avatar
0 votes
1 answer
24 views

Render Gazebo model in web interface

From the portal https://app.gazebosim.org/fuel I see that 3D previews of the selected model are proposed. Analysing the page source I see that this preview is done with three.js. I therefore wanted to ...
Luigi Gargioni's user avatar
0 votes
0 answers
13 views

Segmentation fault on action result callback

I am trying to write an action server to perform some action asynchronously. When the goal is completed the action server sends ...
Sriram's user avatar
  • 105
0 votes
0 answers
10 views

rqt error in ROS2 Tutorial

I have started working through the ROS2 Tutorials: Using turtlesim, ros2, and rqt When I first execute rqt I get the following error messages: kmu69@nU-Boats:~$ rqt QSocketNotifier: Can only be used ...
Kevin Ulmer's user avatar
0 votes
1 answer
23 views

Behavior-Tree navigator not recognizing a basic condition node

I followed the BT Plugin tutorial (https://docs.nav2.org/plugin_tutorials/docs/writing_new_bt_plugin.html) in order to create this simple C++ BT Condition Node: ...
Jesús 's user avatar
2 votes
1 answer
28 views

How to edit a slam_toolbox map a posteriori

I use the slam_toolbox to build a map (generates a .posegraph, .data, etc), and I later load it with slam_toolbox again to localize on it. Once the map is done, how can I edit it to eg. remove ...
PatoInso's user avatar
  • 124
0 votes
0 answers
12 views

Conversion from RadarScan to RadarTracks message type

I just tried to implement the Autoware Radar Sensing data pipeline and noticed that Autoware requires RadarTracks as input message type. My customer only gets RadarScan messages. Is there already a ...
Sönke's user avatar
  • 1
0 votes
0 answers
5 views

Good resources on multiple custom robot navigation with ROS 2 Foxy and Gazebo

Does anyone have any good resources/compilation of resources that could be helpful in tackling custom robot navigation with ROS 2 Foxy. A lot of the information I have found online are scattered and ...
Ara 's user avatar
  • 1
0 votes
0 answers
12 views

Terminals are unable to communicate through ROS 2

I have been using ROS 2 Humble on Ubuntu 22.04.4 for about 3 months now and haven't had any big issues until now. My issue is quite strange; the terminals on my desktop are unable to communicate with ...
Turtle403's user avatar
0 votes
0 answers
5 views

how do you create a python workspace in moveit from scratch?

I am a beginner, I am trying to setup moveit2 environment to run python code. the website shows the method to create a workspace in C++, how should i alter it for python. should i use ament_python to ...
dhanoosh's user avatar
0 votes
0 answers
15 views

ROS2 C++: Creating multiple sub-nodes with the same parameter names

I have a ROS1 project that I'm trying to port to ROS2, and part of the functionality of that project involved creating multiple node handles that had different namespaces, and then each node handle ...
Eric Foote's user avatar
0 votes
0 answers
8 views

Debugging ROS 2 node with Gazebo in VS Code - Stopping the simulation on breakpoint

I am developing a ROS 2 node for a quadrotor controller. The quadrotor is simulated using Gazebo and it employs the PX4 autopilot. I am using VSCode as the code editor and I am using the ROS extension ...
ric-enr's user avatar
  • 21
0 votes
0 answers
16 views

Realsense Camera with Isaac Ros SLAM quickstart guide: No RealSense devices were found

I am following the isaac ros visual slam guide (ROS2 Humble): https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_visual_slam/isaac_ros_visual_slam/index.html#quickstart and after ...
Shimon Jacobs's user avatar
0 votes
0 answers
13 views

Running ROS2 in docker on OSX - net=host not being able to see nodes on other non docker machines on network

Hi there I am running osrf/ros:jazzy-desktop-full in a docker on OSX(m1) using net=host and have verified that network is working by sending some OSC messages to a python script running in the docker ...
Thor's user avatar
  • 1
0 votes
0 answers
12 views

Only One Time Mapping Issue

I need help about my slam_toolbox mapping issue. I am using ros2 humble distro and slamtec s2 lidar and for mapping slam_toolbox. When ı run my lidar and slam toolbox laser and toolbox working and ...
selamigül's user avatar
0 votes
0 answers
28 views

Why can't the Nav2 MPPI controller keep the controller frequency?

Setup: ROS2 version: Humble Nav2 version: 1.1.15 Hardware: i7-10700TE CPU with 16 GB of RAM I would like to use the Nav 2 MPPI controller to drive a forklift through a warehouse. I created a virtual ...
vLevente's user avatar
0 votes
0 answers
16 views

Memory Increase Investigation in a Large ROS2 Planner Node with Mixed Python and C++ Code

I have developed a substantial ROS2 Planner node containing various navigation algorithms, with some components written in Python and others in C++. Pybind11 is used to call C++ algorithms from the ...
Mujadid Ali's user avatar
0 votes
1 answer
22 views

ROS 2 with Japanese language

I am creating a ROS 2 Network in MATLAB and I want my node names to be in Japanese. Although every time getting error that Japanese Characters are not supported. Is it only MATLAB specific? Or even by ...
Saksham Gupta's user avatar
0 votes
1 answer
17 views

get_parameter() colcon build error `no matching function for call`

I have create a ros2 node which simply declares and get parameter. I am getting the following error. ...
Pratham's user avatar
  • 63
0 votes
0 answers
13 views

Query about Event Camera

So generally when we try to use the camera module to get the image data, it publishers at regular intervals even if there is no change in the environment. But I have recently come across this Event ...
Meta Overflow's user avatar
0 votes
0 answers
35 views

How to debug ROS2 Publisher/Subscriber issue

I am facing the following situation: A publisher that periodically sends a message to topic, queue size is set to 1. A ...
badatmath's user avatar
0 votes
1 answer
19 views

JointTrajectory ROS1 to ROS2 Porting issue

I have a ROS1 code which I am porting to ROS2. In the ROS1 code, "trajectory_msgs::JointTrajectory" is used whose ros2 equivalent is "trajectory_msgs::msg::JointTrajectory"(refer ...
Pratham's user avatar
  • 63
0 votes
0 answers
10 views

moveit::planning_interface::MoveGroupInterface::setWorkspace doesnt work for manipulator?

I wrote a node that performs the logic of moving the manipulator. There is a problem that I use the move_group.setWorkspace() method - it doesn’t work in any way. ...
Вадим Елисеев's user avatar
0 votes
1 answer
20 views

is there a way to the ros1 combined_robot_hw in ros2?

Does ros2 have combined_robot_hw? I have two robot arms; how do I set them up so that the read/write for the two arms happens at the same time? I have seen https://github.com/ros-controls/...
lianghongzhuo's user avatar
0 votes
1 answer
26 views

Is it possible to use ros2_control with Gazebo Harmonic and Humble

The question is in the title. I think gz_ros2_control has to be build from source. But there are no vendor package for Humble. How can the be created? Thanks Michael
MichaelT's user avatar
1 vote
1 answer
24 views

TF2 Question about frame conversion

I modeled the following robot with an urdf file. Thanks to a robot state publisher, i have access to the static tfs between camera_link and base_link. I'm using orb_slam3 library as SLAM algorithm. ...
Kevin_dans_son_garage_du_63's user avatar
0 votes
0 answers
7 views

how to change qos of a node having use_sim_time true and subscribes to clock topic?

When any node made use_sim_time = true than read only param are created ...
Hrithik Verma's user avatar
0 votes
1 answer
11 views

How to pass arguments when including other launch files in ROS2?

In ROS1, you could include other launch files and pass them args with pass_all_args=true. How do you pass args to an included launch file in ROS2? Also, is there a way to do this with the .yaml launch ...
Andrew Jong's user avatar
0 votes
0 answers
6 views

ROS2 Raspberry Pi Docker Can't Connect to Nodes from Dev Machine

I'm running Raspberry Pi OS Lite (64 bit) on my raspbery pi 4, and running the ros humble base docker image on it. However I'm unable to access the nodes from my dev machine (windows 10 running WSL2 ...
FalOn's user avatar
  • 11
0 votes
0 answers
18 views

Ros2 control with nav2 problem

I am using ros2 control to drive a four wheel robot every thing is working well when i move it using teleop keyboard aline but when i am using slam toolbox to generate a map or even used a previously ...
Omar Abdelgwad's user avatar

1
2 3 4 5
69