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
1 answer

ROS2 C++ - How to make a subscriber subscribe to two topics synchronously

I want to make a subscriber subscribe to two topics synchronously. I am following through the tutorial implementing a publisher and a subscriber in ROS2 C++ (in Linux Ubuntu). The tutorial only shows how to let a subscriber subscribe 1 topic, but…
0
votes
1 answer

Error installing MoveIt 2 from source on Ubuntu 20.04 VM

I'm trying to get involved in open source and also am quite interested in robotics, so I thought about contributing to MoveIt 2. As a first step, I'm installing MoveIt 2 from source on my Ubuntu 20.04 VM in VirtualBox. I've run through all the…
Rishi
  • 1
  • 2
0
votes
1 answer

How to send ros2 messages from a websocket server to connected clients in tornado

I have a ros2 publisher script that sends custom messages from ros2 nodes. What I need to do is to have a subscriber (which is also my websocket server) to listen to the message that the pulisher sends then convert it to a dictionary and send it as…
themozel
  • 312
  • 3
  • 11
0
votes
0 answers

ROS2 node without colcon build

I would like to run a ros2 Windows node in another application that cannot be built with Colcon. Is it possible to develop a ROS2 node using only references to the library and header files without the colcon build process? Any help in this regard is…
SS7117
  • 33
  • 5
0
votes
1 answer

Get the data from the thread

Let me give you a bigger picture of the problem... I am designing a ROS2-based system with multiple ROS2 nodes each containing a wrapper part (ROS2 layer) and driver/module part where my low-level logic is implemented. The wrapper part is using some…
0
votes
2 answers

Build ROS2 workspace in docker container -- cannot find ament_cmake

I have a ROS2 workspace project like this: ├── build-in-docker ├── docker │   ├── build │   ├── Dockerfile │   └── env └── src docker/env has environment…
zhoudingjiang
  • 73
  • 1
  • 11
0
votes
0 answers

Implement SBPL_lattice_planner in ROS2 Foxy

When I implement SBPL so has error:
0
votes
1 answer

micro-ROS command line explanation - ros2 - RTOS - micro-ROS Tutorials

ros2 run micro_ros_setup create_firmware_ws.sh nuttx olimex-stm32-e407 Can someone please explain me this command line! where will I get expalantions about the command lines? Documentation? From above command line, I want to use esp32 or stm32f4…
0
votes
1 answer

eigen3 cmake error within a docker container

I am trying to build a ROS2 package, and I get this error CMake Error at /opt/ros/foxy/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:66 (message): ament_target_dependencies() the passed package name 'Eigen3::Eigen'…
aamir
  • 21
  • 4
0
votes
1 answer

Building assimp on Win32 (Visual Studio 2019 x86)

I'm trying to build ROS2 for Win32 and one of the packages imports and builds assimp. Currently I'm having issues with files in the contrib/unzip folder with a lot of syntax errors (see build output below). I guess I need to set the correct compiler…
ItsMeTheBee
  • 353
  • 2
  • 20
0
votes
0 answers

clang linker error on build.make:88 and undefined reference to 'Unwind_GetIPInfo'

ROS2 rolling installation process on Raspberry Pi Model 3B running Raspbian buster v10 stderr: osrf_testing_tools_cpp /usr/bin/ld: ../../src/memory_tools/libmemory_tools.so: undefined reference to `_Unwind_GetIPInfo' clang: error: linker command…
0
votes
1 answer

ROS2 python node location

I want to create a python ros2 node that reads some data from a csv file and then use it, this csv file is put in the dirctory :workspace/src// beside the ros2 python node when i run this node from this directory it works fine ,…
Ali Hamdy
  • 63
  • 4
0
votes
1 answer

Issues with having both subscriber and publisher in the same node

Currently, I have a node that has to have both the subscriber and publisher. However, I am having certain errors when I catkin build. #include #include #include #include…
Selva
  • 3
  • 1
0
votes
1 answer

Is ROS2 fully functional on windows?

I am aware that ROS can partially be used in windows or mac. But can the newer variant, ROS2, be used in windows fully?
tolearntoseek
  • 55
  • 1
  • 5
0
votes
2 answers

How to access webcam using OpenCV (Python) in LXC container

I am running Ubuntu 18.04 on the host and Ubuntu 20.04 inside LXC container. My goal is to run ROS2 (which requires Ubuntu 20.04) inside an LXC container, then use it to connect to two dynamixel servo motors and a USB Logitech webcam. I have also…
Hano
  • 1
  • 1
  • 5