Message type for timed physical action?

asked 2017-01-14 17:52:35 -0600

Cerin gravatar image

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

edit retag flag offensive close merge delete

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

gvdhoorn gravatar image gvdhoorn  ( 2017-01-18 09:23:28 -0600 )edit

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

gvdhoorn gravatar image gvdhoorn  ( 2017-01-18 09:24:33 -0600 )edit