Comments (5)
If you have installed the lib with pip, you can just run the examples with the filename: python basiclog.py. This is usually how we run them. What error are you seeing?
For the tutorials there is a getting started tutorial (https://www.bitcraze.io/getting-started-with-the-crazyflie-2-0/) and a getting started with development (https://www.bitcraze.io/getting-started-with-development/) on the Bitcraze website. Following these two documentation will walk you through the process of connecting, flying and programming the Crazyflie.
from crazyflie-lib-python.
I had the same issue with the error 'crazyflie-lib-python/venv/bin/python2: No module named examples' when using python 2.7. By switching to 3.5 (alias python=python3), I was able to get the basiclog example working (after connecting the crazyflie via usb).
from crazyflie-lib-python.
The examples are not designed as modules (running with the -m switch). The intended use is to run
python examples/basiclog.py
from crazyflie-lib-python.
Should the README be updated then? atm line 27 of the README tells us to use '-m'
from crazyflie-lib-python.
@santolucito yes it should. Sorry, I was a bit too quick on closing this one!
I'll fix it
Thanks!
from crazyflie-lib-python.
Related Issues (20)
- Fullstate setpoint implementation HOT 4
- Quat decompress part of cflib? HOT 4
- remove any highlevel commander start parameters in scripts HOT 2
- Enforce CPX version
- motion commander, start_linear_motion reverse yaw HOT 2
- Fixes to the wall following demo
- qualisys hl commander error HOT 11
- CI should test examples
- Velocity and acceleration controllers for crazyflie with motion capture system. HOT 4
- Streaming Ranging Distance Info from the Localization Class Using the Python Library HOT 2
- Add other mocap examples minimal HOT 3
- Why it reminded me "Could not add Measurement log config, bad configuration"๏ผwhen I added a new log variable ? HOT 2
- Open multiple plotting instances HOT 1
- motion commanderf wo context manager fails on reconnect.
- python 3.12, can't compile due to missing packages HOT 2
- Convert gui examples to QT6
- Mocap example for multiple crazyflies
- wall follower bug
- Position setpoint handling in flavor of motioncommander
- send_full_state_setpoint fails to move in x and y directions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crazyflie-lib-python.