ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2022-09-11 21:35:11 -0500 | commented answer | Best way to integrate ndarray into ros2 @waspinator, Sorry, my work pulled me away from this particular path, so I have yet to actually dive into this properly |
2022-05-05 22:37:13 -0500 | marked best answer | Best way to integrate ndarray into ros2 Hello, I have a numpy ndarray, and when I try and publish it, I get this error:
Searching around, I see references to numpy in ros1, and also in the ros2 Thank you for your time! |
2022-05-05 22:36:53 -0500 | commented answer | Best way to integrate ndarray into ros2 Hey , thank you for your reply, and sorry for my late one! There is a bit to unpack with these, and we we are still boun |
2022-05-04 18:40:05 -0500 | received badge | ● Famous Question (source) |
2022-04-13 07:58:02 -0500 | received badge | ● Notable Question (source) |
2022-04-06 02:32:09 -0500 | received badge | ● Popular Question (source) |
2022-04-03 22:05:13 -0500 | asked a question | Best way to integrate ndarray into ros2 Best way to integrate ndarray into ros2 Hello, I have a numpy ndarray, and when I try and publish it, I get this error: |
2022-03-30 01:57:32 -0500 | received badge | ● Enthusiast |
2022-03-08 02:38:31 -0500 | marked best answer | Best Practices for Publishing Lots of Related Data I am developing a system using ROS2 Foxy on Ubuntu 20.04 that interfaces with a Allen Bradley ControlLogix PLC, speaking EtherNet/IP. We pull data from it at 20Hz, and there is a large amount of information that we are pulling. The code is mostly Python, but there are a few C++ components. We currently capture this data and publish it on a topic as yaml serialised String, as the structure of the data made it prohibitive to build a Message file. The format has become fairly stable, and there is a need/wish to allow remapping of topics to swap in some of the data for testing etc. What is the best practice for this? If I make a single topic with a custom message format, the code will be less portable, and there wil be a lot of data being transported unnecessarily. If I go with individual topics, there will be potentially hundreds. My last thought is to go with an inbetween solution, and publish groups of related data. However, I believe the best practice is to avoid custom messages when you can, and this could potentially require many custom messages to group different things. There are many different pieces of equipment attached to the PLC. I've come across some other posts "Many Topics" was the most relevant. However, the tradeoffs mentioned by the answer there focus on timestamping, rather than broader best practice. What kind of tradeoff makes the most sense in peoples experience? Thank you in advance. UpdateIn the end, we managed to rearrange a number of UDTs so that the most import data could be published as a set of individual topics, with the remaining slowly being converted from the monolithic yaml to sets of nested keyword lists, as in @lucasw's answer. We felt this gave the best tradeoff in performance, sanity (only one serialiser on the wire) and human viewability (keyword list instead of just lists, where you would need a separate table at all times to see what the piece of data is, and then you would need to keep those in sync) |
2022-03-08 02:38:31 -0500 | received badge | ● Scholar (source) |
2022-03-08 02:38:28 -0500 | received badge | ● Supporter (source) |
2022-03-08 02:38:03 -0500 | edited question | Best Practices for Publishing Lots of Related Data Best Practices for Publishing Lots of Related Data I am developing a system using ROS2 Foxy on Ubuntu 20.04 that interfa |
2022-03-08 02:38:03 -0500 | received badge | ● Editor (source) |
2022-02-21 06:37:31 -0500 | received badge | ● Nice Question (source) |
2022-02-21 06:37:27 -0500 | received badge | ● Famous Question (source) |
2022-02-20 18:21:15 -0500 | edited question | Best Practices for Publishing Lots of Related Data Best Practices for Publishing Lots of Related Data I am developing a system using ROS2 Foxy on Ubuntu 20.04 that interfa |
2022-02-20 18:20:42 -0500 | commented question | Best Practices for Publishing Lots of Related Data @kscottz, It is an Allen Bradley ControlLogix PLC, speaking EtherNet/IP. We have written a custom node for it at this ti |
2022-02-20 17:52:56 -0500 | commented answer | Best Practices for Publishing Lots of Related Data Hello, thank you for the answer and your time! I've been considering using something similar to the dynamic_reconfigure/ |
2022-02-18 18:15:06 -0500 | received badge | ● Student (source) |
2022-02-18 18:01:08 -0500 | received badge | ● Notable Question (source) |
2022-02-18 10:54:48 -0500 | received badge | ● Popular Question (source) |
2022-02-15 21:29:11 -0500 | asked a question | Best Practices for Publishing Lots of Related Data Best Practices for Publishing Lots of Related Data I am developing a system using ROS2 Foxy on Ubuntu 20.04 that interfa |