Robotics StackExchange | Archived questions

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".

Asked by Cerin on 2017-01-14 18:52:35 UTC

Comments

I don't believe there are standard msgs for this, as a typical use of Twists is to just stop publishing them whenever something needs to stop. Implicitly, the publisher of Twists is controlling the time the subscriber should move that way (this is how most teleop implementations work fi). ..

Asked by gvdhoorn on 2017-01-18 10:23:28 UTC

.. 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).

Asked by gvdhoorn on 2017-01-18 10:24:33 UTC

Answers