Questions tagged [nodes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
57 views

How do ROS2 nodes find each other on the same computer?

I always assumed ROS2 nodes used sockets to communicate but it looks like they might also use shared memory or pipes. Regardless I'm curious how ROS2 nodes find each other? Lets suppose each node ...
FourierFlux's user avatar
0 votes
0 answers
66 views

Creating node with multiple subscribers working on shared data

I'm working with ROS2. Suppose I have a state estimator taking in multiple data forms at different rates, ex IMU and GPS or something similar. My state estimator will be a single node and this node ...
FourierFlux's user avatar
0 votes
1 answer
14 views

Cannot launch node of type [motoman_driver/robot_state]: cannot locate node of type [robot_state] in package [motoman_driver]

Hello, We are currently working on establishing connection with a Yaskawa HC10DT robot using ROS Industrial. We have all the packages listed here https://github.com/ros-industrial/motoman and all ROS ...
user avatar
0 votes
1 answer
538 views

ROS2, No executable found

Hi everyone, I have successfully created few ROS2 nodes (one for a publisher with customer message, the custom message one, one responsible for debugging, one for the subscriber). I have repeated the ...
user avatar
0 votes
1 answer
74 views

What is the ROS way to start/pause/shutdown nodes from within other nodes?

Iam looking for the best practice model to control nodes start/pause/shutdown with c++. Use-cases: Separating move_base, navigation, localization and manipulation. Switching between localization ...
user avatar
0 votes
1 answer
5 views

Bag file recorded from ROS node

Hello. I have a simple question about if its possible to record topics from within a rosnode. The goal is to autonomously have a robot collecting data for a period of time given specific locations of ...
user avatar
0 votes
2 answers
3 views

Include methods from another node header (C++)

I have a node with some methods declared in /include/node_1.h and defined in /src/node_1.cpp. Now, I want to include that header ...
user avatar
0 votes
2 answers
5 views

Nodelets general confusion

Hello, I am trying to understand the whole nodelet concept, since there are bits here and there all over forums but I cannot find one whole info about it. What I know so far: Why use nodelets: zero-...
user avatar
0 votes
1 answer
27 views

Multiple Service Calls in ROS2

I have a sensor library that I am using ROS2 services to make function calls to that library. Is there a way to have multiple services in one node or do I need to make a new node for each individual ...
user avatar
0 votes
1 answer
4 views

Output of ros2 node info: what are these publishers/subscribers?

I ran the following command, trying to find out more about my /gazebo node: ...
user avatar
0 votes
1 answer
2 views

Unsure about project nodes and communication between nodes

Hi! I'm pretty new to ROS (Robot Operating System). I've done quite a few tutorials and I'm starting to get a grasp of it. Right now, I'm looking to build my own little project to really get a better ...
user avatar
0 votes
1 answer
5 views

The environment variable ROS_HOSTNAME

I have two nodes which communicate with each other with the help of the master. Each node has a specific host name, and this value is stored in node environment variable ROS_HOSTNAME. I want to learn ...
user avatar
0 votes
1 answer
4 views

Namespaces of Nodes

At first I executed the command roscore to activate name service and XMLRPC mechanism for node communation. Then, I launched two turtlesim nodes for turtle ...
user avatar
0 votes
1 answer
2 views

Creating msg messages

Can you please instructions with creating your package from scratch, or rather the description of what you need to specify in CMakeList.txt and package.xml. I understood how to create my overlay and ...
user avatar
0 votes
1 answer
1 view

Is the 'x' in ConstPtr& x in callback functions specific to message types?

Hi I'm new to ROS and I'm an amateur when it comes to pointers. I just did the subscriber and publisher tutorials and I am currently experimenting and converting them into classes for future use. I ...
user avatar
0 votes
1 answer
1 view

Nodes not deactivated when process is ended

What I am doing I am running the ROS Tutorial Writing a Publisher (python). What I am using Ubuntu 16.04 ROS kinetic Python 2.7 What I want to know I built the code using ...
user avatar
0 votes
1 answer
23 views

Parallel execution of same ROS nodes

Hi all, What I am trying to achieve is: I have one ROS node which is publishing one info on a topic and another subscriber node subscribed on that topic to process the info. I am launching both of ...
user avatar
0 votes
1 answer
3 views

Calling a (Gazebo) service parallelly from multiple nodes/ Remapping a (Gazebo) service to a particular namespace

I have a multi robot setting (with different namespaces which work totally independent of each other, in the same empty_world) in Gazebo. I have to reset the manipulated objects after a certain time ...
user avatar
0 votes
1 answer
243 views

WARNING: ROS_MASTER_URI [http://localhost:11311] host is not set to this machine' and nodes 'Couldn’t find an AF_INET address for [localhost]'

Hi, I have been running ros nodes in my machine but suddenly I got these erros every time when I'm running nodes: Master: ...
user avatar
0 votes
1 answer
1 view

Two nodes subscribed to each other that should count do not start unless I force a publisher

Here is the code for the first node called /first which is subscribed to /second_channel and publishes to /first_channel ...
user avatar
0 votes
1 answer
6 views

Syntax of rqt_graph filters

I recently noticed, that you can use a wildcard character in rqt_graph to select node or topic names. For example "/imu*" would only show all nodes/topics which start with "/imu". ...
user avatar
0 votes
1 answer
4 views

running different nodes from a shell script

I have different nodes from different packages and I want to run it from a single shell script. The description is given below: I have 3 different packages and each package contains 3 different nodes <...
user avatar
0 votes
1 answer
20 views

rosrun vs roslaunch to run a single node, any difference?

Hi everyone! Well, in my understanding launch files are meant to launch a node or so many nodes at a time and allow setting parameters dynamically , remapping and ...
user avatar
0 votes
1 answer
1 view

ROS Answers SE migration: topic question

ubuntu 16.04 ROS kinetic as per http://wiki.ros.org/ROS/Tutorials/UnderstandingTopics, i have listed my verbose details on topics in use rn: ...
user avatar
0 votes
1 answer
2 views

Problem at timing in communicating nodes?

Hello ROS community, I'm really newbie to ROS and what I am trying to do is to make an architecture in which there is a Simulator that compute his trajectory in every moment and a Controller that get ...
user avatar
0 votes
1 answer
7 views

How to use ROS nodes/packages from the internet?

I'm working on my first ROS project and now that i've built a working robot that does some simple things i'd like to start incorporating more open source tools into my robot. I'd like to know how to ...
user avatar
0 votes
1 answer
3 views

Cancelling callbacks

Hello, I am very new to ROS and am trying to make the system work in a very specific way. I want to create a Publisher/Service that will send multiple instructions that would be read by other nodes. ...
user avatar
0 votes
1 answer
2 views

Unable to find the executable

I am trying a run a node on the terminal using the command rosrun skeleton_listener skelCord.cpp (I got the code skelCord.cpp from this link http://answers.ros.org/question/230327/tf-listener-for-...
user avatar
0 votes
1 answer
3 views

[rosrun] Couldn't find executable named the listener (C++ program)

I am basically trying to run a listener that listens to the video feed of an AR.Drone through the topics being published by the ardrone_autonomy node on a ROS ...
user avatar
0 votes
1 answer
1 view

Downloaded packages don't work

Dear all, for the outstep i have to clarify that I'm new to ROS and C++. I installed my ROS Indigo on UBUNTU 14.04 as it is done in the tutorials. (full-desktop) and afterwards i added the path of the ...
user avatar
0 votes
1 answer
1 view

Namspace (.h) between packages

Folks, I created a my_gr_namespace.(h/cpp) in Package_1. The namespace works well for every single node running under Package_1. Now, I am trying to use it in another package (Package_2), but it won't ...
user avatar
0 votes
2 answers
2 views

Are there Windows Compatible ROS nodes?

I am trying to write a program in Windows that is able to send packets to a ROS node. It does not necessarily have to be a Windows node, just a program that runs on a Windows machine and can send ROS (...
user avatar
0 votes
1 answer
2 views

How do I communicate between 3 nodes ? (Arduino/QT/Sensors)

I want to establish communication between an IMU sensor ( https://github.com/udmamrl/SpartonCompassIMU/blob/master/src/SpartonCompassIMU.py ) and Arduino+QT. How should I proceed ? I am new to ROS and ...
user avatar
0 votes
1 answer
5 views

Reusing nodes by renaming them

I'm currently working on a small project that involves the mux from the topic_tools package. The question isn't directly related ...
user avatar
0 votes
1 answer
5 views

ROS two different nodes in the same package

Hello. My package name is tum_ardrone. Inside the src file I have Autopilot,StateEstimation and UINode. I Created Autopilot2,StateEstimation2 and UINode2 to run two robots. When I run the launch file: ...
user avatar
0 votes
1 answer
2 views

identical ros nodes

Hello, I am trying to launch a ROS node per ssh on a Ubuntu computer where the same node (different executable) is being launched at the same time (by a friend). I am doing this from a different user ...
user avatar
0 votes
1 answer
10 views

rosmaster dies all nodes need to restart

I am finding that if the the rosmaster node is rebooted on one machine and rosmaster is restarted I am finding I am having to restart all the other nodes on the remaining computer. Is their some how a ...
user avatar
0 votes
1 answer
2 views

reading a file and publishing data to topic

data in the file is of type int [ ] = {1,2,3,4,5,6,7,8,9,10} Code for Node_1 is as follows: ...
user avatar
0 votes
1 answer
1 view

Problems building a node which depends on another node

Hopefully someone can help, I've been trying to get this to work for quite a while now. I have a custom node which provides services and messages called dp_ptu47 (it's a pan tilt unit). I'm trying to ...
user avatar
0 votes
1 answer
8 views

Making a desktop user program to roslaunch and kill nodes

Hello everyone. I have this problem about making a desktop user program. I hope you can help me: I would like to create a program for users which could launch different .launch files depending on ...
user avatar
0 votes
1 answer
9 views

Using MoveGroup in different nodes (moveit!)

Hi!, Right now im working with a custom robot and moveit!, and what Im trying to do, is to generate some services nodes, and use them to move my robot using moveit!. The problem is that for ...
user avatar
0 votes
1 answer
1 view

shifting existing sorce code to ros

I have not used ROS before and have gone through beginner tutorials on ROS. I want to create two nodes: one on the robot's processor and one on a remote computer connected on the same network. In SSH, ...
user avatar
0 votes
1 answer
1 view

ros tutorial file not found

I am currently doing the following ros tutorial on understanding nodes (http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes) For this tutorial it is using a lightweight simulator ...
user avatar
0 votes
1 answer
7 views

My node of ROS keeps dying. Subscribe a gazebo topic and publish in a ros topic

Hi, I have created a node in ROS so I can subscribe a topic of gazebo, analyse the information and then use it. I have a callback function for the subscription and I put the information in a certain ...
user avatar
0 votes
1 answer
1 view

Subscriber callback function not called when trying to capture data using Kinect [Solved]

This is my current code. It's a node, and I use rosrun to execute/run it. ...
user avatar
0 votes
1 answer
3 views

How to port the package from one distro to another?

I got a package here which solves my problem but the package was built in Fuerte. Is it possible to port it to Indigo, if so how can i do it ? Originally posted by Kishore Kumar on ROS Answers with ...
user avatar
0 votes
1 answer
4 views

Сonvert the pointcloud data to laserscan

Hello, ROS Community! I have a problem in understanding of the nodes from launch file. kinect_to_laser.launch: ...
user avatar
0 votes
1 answer
2 views

Prevent topics in custom node from being prefixed by node name

I wrote out a custom PID position controller for a turtlebot. Basically, it sends velocity to command for the straight-line path to a target. I'm having an annoying issue, though. Every topic that the ...
user avatar
0 votes
1 answer
1 view

Node dependencies

Hello, Is there a simple way to create a dependency graph between ROS nodes? I would like to build a graph-like data structure where the presence of an edge between two nodes of the graph (...
user avatar
0 votes
1 answer
3 views

ROS Nodes and topics - are nodes really decoupled?

http://wiki.ros.org/ROS/Technical%20Overview Note how the two sides are decoupled. All the hokuyo_node node does is publish scans, without knowledge of whether anyone is subscribed. All the rviz does ...
user avatar