[ros-users] [Discourse.ros.org] Rosserial_arduino performanc…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Martin Günther via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] Rosserial_arduino performance question



You're right about the initialization time. On startup, `rostopic` registers a new publisher with the ROS master. Then, `rosserial_arduino` is notified of this and negotiates a direct communication channel with `rostopic`. All of this takes some time. So what you should do is create a publisher once and keep it open. This should greatly reduce your latency on all following `publish()` calls.






---
[Visit Topic](https://discourse.ros.org/t/rosserial-arduino-performance-question/1631/5) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>