From 12e602b9917f889851a19a15fee250ee225d9588 Mon Sep 17 00:00:00 2001 From: knmcguire Date: Wed, 18 Oct 2023 14:48:37 +0200 Subject: [PATCH] fix explaination example. Fixes #307 --- crazyflie_examples/launch/keyboard_velmux_launch.py | 2 +- docs2/tutorials.rst | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/crazyflie_examples/launch/keyboard_velmux_launch.py b/crazyflie_examples/launch/keyboard_velmux_launch.py index db7badac4..a6ad3f674 100644 --- a/crazyflie_examples/launch/keyboard_velmux_launch.py +++ b/crazyflie_examples/launch/keyboard_velmux_launch.py @@ -31,6 +31,6 @@ def generate_launch_description(): output='screen', parameters=[{"hover_height": 0.3}, {"incoming_twist_topic": "/cmd_vel"}, - {"robot_prefix": "/cf1"}] + {"robot_prefix": "/cf231"}] ), ]) diff --git a/docs2/tutorials.rst b/docs2/tutorials.rst index 58070bc67..a13e9a876 100644 --- a/docs2/tutorials.rst +++ b/docs2/tutorials.rst @@ -17,7 +17,7 @@ Teleoperation keyboard We have an example of the telop_twist_keyboard package working together with the crazyflie First, make sure that the crazyflies.yaml has the right URI and if you are using the `Flow deck `_ or `any other position system available `_ to the crazyflie. -set the controller to 1 (PID) +set the controller to 1 (PID). And if you have not already, install the teleop package for the keyboard. (replace DISTRO with humble or galactic): @@ -25,7 +25,9 @@ And if you have not already, install the teleop package for the keyboard. (repl sudo apt-get install ros-DISTRO-teleop-twist-keyboard -Then, run the following launch file to start up the crazyflie server (CFlib): +Then, first checkout keyboard_velmux_launch.py and make sure that the 'robot_prefix' of vel_mux matches your crazyflie ID in crazyfies.yaml ('cf231'). + +Then run the following launch file to start up the crazyflie server (CFlib): .. code-block:: bash