Package edu.tufts.hrilab.ros2
Interface Ros2Publisher<T>
- Type Parameters:
T
-
- All Known Implementing Classes:
JRosClientPublisher
public interface Ros2Publisher<T>
Generic Ros2 Publisher, which takes in a specific message type
-
Method Summary
Modifier and TypeMethodDescriptionvoid
publish()
Body of the publisher that is submitted every iteration.
-
Method Details
-
publish
void publish()Body of the publisher that is submitted every iteration. -
getMessage
T getMessage()- Returns:
- Returns the message object internal to this publisher. This object is mutable, and can be altered to change the published message.
-