You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although ROSLIBjs is a good client that allows you to communicate with ROS easily, I sometimes feel that rosbridge is lacking in performance.
Therefore, we would like to be able to inject a socket member into the Ros class from the constructor, etc., so that it can communicate with any bridge.
For example, Foxglove's ros-foxglove-bridge is a very good bridge in the aspect of performance, but if we want to use it in ROSLIBjs, we need to override the members by using inheritance.
The following repository shows an example of ros-foxglove-bridge support by forcibly overriding the socket member of the Ros class.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Although ROSLIBjs is a good client that allows you to communicate with ROS easily, I sometimes feel that rosbridge is lacking in performance.
Therefore, we would like to be able to inject a
socket
member into theRos
class from the constructor, etc., so that it can communicate with any bridge.For example, Foxglove's ros-foxglove-bridge is a very good bridge in the aspect of performance, but if we want to use it in ROSLIBjs, we need to override the members by using inheritance.
The following repository shows an example of ros-foxglove-bridge support by forcibly overriding the
socket
member of theRos
class.https://github.com/eyr1n/roslib-with-foxglove
I thought it would be a good idea to define the interface and allow the injection of the
socket
member so that such code can be implemented safely.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions