From 6b3db959ed5df6cbaf1d2b372445058d26f8a488 Mon Sep 17 00:00:00 2001 From: wittenator <9154515+wittenator@users.noreply.github.com> Date: Sat, 2 Dec 2023 19:50:54 +0100 Subject: [PATCH] Added keyboard control docs --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 29a2514..4eda0d3 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,13 @@ The robot control is implemented in the `ft24_control` package and can be launch `ros2 launch ft24_control launch_robot.py`.\ This launch file brings up the `ros2_control`-based nodes that serve as the interface between the physical robot and the ROS2 software stack. -## Remote Control -The launch file `ros2 launch src/dcaitirobot/launch/remote_control_launch.py` launches the nodes required to interface the PS3 controller and publish its commands as `Twist` messages in ROS. - ## Simulation Start For the Gazebo simulation, run: ``` ros2 launch ft24_control launch_sim.py +``` + +You can control the car with the keyboard by publishing Twist commands via: +``` +ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args -r /cmd_vel:=/ackermann_steering_controller/reference_unstamped ``` \ No newline at end of file