Message type for timed physical action?
The standard Twist message is used for communicating linear and angular velocity and is often used for telling a motor controller how fast to go. However, it doesn't specify a period of time when this should be applied.
is there any standard message type that encapsulates Twist, but also adds a time period? e.g. So you could specify "go forward at a velocity for 1m/sec for 30 seconds".
I don't believe there are standard msgs for this, as a typical use of
Twist
s is to just stop publishing them whenever something needs to stop. Implicitly, the publisher ofTwist
s is controlling the time the subscriber should move that way (this is how most teleop implementations work fi). .... I'm not claiming that that means a msg like you describe should not exist, just providing a possible rationale for why it may not exist.
Perhaps you could start a discussion over at discourse.ros.org for such a msg (set).