Questions tagged [ros-bouncy]

The tag has no usage guidance.

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

Is this necessry to learn ros for ros 2?

For understanding of ROS2 real time. Is need to learn ROS . Originally posted by prajyot on ROS Answers with karma: 16 on 2019-07-02 Post score: 0
user avatar
0 votes
1 answer
4 views

How to install ROS2 Bouncy from source

I would like to install ROS2 Bouncy from source on my Ubuntu 16.04 machine. I've been following these install instructions: https://index.ros.org/doc/ros2/Installation/Linux-Development-Setup and only ...
user avatar
0 votes
1 answer
16 views

ROS2: Running subscriber_lambda and publisher_lambda on different machines (in the same network)

Hello, I have two machines connected via ethernet cable, configured to be in the same network and they can ping each other successfully. What I would like to know is what would be the necessary steps ...
user avatar
0 votes
1 answer
3 views

are all the messages present in ros supported in ros2

When i saw the list of messages in ros , it alot ,. But in ros2 , it is very less. I had a doubt whether all the messages support is present in ros2 . If not when are they planning to support them ...
user avatar
0 votes
1 answer
90 views

[Ros2] Creating Multiple nodes using class inheritance

Hi, I was wondering if you had an example on how to create multiple Nodes using the class inheritance. In ros, I created multiple nodes using ros::NodeHandle;. I ...
user avatar
0 votes
1 answer
4 views

colcon builds "in-source"

Opposed to the documentation provided here colcon build creates the output directories "log", "install" and "build" in place. ...
user avatar
0 votes
1 answer
2 views

Select the desired port

how to set a specific port (Ethernet) for publishing topics. I have 2 Ethernet ports, I want only one port to publish topics. Originally posted by D0l0RES on ROS Answers with karma: 23 on 2018-12-27 ...
user avatar
0 votes
2 answers
32 views

ROS2 ROS_ERROR_STREAM equivalent

Is there an equivalent to the stream log functions in ROS1? I only found the RCLCPP_ERROR which is an equivalent for the ROS_ERROR. Originally posted by Flautz on ROS Answers with karma: 3 on 2018-12-...
user avatar
0 votes
1 answer
94 views

Dictionary item in yaml in ros2

Hi , I am aware of simple parameters defining in yaml in ros2 but seeking some help to convert below into ros2 yaml . Please let me know if anyone had handled such type of yaml. ...
user avatar
0 votes
1 answer
12 views

Ament/Colcon: Share variable between package CMakeLists

I want to share a filepath variable between the CMakeLists of two packages. When I set in the first CMakeLists a variable using ...
user avatar
0 votes
2 answers
39 views

lookupTransform - builtin_interfaces/Time to tf2::TimePoint?

I'd like to use the header stamp in a call to lookupTransform and assume that a conversion would happen automatically, but I'm getting no matching function call ...
Lucas Walter's user avatar
  • 3,347
0 votes
1 answer
4 views

ROS2- passing arguments with launch.py file not working

Hi Folks, I am trying to launch nodes with launch.py in ros2. Nodes are getting launched but I am facing issue with arguments passing. My Code snippet: ...
user avatar
0 votes
1 answer
9 views

How to run a ros publisher without a while loop?

I am writing tkinter python program for turning on and off the publisher. I need to turn on and off the publisher using a button. If am writing using while loop, the entire gui freezes, I am unable to ...
user avatar
0 votes
1 answer
32 views

ROS2 Package using both C++ and Python

How can I configure a ROS2 package that contains both C++ and python code for installation? I am aware of a previous question here, but the answer does not provide an example. I tried following the ...
user avatar
0 votes
1 answer
56 views

What is the correct layout of Python code when using --symlink-install in ROS 2?

Hi all, I'm trying to write a Python node in ROS 2. Here is my package directory layout (assume pkgname is my ROS package's name): ...
user avatar
0 votes
1 answer
5 views

ROS2 Colcon Option List

Dear all, is there any place where I can find a detailed list of Colcon options? I usually go to different websites to find different options. In particular I'm looking for any option to change the ...
user avatar
0 votes
1 answer
20 views

ros2 run ImportError

Hi! I am working with ROS2 Bouncy, using colcon to build. ROS2 build is successful. I create new package using Python3.5 I write setup.py, package.xml,setup.cfg and colcon build successful.But I run ...
user avatar
0 votes
1 answer
3 views

[ROS2] how to keep messages from leaving the machine

I'm enjoying ROS2 so far, but one major issue is that the UDP broadcasting slams the network when sending things like images/pointclouds. Most of the time I'm running on one machine and don't want ...
user avatar
0 votes
1 answer
12 views

ROS Answers SE migration: ROS2 Linking

I'm having trouble linking libraries in ROS2. I have a simple example posted here I have two packages. awesome_library defines a C++ class in a library and ...
DLu's user avatar
  • 4,294
0 votes
1 answer
211 views

[ROS2] What's the best way to wait for a new message?

I'm trying to sync up some behaviors and some data while avoiding callback hell. What's a good way to effectively wait for a new data on a subscription in a synchronous manner? Here's the high level ...
user avatar
0 votes
2 answers
76 views

Check if ROS2 Parameters Exist with RCLCPP

In ROS1 there was the hasParam method. In ROS2, there doesn't seem to be a way to check if a parameter exists directly without attempting to get the value of the parameter. A) Is there a way to check ...
DLu's user avatar
  • 4,294
0 votes
1 answer
34 views

ros2 include a launch file from a launch file

I see https://github.com/ros2/launch/blob/master/launch/doc/source/architecture.rst#id23 :class:launch.actions.IncludeLaunchDescription This action will include ...
Lucas Walter's user avatar
  • 3,347
0 votes
2 answers
98 views

Ignore package in colcon but not catkin?

catkin ignores packages when they have COLCON_IGNORE in them. (https://github.com/ros-infrastructure/catkin_pkg/blob/35137d5522fc4b4140bf24d4d35373a1ff74e4e9/src/catkin_pkg/packages.py#L47) I'd like ...
Lucas Walter's user avatar
  • 3,347
0 votes
1 answer
13 views

ROS2 Custom Messages Not Found

While trying to run my python script, I get ModuleNotFoundError: No module named 'lightring_msgs'. I know the message types are being generated; the package files ...
user avatar
0 votes
1 answer
2 views

How can I "build" a ROS2 Python package in the ROS2 build farm?

Is/Are there (a) tutorial(s) how to integrate ROS2 packages (Python) into the ROS2 build farm? Originally posted by thinwybk on ROS Answers with karma: 468 on 2018-10-20 Post score: 0
user avatar
1 vote
2 answers
97 views

ROS Answers SE migration: ros2 latching

I can't get message latching (transient local durability) to work in Bouncy. Here's my Python test case: ...
Clyde McQueen's user avatar
0 votes
1 answer
219 views

ros2 launch packages path

I'm quite confused by how ROS2 manages packages and package locations. In ROS1, I would compile my nodes with a CMAKE_INSTALL_PREFIX like ...
skadge's user avatar
  • 82
0 votes
1 answer
7 views

ROS 2 Bouncy : Node, Log and Classes best practice

Hello I am working with ROS 2 Bouncy and was wondering what is the best practice to log stuff in classes that are instantiated in a Node ? I know it's now recommended to inherit the ...
user avatar
0 votes
1 answer
36 views

ROS 2 Bouncy get_parameter

Hi, I'm using ROS 2 Bouncy and I'm trying to get parameters from a yaml file. I checked a few ways to get parameters and I found one that works but takes 3 lines for each parameter : ...
user avatar
0 votes
2 answers
201 views

[ROS2 LAUNCH] How to correctly create a Lifecycle launch file

Hi, I'm trying to write a Python launch file that handles the state transitions of my lifecycle node. In particular I would like to launch a "Robot State Publisher" node when my node reaches ...
Myzhar's user avatar
  • 198
0 votes
1 answer
66 views

[ROS2 YAML] Config file without node name

Is it possible to write a YAML parameter file without specifying the ROS2 node name? The current format for a YAML file is the following: ...
Myzhar's user avatar
  • 198
0 votes
1 answer
131 views

Ros 2 command line service call with array of custom msg

Hi, I'm using ROS 2 Bouncy on Ubuntu 18 and I'm trying to call a service from command line. I can't seem to formulate a good srv while using the command line and get an error : ...
user avatar
0 votes
1 answer
18 views

TransformBroadcaster as member of ROS2 Node

What is the proper way to create a tf2_ros::TransformBroadcaster inside a rclcpp::Node? I am trying to create a ...
Christian Rauch's user avatar
0 votes
1 answer
22 views

Is pluginlib working on ROS2?

I've been fighting to port over some plugins to ROS2, and everything builds fine, but the plugins aren't discovered at runtime. Before I dig into this further, I'm wondering if this is expected to be ...
user avatar
0 votes
1 answer
43 views

dll not found error when running ROS2 examples, any node, publish from command line on Windows 10

Hi, I am setting up ROS2 Bouncy on Windows10 and already encountered the following problem while compiling from source: ROS2 fails to build many packages on Windows 10, which I solved. EDIT: I found ...
user avatar
0 votes
3 answers
631 views

ROS2 : How to call a service from the callback function of a subscriber?

Hello, This question is actually related to : https://answers.ros.org/question/301872/ros2-service-spin_until_future_complete-blocking-when-calling-a-service-that-calls-another-service/ But I wrote a ...
user avatar
0 votes
1 answer
19 views

How to document ROS2 C++ package source code?

What's the current best practice to document ROS2 (Bouncy, colcon build) C++ package source code? (According to ros2doc templates it seems like the ...
user avatar
0 votes
1 answer
3 views

How to document ROS2 Python package source code?

What's the current best practice to document the source code of a ROS2 (Bouncy, colcon build) Python package? Originally posted by thinwybk on ROS Answers with ...
user avatar
0 votes
1 answer
4 views

How do you use CallbackGroups as a replacement for CallbackQueues in ROS2?

I am looking at porting tf2_ros/include/message_filter.h from ROS1 to ROS2 (see issue: https://github.com/ros2/geometry2/issues/59 2). The existing tf2 message_filter.h relies on using the ...
user avatar
0 votes
2 answers
3 views

Setting project name "debug_msgs" occurs error while "mydebug_msgs" is ok

when I build my msg project whose name is "debug_msgs" with ros2 bouncy, I get error as follow: command: colcon build output: ...
user avatar
0 votes
1 answer
10 views

Is rosbag available on ROS2 and how to benchmark it?

Hello everyone, I'm using ROS2 that I obtained from here: https://github.com/ros2/ros2/wiki/Linux-Development-Setup. Running it on Ubuntu 16.04 with kernel 4.16.7. I am tasked with benchmarking ...
user avatar
0 votes
1 answer
17 views

Can ROS2 run on Raspberry Pi Zero W

I'm curious what the potential is for ROS2 to run on the Raspberry Pi Zero W. I have installed Arch on the pi zero. Does anyone know if these instructions would work? https://github.com/ros2-for-arm/...
user avatar
0 votes
1 answer
7 views

rosidl on archlinuxarm

I'm trying to build ROS2 on Arch Linux for Arm. The rosidl packages fail to build. Has anyone had experience with this? Here is my error message ...
user avatar
0 votes
1 answer
64 views

Ros1_Bridge: Custom message pairing failed if those messages have non- identical names in ros1 and ros2

I am developing simple publisher- subscriber with custom messages. The name of custom message file is 'EgoData.msg' in ROS1 and 'Size.msg' in ROS2 workspace. I have done the mapping in yaml file as ...
user avatar
0 votes
1 answer
15 views

ROS Answers SE migration: ROS2 version

How can I know which version of ROS2 have i installed ? Ardent or Bouncy Bolson ? Originally posted by aks on ROS Answers with karma: 667 on 2018-07-27 Post score: 1
user avatar
0 votes
1 answer
1 view

ROS2 and Rviz : only displays values with a radius < 1 meter around the laser

Hello, I'm using ROS2 bouncy and Rviz, both built from source on Ubuntu 18.04 and I'm trying to display the laser scan on Rviz, but it only shows the value that are on a 1 meter radius around the ...
user avatar
0 votes
2 answers
22 views

[ros2cli] Cannot get the lifecycle state of lifecycle demo nodes?

I tried to get the lifecycle of the lifecycle demo node lifecycle_listener but got Node not found. In terminal A: ...
user avatar
0 votes
3 answers
5 views

ROS2 on Minimal Ubuntu?

Is it possible to run ROS2 on Minimal Ubuntu? Originally posted by thinwybk on ROS Answers with karma: 468 on 2018-07-12 Post score: 0
user avatar
0 votes
1 answer
5 views

[ros2cli] How can I get a list of lifecycle nodes from packages?

As far as I know there is no ros2cli command which lists lifecycle nodes from ROS2 packages installed. Do you plan to add something like that? Is there some ...
user avatar
0 votes
1 answer
13 views

[ros2cli] How can I get launch files?

Can I get a list of all launch files (an equivalent to what ros2 pkg executables does for all executables)? Originally posted by thinwybk on ROS Answers with karma:...
user avatar