Questions tagged [nodelet]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

ROS1 loading another plugin from within a nodelet

I have a custom ROS1 nodelet, which is a type of plugin. It compiles and loads fine except internally it is supposed to load another plugin (...
AndyZe's user avatar
  • 863
0 votes
1 answer
47 views

Trouble with creating an image_transport nodelet

I'm working in ROS noetic on ubuntu 20.04 I'm pretty new to the concepts of nodelets but I felt I needed them to more efficiently go through a process of taking uncompressed images and then ...
GShim23's user avatar
0 votes
1 answer
55 views

node crashes when subscribe to /image_raw topic

I am trying to consolidate a few nodes into a single process using nodelets. I have a ObjectDetectionNodelet that has a subscriber that subscribes to the raw image ...
nebula's user avatar
  • 1
0 votes
1 answer
10 views

nodelet: can't add argument to constructor

I am writing a ROS nodelet in which I have a GetInstance() method. I am trying to parse a string argument and it's throwing me the error. Can someone point out how this error can be fixed?? Any help ...
user avatar
0 votes
1 answer
33 views

tf2_ros:.Buffer definition causes crash of nodelet, undefined symbol undefined symbol: _ZTVN7tf2_ros6BufferE

Hi there, I'm building a nodelet with ROS Melodic. The nodelet publishes a pointcloud based on bumper messages, similar to http://wiki.ros.org/kobuki_bumper2pc. I try to adopt this behaviour for a ...
user avatar
0 votes
1 answer
4 views

Is it possible to build and run a cpp nodelet without Catkin or rosbuild?

This is similar to link text but with using Nodelets instead of nodes. Thanks. Originally posted by johnt on ROS Answers with karma: 1 on 2022-01-05 Post score: 0
user avatar
0 votes
1 answer
2 views

A nodelet is blocking another nodelet

Hi, I have a package which contains 2 nodelets and I want to run these 2 nodelets in the same manager. The problem is, I can only run 1 nodelets at a time, when I run both of them only the one which ...
user avatar
0 votes
1 answer
6 views

Nodelet zero-copy doesn't seem to work, source and destination addresses don't match

As the title says, I am trying to essentially "prove" that zero copy between nodelets works and I'm having trouble. I've got a ZeroCopyTestSenderNodelet as follows: ...
user avatar
0 votes
1 answer
24 views

Nodelet crashes when using pcl::VoxelGrid<pcl::PointXYZ>, pcl::SACSegmentation<pcl::PointXYZ>

Goal: Trying to detect and publish all the detected planes (coefficients) from a depth image. Using depth_image_proc to compute the point-cloud. Created a similar ...
user avatar
0 votes
1 answer
11 views

nodelet load process does message (de)serialization?

I've just run a profiler on my nodelets and I've found out an interesting thing. It seems that message (de)serialization is done by the processes launched by ...
Martin Pecka's user avatar
0 votes
1 answer
6 views

Pre-allocation of messages for nodelets

I'm working on an application where I need to remove all memory allocations from the critical path that affects the response time of my system. I'm using nodelets with zero-copy message passing. I ...
user avatar
0 votes
1 answer
13 views

Compose two components into a single process in python

The tutorial describes how to do this in C++. How do I do the same in python? My attempt so far: ...
user avatar
0 votes
1 answer
4 views

Camera Nodelet using GPU memory?

Hello all, This is my first question, so apologize for any formatting mistakes. I developed a simple driver in CPP for a IDS camera using IDS drivers and ROS nodelet. The cameras publish using image ...
user avatar
0 votes
1 answer
4 views

What is the difference between nodes that publishes/subscribes to a ConstPtr and a nodelet that publishes/subscribes to a Const::Ptr?

My understanding is that nodelet's don't make an extra copy of data and therefore are more efficient, However if I am sending a ConstPtr between nodes I shouldn't generate an extra copy of the data ...
user avatar
0 votes
1 answer
2 views

ApproximateTime not working with nodelets

Hi, I have a nodelet that publishes a few topics and another nodelet that subscribes the topics and republishes a custom topic with all the synchronized messages. If I start the two nodelets in two ...
Myzhar's user avatar
  • 198
0 votes
1 answer
2 views

Do a publisher and a subscriber on the same machine incur network load?

Hello all :) I have a few questions regarding ROS network communication. I have a Publisher and a Subscriber living on Machine A, with Machine B as the ROS Master. Do they still send messages over ...
user avatar
0 votes
1 answer
5 views

Issues regarding nodelet_manager and map_server

Hello all, I am facing a startup issue with the nodelet_manager and also with the map_server. I am trying to setup this on a Nvidia Jetson Nano board, though the same setup is working on a Raspberry ...
user avatar
0 votes
1 answer
4 views

Hide topics for "internal use" in nodelet pipeline from external subscribers?

I am considering to set up nodelet-based processing pipeline for pointclouds, including the nodelet-based filters described here http://wiki.ros.org/pcl_ros/Tutorials/filters In order to record log ...
moooeeeep's user avatar
  • 154
0 votes
1 answer
4 views

Could two nodelet_manager do zero-copy?

Hi! I am writing a big project about auto-driving car with my team, and there is lots of module in it. And now we want to change every node to nodelet for boosting our inference speed. I research the ...
user avatar
0 votes
1 answer
9 views

Error when trying to load and execute a custom nodelet

ENV: Ros Melodic on Ubuntu 18.04 Hi, I am trying to launch my custom nodelet after building it. after running a catkin_make without any problem and executing ...
user avatar
0 votes
1 answer
12 views

Nodelet run via a launch file is slower than a nodelet run via a terminal

Hello, I am trying to run the depth_image_proc nodelet to transform a depth and colour image into a rgb pointcloud. The nodelets are working wen i run the separately on multiple terminals, but the ...
user avatar
0 votes
1 answer
6 views

Asynchronous message filter does not subscribe to remapped nodelet topics

I'm using a custom made package that uses nodelets for RGBD image processing. The end of the processing pipeline is a nodelet ...
user avatar
0 votes
1 answer
2 views

Loading nodelets built in different machines to a single manager

Hi, I'm working on a project with Ubuntu 16.04 and kinetic where I have two catkin workspaces: one for building the ...
user avatar
0 votes
1 answer
4 views

How .launch file uses "onInit" and "subscribe" of class(nodelet) in pcl_ros

Hi, I have gone through the pcl_ros source code and understand all things how it is using PCL. I have cleared understanding regarding the pcl_ros - PCL but not understand how .launch file using its &...
user avatar
0 votes
1 answer
19 views

How to load two seperate nodelets in the nodelet manager

Hi, I have two nodelets in separate files(one publishes sensor_msgs::Image and the other subscribes to it) and want to load them in the nodelet manager. ROS does provide a method here but I fail to ...
user avatar
0 votes
1 answer
2 views

Multiple nodelets in the same package

I am trying to create a package that performs multiple computer vision tasks. I want to nodeletize both tasks to take advantage of zero-copying of the images. Working off the examples below I have ...
user avatar
0 votes
1 answer
4 views

[Solved] Nodelet does not seem to initialize correctly

Hello, I'm trying to follow this tutorial on writing nodelets to run on the kobuki using ROS Kinetic and Ubuntu 16.04.4 LTS (Xenial Xerus), but I'm having issues with getting it to run. A nodelet ...
user avatar
0 votes
1 answer
9 views

How can I access NodeHandle w/ Nodelets?

Hi, I have the following Nodelet onInit: ...
user avatar
0 votes
1 answer
6 views

nodelet: error: nullptr was not declared in this scope

I'm trying to install the ros base from source following this link, everyting works fine. Then I download the package nodelet and all of its dependencies packages. ...
user avatar
0 votes
1 answer
5 views

depth_image_proc subscriber

I am trying to use the depth_image_proc node and am unsure how to connect it to my network. I have no experience with a nodelet and cannot seem to remap the topics correctly. Below is my output ...
user avatar
0 votes
1 answer
6 views

Can python subscribe nodelet topic?

I'm new in ROS and I understand that nodelet is using ROS c++ interface. Currently, I am using a library which can publish nodelet topic. Should I have to write ...
user avatar
0 votes
1 answer
11 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
3 answers
5 views

ROS Answers SE migration: Python Nodelet

Is there a way (or even a tutorial) to write nodelet plugins in Python? I have one python node in my image processing pipeline. All the other nodes are roscpp nodelets. The question nodelets in python ...
user avatar
0 votes
1 answer
3 views

Long initialization in nodelet

On page http://wiki.ros.org/nodelet#Threading_Model the following is written: 1.6.1 onInit This method is called on init and should not block or do significant work. If the nodelet initialization ...
user avatar
0 votes
1 answer
1 view

Nodelet error while running turtlebot gazebo on kinetic

i am not able to figure out how install nodelet separately, i tried to look in cmake file as well but got confused. PS i am new to ros. Is there any one who can help? with some defined steps? error ...
user avatar
0 votes
1 answer
3 views

Nodelet crashes at launch

Hi all, I am trying to launch the Novatel gps driver from: here . I built it using catkin_create_pkg + catkin_make and not by catkin_tool. does that matter? It did compile with no errors, but when I ...
user avatar
0 votes
1 answer
14 views

How can I identify processes ROS nodelets are running in?

Is there a way to get the process ID of the process a ROS nodelet is running in (preferably by ROS nodelet name)? This question relates to this quiestion about how to get the process id of a ROS node. ...
user avatar
0 votes
1 answer
6 views

How can I load a yaml rosparam file for a nodelet?

Usually, when writing a launch file and wanting to set many rosparams at once, one would place them in a YAML file which is then loaded for the node like this: <...
user avatar
0 votes
1 answer
3 views

Start a nodelet roscpp (Tegra SGM nodelet)

I have a ros package which builds a image_proc like node for cuda SGM. I have built the package and the nodelet is built. I am not sure how to run it. I have looked through the ros tutorials but there ...
user avatar
0 votes
1 answer
14 views

create a nodelet launch file

I have managed to build a nodelet (tegra_stereo) and it is detected when I run "rospack plugins --attrib=plugin nodelet" ...
user avatar
0 votes
1 answer
3 views

Is topic communcation zero-copy if running multiple nodelets standalone? (instead of a manager)

I am confused by the Nodelet Docs regarding the two possibilities to run a nodelet (1.4 Basic Usage). Apparently, one can either launch one nodelet manager and load multiple nodelets into this ...
user avatar
0 votes
1 answer
8 views

Nodelet performance vs number of instances

Hello, If I launch 2 instances of a nodelet what will be the impact on the performance. Let's say the single instance of the nodelet was running at 30Hz. what will happen if multiple instances of the ...
user avatar
0 votes
1 answer
4 views

Latency between nodelets

Dear all, I have implemented stereo_image_proc with customized algorithms. Now I am trying to measure the latency in the pipeline. I have observed that each nodelet has inconsistency latency ranging ...
user avatar
0 votes
1 answer
4 views

Crash while launching multiple instances of same nodelet

Hello, I am trying to load a nodelet multiple times. But the node is getting crashed once the second instance of the node let started executing. Below snippet describes the way I am loading the ...
user avatar
0 votes
1 answer
10 views

Can launch but not run my Nodelet

Hi everyone, Since few days I try to understand and use Nodelet to dynamically load process from a cpp Node. I read lots of questions and answer from this forum and I have a problem. (Btw thanks to ...
user avatar
0 votes
1 answer
2 views

Multiple instances of nodelets

In my application I am planning to convert a node to a nodelet. Before going ahead with my implementation I want to clarify some doubts. In the application I am currently running multiple instances ...
user avatar
0 votes
1 answer
1 view

Nodelets And Desynchronized Images

Folks, Can too many desynchronized images cause a camera_nodelet to crash? For one of my programs I have a camera_nodelet publishing all my images, but when it crashes, I always get a few "Image ...
user avatar
0 votes
1 answer
7 views

Nodelet Publisher

...
user avatar
0 votes
1 answer
2 views

nodelet: Publisher subscriber

I have seen the basic working of the nodelets and even read the instruction how to port your class to nodelet. But I don't know how to make my publisher subscriber nodes into nodelet. Once of the ...
user avatar
0 votes
1 answer
2 views

Current role nodelets in the ROS ecosystem

I also posted a more technical code-related question about nodelets, but I felt this was a separate question. As somebody who is used to designing image processing pipelines, nodelets make a lot of ...
user avatar