Merged
Conversation
Add keyboard controls that publish TwistStamped on /cmd_vel over LCM: Key bindings: - WASD/arrows: forward/back + turn left/right - QE: strafe left/right - Space: emergency stop - Shift: 2x speed multiplier Implementation: - Add TwistCommand struct and encode_twist_stamped() to lcm.rs - Add KeyboardHandler module with focus management - Wrap re_viewer::App in DimosApp for keyboard interception - Add keyboard status overlay when active - Full LCM wire format compatibility (82-byte TwistStamped) - Comprehensive test coverage (27/27 tests pass) Maintains existing click-to-nav functionality while adding teleop controls. Ready for integration with DimOS autoconnect on /cmd_vel channel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related
What
adds wasd keyboard controls to dimos-viewer that publish twist commands over lcm. wasd moves forward/back and turns left/right, qe strafes, space stops everything, shift doubles the speed. only captures keys when the 3d viewport has focus so you can still type in text fields normally. publishes geometry_msgs/TwistStamped on /cmd_vel channel that dimos autoconnect can pick up. shows a little green overlay when keyboard control is active. all 27 tests pass including new keyboard handler tests. maintains existing click-to-nav functionality.