Questions tagged [ros2]

Use this tag for questions related to ROS (Robot Operating System) version 2.

Filter by
Sorted by
Tagged with
0 votes
1 answer
8 views

"template argument deduction/substitution failed:" error on using rclcpp::Node::create_wall_timer function

Hi, When using the rclcpp::Node::create_wall_timer function with std::bind , I am getting the following error no matching function for call to ‘composition::Talker::create_wall_timer(std::chrono::...
user avatar
0 votes
1 answer
1 view

Travis-CI for ros2cli

I am looking for creating a Travis-CI pipeline for ros2cli repo. Here is my plan so far: Do a docker based pipeline, start from https://github.com/osrf/...
user avatar
0 votes
1 answer
14 views

stack smashing detected combining ROS2 node an gzclient

Hi, I'm trying to create a simple node that listens to Gazebo transport messages and republishes them on ROS2. When I try to run the client/node I get the following error (Backtrace at the end of the ...
user avatar
0 votes
1 answer
5 views

How can i generate ROS2 .idl files?

I am not clear with my application. Maybe I am totally wrong. Is it possible to create .idl files from the ROS2 talker-listener demo ? They are using the standard message type as string. When I run ...
user avatar
0 votes
1 answer
5 views

ROS2 clock stuck within inhereted class

Hello everyone, my clock always stuck at the moment the node start for the following code. I mimic the coding style of the demo talker node. Am I doing anything wrong? ...
user avatar
0 votes
1 answer
1 view

rosbag message instance & ros1_bridge help

Hi, I was working with some tools for ros2 when I came across rosbag and it's message_instace class. On the same topic, I started understanding the ros1_bridge. I'd like to get more detail on how ...
user avatar
0 votes
1 answer
2 views

How to execute local_setup.bash generated in cross-compilation environment?

Hi, I'd like to know how to setup ROS2 environment on arm platforms. I thought simply executing local_setup.bash can get all the things ready. But it doesn't work. ...
user avatar
0 votes
1 answer
112 views

ROS 2 time handling

In ROS 1 my node has code like this in a subscribed message callback: ...
user avatar
0 votes
1 answer
3 views

Specifying package build order with Ament

Is there a way to make Ament build packages in a specific order? I have a package set up similar to how the Common Interfaces package is set up in Ardent (like a metapackage) and the packages get ...
user avatar
0 votes
1 answer
4 views

Unable to start the talker node even after sourcing the local_setup.bash file

I installed ROS2 from the following link Linux Development Setup Even after sourcing the local_setup.bash file i am unable to run ros2 run demo_nodes_cpp talker It says, ros2 : command not found. As ...
user avatar
0 votes
1 answer
56 views

What is the difference between ROS and ROS2?

I know this question has been asked multiple times but i am still unclear about it. ROS : As per my understanding, ROS is a sort of middleware i.e. between the application layer and the low layer ...
user avatar
0 votes
1 answer
3 views

Anybody planning to integrate NVIDIA's Isaac SDK with ROS?

Sorry if this isn't really answers.ros.org is for. Just curious if anybody is planning to implement this. I've had some experience implementing a Keras RL network with a ROS/MAVROS node but I wonder ...
user avatar
0 votes
1 answer
5 views

Can i install ROS2 on the same machine which alrerady has ROS installed?

I worked with ROS for a couple of weeks and now need to upgrade to ROS2 due to its DDS feature. Although i know that ROS2 offers a bridge for ROS1 but just to be sure i want to ask if i can install ...
user avatar
0 votes
1 answer
9 views

Use identical package.xml for ROS1 and ROS2 pkgs

What would be the general package.xml strucutre in order to compile a package for both ROS1(catkin) and ROS2(ament) ? It would be very helpful if gives an example for doing this. Originally posted by ...
user avatar
0 votes
1 answer
28 views

ROS2 - Remote Node Setup

Is it possible using ROS2, to have two nodes on different networks each connected to the Internet, communicate with each other (i.e. publish and subscribe messages and topics)? If so, any information ...
user avatar
0 votes
1 answer
8 views

Can a subscriber and publisher co-exist in a single nodelet?

I have a need to implement a nodelet that subscribes for messages from a topic, process them and then publish to another topic. Can this be done using a single nodelet? Edit: I tried the below demo, ...
user avatar
0 votes
1 answer
2 views

Ros1 bridge for Window10

Hi, anyone knows if it is possible to build and run Ros1 bridge under WIN10? https://github.com/ros2/ros1_bridge provides only a guide how it works under linux Originally posted by fceex on ROS ...
user avatar
0 votes
1 answer
11 views

Implementing SubscriberStatusCallback within ros2

Hi, When reading image_transport source code, ended up at a point where we need to use SubscriberStatusCallback. How do we implement the same on ros2? (LifeCycle nodes?) They do not let enable us to ...
user avatar
0 votes
1 answer
6 views

Do I need to call the batch file everytime i execute a ROS2 command in a new terminal

I am pretty new to ROS2. I have already installed ROS2 on Windows 10 as given in the installation guide. I get an error everytime i try to run a ROS2 command saying "ROS 2 is not recognised as an ...
user avatar
0 votes
1 answer
9 views

SolidWorks to URDF Error

I get the following error when I try to preview and export my CAD to URDF: "The process cannot access the file '_________' because it is being used by another process." Anyone have an idea ...
user avatar
0 votes
1 answer
31 views

failed to create ROS2 process

When I've completed all steps according to the instruction of ROS2 installation, I typed ros2 and next ...
user avatar
0 votes
1 answer
11 views

Autopilots which are compatible with ROS

Where can i find their list please help Originally posted by gadamer on ROS Answers with karma: 11 on 2018-03-18 Post score: -1
user avatar
0 votes
1 answer
1 view

ROS 1 or 2 in ROS Lunar?

ROS2 has been around for a while. I would like to know which distribution is actually using ROS2? I looked at the Lunar distribution website and did not see the specification about its ROS kernel. ...
user avatar
0 votes
1 answer
12 views

ROS2 as shared library in existing application

I would like to integrate ROS2 inside an existing application. Is there a way to build a ROS2 node as shared library? The application is not conductive to turn into a library that can be used inside a ...
user avatar
0 votes
1 answer
12 views

how to make ros cpplint use a relative path for header guard check

Is there a way to force the ccpplint used by ros2 in ament to use a relative path starting at ros2_overylay_ws/src instead of the explicit full path when checking header guards? Originally posted by ...
user avatar
0 votes
1 answer
8 views

Failed to load planning library in MOVEIT motion planning

We are doing project on igus robot arm. We have developed URDF package from SW2URDF extension. After that we are trying to integrate it in moveit setup assistant and generated package for ...
user avatar
0 votes
1 answer
5 views

When will be ROS2 fully realtime compatible?

I am going to switch to ROS2 by realtime reasons. In some projects we need realtime ability because of security reasons.Going to use Linux with RT_PREEMPT kernel patch. So it would be interesting when ...
user avatar
0 votes
1 answer
36 views

How can I build a specific ROS2 package only?

I have pulled all ROS2 repos into my overlay workspace using ...
user avatar
0 votes
1 answer
4 views

What is the status of multiarch support in ROS 1 and/or 2?

Triggered by #q283547. This may not be such a big issue any more with i386 becoming less and less used, but I'm still curious. Can somebody 'in the know' summarise ...
gvdhoorn-rse's user avatar
0 votes
1 answer
24 views

Where is the log file in ROS 2.0

I install ROS 2.0 in my computer, and run the demo programs. But I can not find the log file. Where is the log file in ROS 2.0? I know the default position in ROS 1.0 is ~/.ros. Originally posted by ...
user avatar
0 votes
1 answer
3 views

Prerequisites for ROS

I'm going to start learning ROS but before I start, I'll learn python. What should I learn in python? I don't have any experience in Linux or ubunto. What do I need to know? I found many versions of ...
user avatar
0 votes
1 answer
2 views

ROS2 or ROS alternative or evolution

ROS2 will replace ROS or will the two platforms exist? Originally posted by mag.rod on ROS Answers with karma: 58 on 2018-02-13 Post score: 0
user avatar
0 votes
1 answer
6 views

Dockerized ROS2 development environment

Is there a sandboxed development environment for ROS2? (The/one ROS1 equivalent: rosdocked ) I identified 3 different use cases with potentially different docker Images: ROS2 core package development ...
user avatar
0 votes
1 answer
5 views

Partitions Settings in ROS2

Hello, I ported a RWM for RTI Connext Micro DDS. This DDS does not support partitions. However ROS2 uses partitions for the topics (rt) and other messages in the RMW. https://github.com/ros2/design/...
user avatar
0 votes
2 answers
83 views

catkin_ws/devel/setup.bash: No such file or directory

Each time I open terminal I get this message ...
user avatar
0 votes
2 answers
1 view

catkin_make: catkin_pkg.package not found (anaconda)

I am unable to solve this problem. I tried to run catkin_make command in catkin_ws directory. ...
user avatar
0 votes
1 answer
3 views

SystemC processor in Gazebo/ROS?

I have to work on a drone which will be controlled by a given processor. I have a SystemC version of the processor, and I'd like to use it to simulate the control of the drone. I was wondering if this ...
user avatar
0 votes
1 answer
1 view

package or stack wiki for ROS2

Is there any guideline about how to create 3rd party package or stack wiki for ROS2? For ROS1, contributors are free to create such wiki pages under http://wiki.ros.org (e.g. RealSense ), but not sure ...
user avatar
0 votes
1 answer
30 views

How can I run two ROS2 nodes each in a separate docker container?

I would like to run two ROS2 nodes, let's say listener and talker from the demo_nodes_cpp ...
user avatar
0 votes
1 answer
80 views

Are ROS2 messages guaranteed to be received by a Subscriber in the same order they were published?

According to https://github.com/ros2/ros2/wiki/About-Quality-of-Service-Settings it's possible to vary the QoS settings of History, Depth, Reliability and Durability. However, I can't find any mention ...
user avatar
1 vote
2 answers
297 views

[ros2] ros2 run [package] [executable] cannot find executable

I have a C++ project which consists of a number of packages that I'm migrating from ROS1 to ROS2; under ROS1 with catkin, I could build the project with catkin_make ...
user avatar
0 votes
1 answer
31 views

[ros2/rclcpp] Threadsafety of Node::create_publisher<>

I can't find any documentation of whether or not creating and working with nodes is threadsafe in rclcpp. My specific use case is that I would like to create node A <- In thread 1 rclcpp::spin(A) &...
user avatar
0 votes
1 answer
26 views

`builtin_interfaces` package location

According to the Migration Guide, in ROS2 the types duration and time which were builtin types in ROS 1 have been replaced with normal message definitions and must be used from the builtin_interfaces ...
DLu's user avatar
  • 4,294
0 votes
1 answer
1 view

Ubuntu which command find nothing

In ROS 2.0 tutorial : Using ament to build a custom package: Create an overlay It says that we can use Ubuntu command which to see the path before and after we source ~/ros2_overlay_ws/install/...
user avatar
0 votes
1 answer
9 views

can ament package depend on catkin package

Is there any clean way of having an ament package depend on a catkin package if, say, their workspaces are different but maybe the ament workspace is an overlay on the catkin workspace? The main ...
user avatar
0 votes
1 answer
6 views

ROS2 ament overlay issue with messages

I'm working on adding array parameter support for ROS2, and am having trouble with ament. I've added new types and values here and here. I then sourced ...
automatom's user avatar
  • 5,542
0 votes
1 answer
2 views

Packages available in ros2

Is there a list of available packages for ros2 yet? I'm tasked with evaluating how many of our current dependencies are available in ros2 and haven't been able to find a distribution list as is ...
user avatar
0 votes
2 answers
88 views

ros2 roscd feature

I do not found an equivalent to roscd in ros2. Is it implemented ? Does ament support that feature ? Originally posted by Vincent R on ROS Answers with karma: 365 on 2017-12-11 Post score: 2
user avatar
0 votes
1 answer
2 views

ImportError while installing ROS2 from source

I followed the instructions for installing ROS2 from source (from github wiki). Isolated and non-isolated build: ...
user avatar
0 votes
1 answer
7 views

Minimal ROS2 Python package

How looks the structure and the content of a plain ROS2 library level package? The intent of the package is to encapsulate functionality implemented in Python which can be imported into other ROS2 ...
user avatar