Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.09 KB

File metadata and controls

36 lines (23 loc) · 1.09 KB

Crazyflie console

This module provides access to the Crazyflie console.

NOTE: The console data history clears when you connect to the Crazyflie (i.e is downloaded on connect)

Show console prints

This command shows everything printed in the Crazyflie console.

cfcli console

If you do not want any formatting of the text then use the --no-format parameter:

cfcli console --no-format

Preserve console across connections

Normally, console data is only available while connected. With the --preserve-console (-p) global flag, console output is saved to a file during every connection. When running multiple commands in a row the console data is accumulated:

cfcli -p param set motorPowerSet.enable 1
cfcli -p log print stabilizer.roll 100

When the console command is executed, any saved console history is always printed first and then cleared, followed by the live console output:

cfcli console

This is useful for capturing console debug output that was printed during other operations (e.g. parameter changes or log sessions).