Skip to content
Fred G edited this page Mar 19, 2018 · 4 revisions

Advanced features

Altitude hold

Altitude hold uses the built-in pressure sensor (barometer) on the Crazyflie 1.0 and 2.0 to keep the Crazyflie at the current height. It does not compensate for changes in attitude (Pitch, Roll, Yaw), so the user still needs to control those axes.

Please note:

  • Only supported when using Crazyradio.
  • For safety reasons it can only be used when the game pad is used.

Controls:

  • The default assigned "Hover" button on the game pad is R1 (right top shoulder button) on a Playstation controller.
    • It can be re-assigned in the preferences: Preferences button → Controller Settings → Gamepad axis and button mapping → Hover
  • To activate it, press the "Hover" button (and keep it pressed) while flying at reasonable height (at least knee high). At the same time let go of the thrust axis. The Crazyflie should (more or less) keep it's current height. You still need to correct the attitude (Pitch, Roll, Yaw). If you let go of the "Hover" button, altitude hold is off immediately and you need to apply thrust again manually to keep the copter in the air.
  • During altitude hold the thrust axis works slightly different:
    • center stick is neutral,
    • if you move the thrust axis up, the height increases
    • if you move the thrust axis down, the height reduces.

Height hold

Height hold uses the distance sensors on the zRanger deck and the Flow deck to keep the Crazyflie at a default height of approximately 40 centimeters. It does not compensate for changes in attitude (Pitch, Roll, Yaw), so the user still needs to control those axes. The distance sensor is more reliable than the pressure sensor (barometer), but the maximum supported height is about 1.2 meters.

Please note:

  • Only supported when using Crazyradio.
  • For safety reasons it can only be used when the game pad is used.
  • Required deck: zRanger deck or Flow deck

Controls:

  • Controls work is almost identical to altitude hold. Except the default height is 40cm and the maximum height is limited to roughly 1.2 meters.
  • You can adjust the height with the thrust axis, but once you exit height hold the height is reset to the default (40cm). So the next time you enable height hold, it starts with the default again.

LED ring deck

When the LED ring deck is connected, the lighting pattern of the LED ring can be changed. The front LEDs (headlight) can also be switched on and off.

Please note:

  • Only supported when using Crazyradio.
  • Required deck: LED ring deck

Controls:

  • By default "LED ring: Enabled headlight" is assigned to "Alt 1 action" which is assigned to the L1 button on the game pad (left top shoulder button) on a Playstation controller.
  • By default "LED ring: Cycle ring effect" is assigned to "Alt 2 action" which is assigned to the L2 button on the game pad (left bottom shoulder button) on a Playstation controller.
  • Both actions can be re-assigned in the preferences: Preferences button → Controller Settings → Gamepad axis and button mapping → Alt 1/2
  • After the connection to the Crazyflie is established press the assigned button for the headlight to switch the LEDs on and off. Press the assigned button for the ring effect to cycle through the different patterns.
  • There are also two on-screen buttons to enable the headlight and cycle the ring effect respectively.
  • The "LED ring: Cycle ring effect" cycles through the following effects:
    • Off
    • White spinner
    • Color spinner
    • Tilt effect
    • Brightness effect
    • Color spinner2
    • Double spinner
    • Solid color effect
    • Factory test
    • Battery status
    • Boat lights
    • Alert
    • Gravity
    • N/A

Buzzer deck

When the Buzzer deck is connected, the Imperial March melody can be played and stopped.

Please note:

  • Only supported when using Crazyradio.
  • Required deck: Buzzer deck

Controls:

  • By default the "Buzzer: Play Imperial March" action is not assigned to a button, but this can be changed here: Preferences button → Controller Settings → Gamepad axis and button mapping → Alt 1/2
  • After the connection to the Crazyflie is established, press the assigned button and the melody will start to play. Press the assigned button again to stop the melody.
  • There is also an on-screen button to play/stop the imperial march.

Console view

When the console view is enabled, it will show the Console messages sent from the Crazyflie to the client during the first connection process after the Crazyflie has been switched on.

Please note:

  • If you reconnect to your Crazyflie without switching it on and off again, no console messages will be sent.

Usage:

  • The console view can be enabled in the settings: Preferences button → App Settings → Show console
  • If you "long press" on the console view, a dialog should open and show two options:
    • Copy to clipboard
    • Clear the console