Package me.autobot.lib.hardware.ros
Class ROSSubscription
java.lang.Object
me.autobot.lib.hardware.Connection
me.autobot.lib.hardware.ros.ROSSubscription
Object representing a ROS subscription.
-
Constructor Summary
ConstructorsConstructorDescriptionROSSubscription(String topic) Creates a new ROS subscription with the given topic. -
Method Summary
Methods inherited from class me.autobot.lib.hardware.Connection
write
-
Constructor Details
-
ROSSubscription
Creates a new ROS subscription with the given topic.- Parameters:
topic- The topic to subscribe to.
-
-
Method Details
-
getTopic
Gets the topic of the subscription.- Returns:
- The topic of the subscription.
-