Crazyflie Software Setup Tutorial (Downloading Python to Uploading Firmware)

preview_player
Показать описание
Code commands below!
A walkthrough of all the steps needed to set up the software required for Bitcraze's Crazyflie 2.X. Hope it helps! Maybe I'll be making more Tutorials about Crazyflie Apps etc.

Here are the steps and commands that I did:
1. Download X-Code (C++ Compiler)
2. Run X-Code
3. Download Homebrew Package Manager, In Terminal
(4. In Termina check if brew is correctly installed with: brew doctor)
5. Download Python with brew, In Terminal
6. Link Python3.10 to Python3 (not sure if required?) , In Terminal
ln -s /usr/local/bin/python3.10 /usr/local/bin/python3
7. Alias for pip3, In Terminal
alias pip3='python3.10 -m pip'
8. Install Cfclient, In Terminal
pip3 install cfclient
9. Other commands, In Terminal
brew tap PX4/homebrew-px4
arch --x86_64 brew install gcc-arm-none-eabi
10. Go to folder where you want to download Crazyflie Firmware, In Terminal
cd /PATH TO YOUR FOLDER
11. Clone Firmware Repository, In Terminal
12. Compiling Firmware, In Terminal in Firmware folder
make cf2_defconfig
make -j 12
13. Connect to Crazyflie with Radio and Flash, IRL and In Terminal
- Connect PA
CLOAD_CMDS="-w radio://0/80/2M/[address of you drone something like E7E7E7E7E7 ]" make cload

COMMANDS:
cfclient → open the client window

0:00 Intro
0:32 Download X-Code
1:08 Download Brew and Python
5:54 Create alias for pip
6:38 Download Cfclient
7:23 Firmware Intro
7:52 Download Git
8:40 Download Firmware Requirements
10:14 Cloning Github Firmware
12:16 Build Default Firmware
13:13 Connect to Crazyflie and Upload Firmware
Рекомендации по теме
Комментарии
Автор

Im running this on my M1 mac too and I did everything the same way you did but i keep getting this error:

OSError: dlopen(Quartz.framework/Quartz, 0x0006): tried: 'Quartz.framework/Quartz' (no such file), (no such file), (no such file), (no such file), (no such file, not in dyld cache), 'Quartz.framework/Quartz' (no such file)

do you have any clue how to fix it?

nashatlubbadeh
welcome to shbcf.ru