Skip to content

/cmd_vel timeout? #516

Closed Answered by alsora
slowrunner asked this question in Questions
Jan 15, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

The Create 3 /motion_control node executes a 20Hz loop where it checks for the last received message on the /cmd_vel topic and forwards it to the wheels.
The frequency of this loop is not a parameter.

As you noticed, the node has indeed a timeout duration of 0.5 seconds.
If the last /cmd_vel message is older than the timeout, then the message will be considered stale and the robot will stop until a new message arrives.
This timeout is currently exposed as a parameter named wheels_stop_threshold_sec.
This parameter is "read-only", i.e. after the application has started you can't change it, however it can be modified via the ROS 2 parameter yaml exposed by the webserver https://iroboteducat…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@slowrunner
Comment options

@adnan-saood
Comment options

@alsora
Comment options

@adnan-saood
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by slowrunner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants