feat: CommandPublishGate - chi publish mot lenh zero Twist khi tha dieu khien, them icon cua so

Truoc: publish lien tuc kha ca zero Twist theo timer -> de ghi de /cmd_vel cua publisher khac
khi joystick khong dieu khien. CommandPublishGate: lenh khac-zero publish binh thuong theo chu
ky; ve zero thi publish DUNG MOT LAN roi im, chi publish lai khi co lenh khac-zero moi.
UI: dat className "VirtualJoystickTeleop" cho WM_CLASS (truoc dung chung "Tk" voi moi app Tk
khac, bi gom lan trong taskbar/window picker) + ve icon joystick 32x32 khong can file ngoai.
This commit is contained in:
2026-09-22 15:32:00 +07:00
parent 4d0ade7c6d
commit 6c9f77eaae
7 changed files with 98 additions and 13 deletions

View File

@@ -25,7 +25,10 @@ follow the layout and interaction pattern of `rqt_robot_steering`, and the node
Multiple arrow keys can be held together. For example, Up + Left commands
forward motion while turning left. Dragging the joystick provides proportional
control up to the configured speed. Keyboard and joystick inputs stop when they
are released. Like `rqt_robot_steering`, the signed velocity sliders keep their
are released. While a non-zero command is active it is published at the configured
rate. Releasing control publishes one zero `Twist`, then the node stays silent
until the next command so another `/cmd_vel` publisher is not overwritten.
Like `rqt_robot_steering`, the signed velocity sliders keep their
command until an axis is reset to `0` or STOP is pressed. Moving focus away from
the GUI, closing the window, or shutting down ROS still publishes a zero command.
While a min/max field has focus, arrow keys only edit its number and do not