Crazyflie console is used to receive characters printed using printf from the firmware.
Classes
Console
Console(crazyflie)
Crazyflie console is used to receive characters printed using printf from the firmware.
Initialize the console and register it to receive data from the copter.
Instance variables
receivedChar
This member variable is used to setup a callback that will be called when text is received from the CONSOLE port of CRTP (0).
Example:
[...]
def log_console(self, text):
self.log_file.write(text)
[...]
self.cf.console.receivedChar.add_callback(self.log_console)