
Can I execute several nodes belong to different workspaces? - ROS ...
2018年2月26日 · Yes, this is possible. They only have to share one ROS master. You have to source the respective Workspace in the terminal where you launch the nodes, though. However, IMO, this is not what you should do. This could easily lead to strange behaviour as it could take, e.g., some stuff from workspace1 in one terminal, and from /opt/ros in a second.
Simple nodes taking up 100% CPU - ROS Answers archive
2015年8月26日 · At some point in time one or multiple random C++ nodes grab 100% CPU, both standard ROS nodes and custom (very simple) ones. Asked by Stephan on 2015-08-27 04:54:26 UTC Will it make any difference if you reduce the message queue length?
Best practice: File/directory structure for multiple larger nodes in ...
2022年3月7日 · If not, what is the purpose of having packages and the ability to have multiple nodes in a package (or: when should nodes be grouped in a package and when not?) Asked by Gijs van Oort on 2022-03-07 04:25:35 UTC
How to communicate ros2 nodes running on different ... - ROS …
2021年5月11日 · Running Ubuntu 20.04 on both the machines and connected different network. Looked into Fast RTPS eprosima documentation, but I'm not a network engineer, so that I'm not able to understand on how to setup the communication between the ROS-2 nodes.
Not able to run multiple matlab ROS nodes simultaneously
2019年3月5日 · Generating standalone C++ ROS nodes which requires your code to be placed in a Simulink model (and you also need the Simulink Coder and/or Embedded Coder toolbox). Then you can run these generated nodes from multiple terminals like any other ROS node.
Python Node connection via network - ROS Answers archive
2021年4月23日 · The agent is a full ROS node (ie: using rospy or roscpp), and it proxies for the rosserial client. Without that agent (or server), rosserial clients cannot connect to a ROS system. I would like to publish/subscribe to a series of ROS topics that a specific machine is offering from another machine, being both in the same network.
Some ROS nodes not communicating remotely through vpn
2020年7月17日 · I have two remote systems connected through Hamachi vpn. System 1 is the master and System 2 is the slave. When I roslaunch some nodes in master, I am able to see the topics through rostopic
Possible to have 2 python nodes using different env? - ROS Answers
2020年5月22日 · ROS Noetic only supports Python 3, so you should not have that problem any more. Alternatively: build Melodic from source if you really want a full ROS environment with Python 3 support through-and-through. I don't think it's currently possible since ROS doesn't like it when you mess with it defaulting to the system wide distro of Python 2.7.
Using multiprocessing shared variable in ROS2 nodes - ROS Answers
2020年10月6日 · I would like to use the multiprocessing sharedmemory between two ros2 nodes. The idea is to pass the get value function handle to many other ros independent classes to use it. If I uncomment the lines in the " init " of MinimalSubscriber, the get_value function works indicating that there is no issues with the shared vairable.
How do ROSJAVA nodes communicate between threads rather
But in ROS JAVA, nodes are executed in different threads rather than different processes, so how can they hava different addresses? I am thinking that different processes can be assigned different port but different threads can not. So it's confusing how nodes communicate via TCP/XMLRPC with different uris or addresses.