This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:crazyflie:client:pycfclient:index [2016-01-26 00:53] fred typos |
doc:crazyflie:client:pycfclient:index [2017-04-18 16:24] tobias [Firmware upgrade] |
||
---|---|---|---|
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 |
- | * 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' | + | * In the drop-down menu to the left of the Connect button select |
* 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: | For more info on LED indicators etc. have a look at the [[projects: | ||
Line 22: | Line 20: | ||
{{ : | {{ : | ||
- The window title will show the connection status | - The window title will show the connection status | ||
- | - Connect/ | + | - Connect/ |
- | * //Connect:// Will bring up a list of available | + | * //Scan:// Will scan for availible |
+ | * // | ||
* // | * // | ||
- | * //Quick connect:// Will connect | + | * //Address:// The address |
- | * //Auto-reconnect:// If enabled the client will connect again if the connection is lost | + | * // |
- Battery and link quality (from 0% to 100%) | - Battery and link quality (from 0% to 100%) | ||
- Tabs with specific functionality ([[doc: | - Tabs with specific functionality ([[doc: | ||
+ | - The selected and used input interface | ||
====== Functionality ====== | ====== Functionality ====== | ||
Below are a few guides on how to accomplish specific tasks with the client. | Below are a few guides on how to accomplish specific tasks with the client. | ||
- | |||
- | ===== Connecting ===== | ||
- | There' | ||
- | |||
- | If you search for Crazyflies the following dialog will be shown: | ||
- | <WRAP group> | ||
- | <WRAP half column> | ||
- | {{ : | ||
- | </ | ||
- | <WRAP half column> | ||
- | * //List of Crazyflies:// | ||
- | * // | ||
- | * //Scan:// Re-scan for Crazyflies (not you're Crazyflie must be powered on to show up in the list) | ||
- | * // | ||
- | * //Cancel:// Go back | ||
- | </ | ||
- | </ | ||
- | \\ | ||
===== Firmware upgrade ===== | ===== Firmware upgrade ===== | ||
Line 59: | Line 41: | ||
* Make sure that the Crazyflie is disconnected from the client and powered off | * Make sure that the Crazyflie is disconnected from the client and powered off | ||
* Go to the menu // | * Go to the menu // | ||
- | * For Crazyflie 2.0 hold the button for about 3 seconds when turning it on until the blue LED M2 starts to blink to get into bootloader mode. | + | * For Crazyflie 2.0 hold the button for about 3 seconds when turning it on until the blue LED M2 starts to blink to get into bootloader mode. If a wrong nRF51 firmware has been flashed you might have to start from an un-powered state. Then hold the button and connect power. |
* Click " | * Click " | ||
* For Crazyflie 1.0 now power it on **within 5 seconds** using the battery (not USB), the booloader should now connect | * For Crazyflie 1.0 now power it on **within 5 seconds** using the battery (not USB), the booloader should now connect | ||
- | * Press " | + | * Press " |
* Press " | * Press " | ||
* Press " | * Press " | ||
Line 150: | Line 132: | ||
===== Flightcontrol===== | ===== Flightcontrol===== | ||
The normal view used when flying is the one seen below. | The normal view used when flying is the one seen below. | ||
- | {{ : | + | {{ : |
- Flight mode selector (Normal and Advanced) | - Flight mode selector (Normal and Advanced) | ||
* //Normal:// Recommended for beginners | * //Normal:// Recommended for beginners | ||
- | * // | + | * // |
+ | - 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/ | ||
+ | * //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: | ||
- 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 %): | ||
Line 225: | Line 211: | ||
- Console output from the Crazyflie | - Console output from the Crazyflie | ||
+ | |||
+ | ===== Loco Positioning ===== | ||
+ | The Loco Positioning tab shows information from the Loco Positioning system when present. | ||
+ | |||
+ | There are three graphs showing 2D projections of the system from three directions. The top left graph shows the system from above, the bottom left shows is it from the front (along the y-axis) while the bottom right shows it from the right side (along the negative x-axis). The graphs can be zoomed and scrolled. | ||
+ | |||
+ | The tab can be used in two modes that is selected with the radio buttons to the right | ||
+ | |||
+ | ==== Position estimate mode ==== | ||
+ | displays the configured anchor positions and the estimated position of the Crazyflie. Can be used to make sure the system is set up correctly and that the estimated position is reasonable. | ||
+ | {{ : | ||
+ | |||
+ | ==== Anchor identification mode ==== | ||
+ | displays the configured anchor positions. When the crazyflie is close to an anchor this is indicated in the graphs by highlighting it. This mode is useful to identify anchors and verify that the system is correctly configured. | ||
+ | {{ : | ||
====== ZMQ backends ====== | ====== ZMQ backends ====== |