osrf / vrx

Virtual RobotX (VRX) resources.
Apache License 2.0
387 stars 178 forks source link

Question of teleop_twist_keyboard #772

Closed gami0321 closed 3 months ago

gami0321 commented 4 months ago

System Configuration: Tell us about your system.

I have a question regarding the teleop_twist_keyboard. I referenced the VRX_DRIVING example, but it only had joystick control. Is it not possible to use teleop_twist_keyboard with it? When I ran the code, it seemed like the values were being subscribed to the /cmd_vel topic, but is there no implemented logic to handle this?

caguero commented 3 months ago

We haven't directly added keyboard support to the project yet but it should be possible if you map the keystrokes to topics in a similar way we do it here:

https://github.com/osrf/vrx/blob/main/vrx_gz/config/wamv.yaml