Questions tagged [ros2]

Please ask ROS 2 related questions on https://robotics.stackexchange.com from now on.

Please ask ROS 2 related questions on https://robotics.stackexchange.com from now on. It is now the official Q&A forum for ROS after answers.ros.org has been migrated to it.

The Robot Operating System (ROS) is a set of software libraries and tools that help you build robot applications. From drivers to state-of-the-art algorithms, and with powerful developer tools, ROS has what you need for your next robotics project. And it's all open source.

ROS 2 is a new version of that is currently under development.

Resources:

449 questions
0
votes
2 answers

what is the ROS linting solution

What's the ros way of linting ros code? For ros1 I have found roslint but it is unclear to me if this is the recommended way to lint ros code and if it is still maintained/supported (last commit from three years ago). For ros2 I couldn't find any…
Ezra
  • 1,401
  • 5
  • 15
  • 33
0
votes
2 answers

How to build ROS2 based application from outside of workspace

I created a qt application which can be build by cmake. My application uses some ros2 service so I need to build it with ros. For that I need to put my code under ros2_ws/src/. I want to avoid this thing. I want to build by application from any…
Jai
  • 1,292
  • 4
  • 21
  • 41
0
votes
1 answer

Is multicasting necessary for DDS based communication?

I have a configuration where 3 applications run on 3 different Virtual Machine's and they must communicate via DDS i.e. RTPS protocol. The configuration is as follows : ROS2 based ADAS functions Simulation Tool Python/Tensorflow based machine…
Vishal Rawat
  • 325
  • 1
  • 3
  • 19
0
votes
1 answer

How to check the frequency of the published message in ROS2?

I am integrating ROS2 with an external tool and the message exchange needs to be synchronised. How can i know the frequency of the published message in ROS2 ?
Vishal Rawat
  • 325
  • 1
  • 3
  • 19
0
votes
1 answer

Modifying the maximum string length in ROS2 IDL

I am currently interfacing ROS2 with native RTI DDS Connext through RTI Connector for python. In my ROS2 node, I have a custom message type which uses header messages from std_msgs pack. Now the header has a member string frame_id_. When the idl is…
Vishal Rawat
  • 325
  • 1
  • 3
  • 19
0
votes
0 answers

How to write date to ROS2 from Javascript?

I can register user and login using NodeJS. Next I want to write data to ROS2, I wrote this code refer to here but error occurred. Error: Object type 'Vist' not found in schema. How to write data to ROS2? const registerUser = () => new…
rluisr
  • 341
  • 6
  • 16
0
votes
0 answers

Can't establish a ROS2 network

I'm starting working with ROS2 (currently in alpha7 state). For this I build up a small network with an Raspberry Pi (Raspbian Jessie) connected to an router via LAN and an host PC (Ubuntu Gnome 16.04) connected to the same router via WLAN. Inside…
Alex44
  • 3,597
  • 7
  • 39
  • 56
-1
votes
0 answers

using catkin win Ubuntu Humble with ROS2 Humble

I have Ubuntu 22.04 installed and corresponding to that have ROS Humble installed, I am trying to create a workspace with Catkin but have run into an issue: engineer@vmubuntu:~/catkin_workspace/src$ catkin_init_workspace Command…
ADoshi
  • 1
-1
votes
0 answers

qt.qpa.xcb: could not connect to display :1.0 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found

I have been trying to run Docker container on my laptop. When I run the command inside the container which GUI is required. I get the following error: qt.qpa.xcb: could not connect to display :1.0 qt.qpa.plugin: Could not load the Qt platform plugin…
-1
votes
0 answers

how to run ROS2 RIVZ in docker on macos

i try to run rviz in docker on macos & XQuartz. Rviz doesn't start with many errors. for this, i'll use devcontainers and docker but i get this error : libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver:…
flagadajones
  • 329
  • 3
  • 12
-1
votes
1 answer

How do i convert speed vector into Rall-Pitch-Yaw form to create transform?

In Webots sim i have GPS (https://cyberbotics.com/doc/reference/gps?tab-language=ros) measurements with 2 topics: coords as Point and speed_vector as Vector3 (returns the current GPS speed vector in meters per second). So, I need to create…
Dan
  • 11
  • 1
-1
votes
1 answer

have little problem with webcam publish in ROS2

I'm currently using Ubuntu 20.04, ROS2-foxy what I'm trying to do is publish webcam image with using cv2, cv_bridge and subscribe it. I successfully publish and subscribe the webcam but not in real-time. publish node is publishing webcam every two…
Scholar
  • 1
  • 1
-1
votes
2 answers

How to link c files and header files correctly in CMakeList in ROS2?

I am new to ROS2 and do not have any prior knowledge of Cmake. I have a ROS2 package that looks like this: ├── CMakeLists.txt ├── include │   └── package_name │   ├── bmi088.h │   ├── bmi08x_defs.h │   ├── bmi08x.h │   ├──…
Andrew.M
  • 90
  • 1
  • 7
-1
votes
1 answer

automated testing ros2 on multiple simulation worlds / multiple sceanrios

How do i test ros2 on multiple simulation worlds with diferent scenarios. How do i load the world, scenario, test data. Save the results and compare with expected results, with deviations from expectations.
shrw
  • 1,719
  • 5
  • 27
  • 50
-1
votes
1 answer

ROS2 Network Analysis

I'm currently running a complex system with several dozen ROS2 (mostly C++) nodes operating simultaneously. I'd like to analyze the network performance of the system to identify and log the topics with the highest network footprint. What ROS2 tools…
Max Z
  • 87
  • 1
  • 1
  • 10
1 2 3
29
30