User Tools

Site Tools


doc:crazyflie:client:pycfclient:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
doc:crazyflie:client:pycfclient:index [2017-03-29 13:48]
tobias [Firmware upgrade]
doc:crazyflie:client:pycfclient:index [2017-04-18 16:19]
tobias [Main UI]
Line 9: Line 9:
   * Start up the application   * Start up the application
   * Insert the joystick and Crazyradio (PA)   * Insert the joystick and Crazyradio (PA)
-  * Before you press connect make sure that the joystick is working as expected and that the **thrust is zero**. The joystick values should be visible in the flight data box under target. +  * Before you connect to the Crazyflie make sure that the joystick is working as expected and that the **thrust is zero**. The joystick values should be visible in the flight data box under target. 
-  * Press //Connect//+  * Press //Scan//
   * Wait for the scanning to complete   * Wait for the scanning to complete
-  * Double-click the Crazyflie you want to connect to. There's one debug URI for UI testing so you should connect to the URI that begins with %%radio://80/XX/XX%%.  The +  * In the drop-down menu to the left of the Connect button select the Crazyflie you want to connect to. Connect to the URI e.g. %%radio://0/80/250k%%.
   * The client will now connect to the Crazyflie and handshake   * The client will now connect to the Crazyflie and handshake
-  * One the handshake is done you can start flying the Crazyflie. Remember the most tricky part is the thrust so start out easy..+  * When the handshake is done you can start flying the Crazyflie. Remember the most tricky part is the thrust so start out easy...
- +
-Once you have connected to the Crazyflie you can just use the //Quick connect// button next time you start the application.+
  
 For more info on LED indicators etc. have a look at the [[projects:crazyflie:userguide:index#the_crazyflie|Crazyflie]] or [[projects:crazyflie2:userguide:index|Crazyflie 2.0]] user guide. For more info on LED indicators etc. have a look at the [[projects:crazyflie:userguide:index#the_crazyflie|Crazyflie]] or [[projects:crazyflie2:userguide:index|Crazyflie 2.0]] user guide.
Line 22: Line 20:
 {{ :doc:crazyflie:client:pycfclient:cfclient_main_ui.png?700 |}} {{ :doc:crazyflie:client:pycfclient:cfclient_main_ui.png?700 |}}
   - The window title will show the connection status   - The window title will show the connection status
-  - Connect/disconnect and quick connect buttons as well as automatic connection +  - Connect/disconnect, scan and the drop-down connection list as well as Address and auto reconnect. 
-     * //Connect:// Will bring up a list of available Crazyflies to connect to+     * //Scan:// Will scan for availible Crazyflies within the chosen address. 
 +     * //Connect:// Will connect to the selected URI in the connection list
      * //Disconnect:// Will disconnect the current Crazyflie      * //Disconnect:// Will disconnect the current Crazyflie
-     * //Quick connect:// Will connect to the latest (successfully) connected Crazyflie   +     * //Address:// The address to scan for. If you didn't change this [[doc:crazyflie:client:pycfclient:index#firmware_configuration|in the configuration]], then leave the default of 0xE7E7E7E7E7 
-     * //Auto-reconnect:// If enabled the client will connect again if the connection is lost+     * //Auto Reconnect:// Try to automatically reconnect when connection is lost.
   - Battery and link quality (from 0% to 100%)   - Battery and link quality (from 0% to 100%)
   - Tabs with specific functionality ([[doc:crazyflie:client:pycfclient:index#tabs|see below for details]])   - Tabs with specific functionality ([[doc:crazyflie:client:pycfclient:index#tabs|see below for details]])
 +  - The selected and used input interface
  
 ====== Functionality ====== ====== Functionality ======
Line 44: Line 44:
   * //List of Crazyflies:// To connect either double-click, or select and then press //Connect//    * //List of Crazyflies:// To connect either double-click, or select and then press //Connect// 
   * //Address:// The shock burst address to scan for. If you didn't change this [[doc:crazyflie:client:pycfclient:index#firmware_configuration|in the configuration]], then leave the default of 0xE7E7E7E7   * //Address:// The shock burst address to scan for. If you didn't change this [[doc:crazyflie:client:pycfclient:index#firmware_configuration|in the configuration]], then leave the default of 0xE7E7E7E7
-  * //Scan:// Re-scan for Crazyflies (not you're Crazyflie must be powered on to show up in the list)+  * //Scan:// Re-scan for Crazyflies (note you're Crazyflie must be powered on to show up in the list)
   * //Connect:// Connect to the selected Crazyflie   * //Connect:// Connect to the selected Crazyflie
   * //Cancel:// Go back   * //Cancel:// Go back
Line 150: Line 150:
 ===== Flightcontrol===== ===== Flightcontrol=====
 The normal view used when flying is the one seen below. The normal view used when flying is the one seen below.
-{{ :doc:crazyflie:client:pycfclient:cfclient_flightab.png?700 |}}+{{ :doc:crazyflie:client:pycfclient:cfclient_flightab.png |}}
   - Flight mode selector (Normal and Advanced)   - Flight mode selector (Normal and Advanced)
      * //Normal:// Recommended for beginners      * //Normal:// Recommended for beginners
-     * //Advanced:// Will unlock flight settings in 3 +     * //Advanced:// Will unlock flight settings in 3 
 +  - Assisted mode selection. The assisted mode is enabled when the assisted mode button is pressed on the Gamepad. 
 +     * //Altitude hold//: Keeps the Crazyflie at its current altitude automatically. Thrust control becomes height velocity control. 
 +     * //Position hold//: Keeps the Crazyflie at its current 3D position. Pitch/Roll/Thrust control becomes X/Y/Z velocity control. 
 +     * //Height hold//: When activated, keeps the Crazyflie at 40cm above the ground. Thrust control becomes height velocity control. Requires a height sensor like the [[projects:crazyflie2:expansionboards:zranger|Z-Ranger deck]].
   - Roll/pitch trim can be set either in the UI or using the controller (if the correct buttons are mapped). This will offset the input to the Crazyflie for correcting imbalance and reducing drift.   - Roll/pitch trim can be set either in the UI or using the controller (if the correct buttons are mapped). This will offset the input to the Crazyflie for correcting imbalance and reducing drift.
   - Advanced flight control settings are available if Advanced mode has been selected (settings are in %):   - Advanced flight control settings are available if Advanced mode has been selected (settings are in %):
doc/crazyflie/client/pycfclient/index.txt · Last modified: 2020-05-12 14:27 by kimberly