ros2 teleop_twist_keyboard rate

asked 2021-01-07 13:44:18 -0500

PaddyCube gravatar image

updated 2021-01-07 13:45:30 -0500

Hello,

to simple test my base controller of robot, I want to use the teleop_twist_keyboard node. In ROS Noetic, I was able to set a rate so this node keeps sending /cmd_Vel messages at the given rate.

It seems this is not possible in ROS2 or I'm just unable to set this parameter. Does any one know, how to set a rate in ROS2 (foxy) for this? Or does anyone knows a teleop package for ROS2 which sends messages at a given rate?

This is mandatory for me as my robot stops if it doesn't receive any messages in a given time for safety reason.

edit retag flag offensive close merge delete

Comments

i'm afraid you have to do it manually, I saw in source code of teleop_twist_keyboard ros2, there is no option to set that parameter

drtritm gravatar image drtritm  ( 2021-01-12 00:41:09 -0500 )edit