Skip to content

Commit

Permalink
fix explaination example. Fixes #307
Browse files Browse the repository at this point in the history
  • Loading branch information
knmcguire committed Oct 18, 2023
1 parent 4b5cae6 commit 12e602b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crazyflie_examples/launch/keyboard_velmux_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}]
),
])
6 changes: 4 additions & 2 deletions docs2/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ 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 <https://www.bitcraze.io/products/flow-deck-v2/>`_ or `any other position system available <https://www.bitcraze.io/documentation/system/positioning//>`_ 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):

.. code-block:: bash
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
Expand Down

0 comments on commit 12e602b

Please sign in to comment.