id stringlengths 15 54 | text stringlengths 3 133k | title stringclasses 1
value |
|---|---|---|
crazy_file_add_variable/incorrectbatteryvolt_17.txt | ADMIN MOD | |
crazy_file_add_variable/Report2020Undergradu_17.txt | angles described by Figure 7 to produce a rotation matrix in Equation 8 [2, 6, 11].
D =
cos(θ) cos(ψ) cos(θ) sin(ψ) − sin(θ)
sin(φ) sin(θ) cos(ψ) − cos(θ) sin(ψ) sin(φ) sin(θ) sin(ψ) + cos(φ) cos(ψ) sin(φ) cos(θ)
cos(φ) sin(θ) cos(φ) + sin(φ) sin(ψ) cos(φ) sin(θ) sin(ψ) − sin(φ) cos(ψ) cos(φ) cos(θ)
(8)... | |
crazy_file_add_variable/pythonapi_24.txt | There's are few limitations that need to be taken into account: | |
crazy_file_add_variable/incorrectbatteryvolt_37.txt | Read more | |
crazy_file_add_variable/Report2020Undergradu_84.txt | 18 from cflib.crazyflie.syncLogger import SyncLogger
19
20 # --------------------------------------------------------------------------------
21 # Target Detection And Tracking Functions
22 # --------------------------------------------------------------------------------
23
24 # Function to perform grayscale image pro... | |
crazy_file_add_variable/pythonapi_119.txt | The ` PositionHlCommander ` is intended to simplify basic autonomous flight,
where all the high level commands exist inside the Crazyflie firmware. The
Crazyflie takes off when entering the âwithâ section, and lands when
exiting. It has functions for basic movements that are blocking until the
motion is finished. | |
crazy_file_add_variable/pythonapi_26.txt | ### Parameters | |
crazy_file_add_variable/cfclientutilslogconf_38.txt | [ Full package analysis ](/advisor/python/cfclient) | |
crazy_file_add_variable/pythonapi_40.txt |
add_callback(cb)
""" Register cb as a new callback. Will not register duplicates. """
remove_callback(cb)
""" Un-register cb from the callbacks """
call(*args)
""" Call the callbacks registered with the arguments args """
| |
crazy_file_add_variable/basiclogpy_16.txt | def _connection_failed(self, link_uri, msg):
"""Callback when connection initial connection fails (i.e no Crazyflie
at the speficied address)"""
print('Connection to %s failed: %s' % (link_uri, msg))
self.is_connected = False | |
crazy_file_add_variable/Report2020Undergradu_64.txt | Change
Jitter
Deviation
Figure 42: Relevant results against time throughout the first trial of the rectilinear motion test.
When the altitude was being changed in the rectilinear and circular motion tests, the Crazyflie jittered
irregularly in the latitude and longitude positions due to the manual adjustment of the cam... | |
crazy_file_add_variable/cfclientutilslogconf_33.txt |  GPL-2.0 | |
crazy_file_add_variable/incorrectbatteryvolt_20.txt | I am trying to get the battery percentage and voltage level from my crazyflie
drone using | |
crazy_file_add_variable/Report2020Undergradu_12.txt | Visual Serviong
Image-Based
Visual Serviong
Figure 3: Comparison between the basic methods of position-based visual servoing (top) and imagebased visual servoing for an image - this process is then repeated for each frame in a sequence.
4
2.2 QUADROTOR DYNAMICS
As briefly mentioned, a quadrotor is a rotorcraft with fou... | |
crazy_file_add_variable/incorrectbatteryvolt_52.txt | * * * | |
crazy_file_add_variable/pythonapi_4.txt | * [ AI deck 1.1 ](/products/ai-deck/ "AI deck 1.1")
* [ LED-ring deck ](/products/led-ring-deck/ "LED-ring deck")
* [ Qi 1.2 charger deck ](/products/qi-1_2-charger-deck/ "Qi 1.2 charger deck")
* [ Buzzer deck ](/products/buzzer-deck/ "Buzzer deck")
* [ BigQuad deck ](/products/bigquad-deck/ "BigQua... | |
crazy_file_add_variable/pythonapi_45.txt | The serial driver is disabled by default and has to be enabled to be used.
Enable it in the call to ` init_drivers() ` . | |
crazy_file_add_variable/pythonapi_78.txt | The parameter reading is done using callbacks. When a parameter is updated
from the host (using the code above) the parameter will be read back by the
library and this will trigger the callbacks. Parameter callbacks can be added
at any time (you don't have to be connected to a Crazyflie). | |
crazy_file_add_variable/pythonapi_116.txt | The ` MotionCommander ` is using velocity set points and does not have a
global coordinate system, all positions are relative. It is mainly intended to
be used with a Flow deck. | |
crazy_file_add_variable/Report2020Undergradu_77.txt | 17
18 # Function to perform grayscale image processing.
19 def processing_gray (frame):
20
21 # Convert the frame to grayscale, apply a threshold or mask with the limit
> tuned for the target, and apply an open morphology transformation.
22 mode = cv.cvtColor (frame, cv.COLOR_BGR2GRAY)
23 #mode = cv.blur (mode, (5, 5))... | |
crazy_file_add_variable/incorrectbatteryvolt_65.txt | * [ Kim Kardashian ](https://reddit.com/t/kim_kardashian/)
* [ Doja Cat ](https://reddit.com/t/doja_cat/)
* [ Iggy Azalea ](https://reddit.com/t/iggy_azalea/)
* [ Anya Taylor-Joy ](https://reddit.com/t/anya_taylorjoy/)
* [ Jamie Lee Curtis ](https://reddit.com/t/jamie_lee_curtis/)
* [ Natalie Portman ... | |
crazy_file_add_variable/pythonapi_46.txt |
init_drivers(enable_serial_driver=True)
| |
crazy_file_add_variable/pythonapi_73.txt | The parameter framework is used to read and set parameters. This functionality
should be used when: | |
crazy_file_add_variable/pythonapi_12.txt | If you are interested in more details look in the PyDoc in the code or: | |
crazy_file_add_variable/pythonapi_106.txt | The ` SyncCrazyflie ` class wraps a Crazyflie instance and mainly simplifies
connect/disconnect. | |
crazy_file_add_variable/pythonapi_32.txt | ### Variable and parameter names | |
crazy_file_add_variable/incorrectbatteryvolt_29.txt | logconf.add_variable('stateEstimate.z', 'float') | |
crazy_file_add_variable/Report2020Undergradu_13.txt | y
M1 M2
M4 M3
M1
M2
M3
M4
Figure 4: Coordinate system relative to the quadrotor showing the three translational and three rotational displacements. The quadrotor may operate in a plus-mode (+) (left) or cross-mode (×) (right).
5
The quadrotor is then able to generate these degrees of freedom by varying the thrust gener... | |
crazy_file_add_variable/pythonapi_111.txt | ### SyncLogger | |
crazy_file_add_variable/pythonapi_66.txt | This command will set the attitude controller setpoint for the next 500ms.
After 500ms without next setpoint, the Crazyflie will apply a setpoint with
the same thrust but with roll/pitch/yawrate = 0, this will make the Crazyflie
stop accelerating. After 2 seconds without new setpoint the Crazyflie will cut
power from t... | |
crazy_file_add_variable/pythonapi_54.txt |
cflib.crtp.init_drivers()
available = cflib.crtp.scan_interfaces()
for i in available:
print "Interface with URI [%s] found and name/comment [%s]" % (i[0], i[1])
| |
crazy_file_add_variable/basiclogpy_9.txt | # Variable used to keep main loop occupied until disconnect
self.is_connected = True | |
crazy_file_add_variable/basiclogpy_4.txt | def __init__(self, link_uri):
""" Initialize and run the example with the specified link_uri """ | |
crazy_file_add_variable/pythonapi_108.txt |
with SyncCrazyflie(uri) as scf:
# A Crazyflie instance is created and is now connected. If the connection fails,
# an exception is raised.
# The underlying crazyflie object can be accessed through the cf member
scf.cf.param.set_value('kalman.resetEs... | |
crazy_file_add_variable/basiclogpy_21.txt | # The Crazyflie lib doesn't contain anything to keep the application alive,
# so this is where your application should do something. In our case we
# are just waiting until we are disconnected.
while le.is_connected:
time.sleep(1) | |
crazy_file_add_variable/cfclientutilslogconf_50.txt | #### Security | |
crazy_file_add_variable/pythonapi_47.txt | ## Connection- and link-callbacks | |
crazy_file_add_variable/pythonapi_115.txt | The ` MotionCommander ` class is intended to simplify basic autonomous flight,
where the motion control is done from the host computer. The Crazyflie takes
off and makes when entering the âwithâ section, and lands when exiting. It
has functions for basic movements that are blocking until the motion is
finished. | |
crazy_file_add_variable/basiclogpy_14.txt | def _stab_log_error(self, logconf, msg):
"""Callback from the log API when an error occurs"""
print('Error when logging %s: %s' % (logconf.name, msg)) | |
crazy_file_add_variable/incorrectbatteryvolt_18.txt | # incorrect battery voltage level & battery percentage when motors are on | |
crazy_file_add_variable/pythonapi_89.txt | If this is not the case then the parameter framework should be used instead. | |
crazy_file_add_variable/pythonapi_19.txt | Currently we have _radio_ , _serial_ , _usb_ , _debug_ , _udp_ interfaces.
Here are some examples: | |
crazy_file_add_variable/pythonapi_82.txt | It is also possible to get the current value of a parameter (when connected)
without using a callback | |
crazy_file_add_variable/Report2020Undergradu_98.txt | quality and reliable battery must be used
from the Crazyflie suppliers.
Ergonomic The thrust of the Crazyflie may pick up
dust, which may be breathed in by or enter
the eyes of the operator or personnel in
the operating vicinity.
Minor Rare 3 Elimination It should be ensured that the motion
capture facilities and opera... | |
crazy_file_add_variable/cfclientutilslogconf_5.txt | [ Sign Up ](https://app.snyk.io/login/?cta=sign-up&loc=nav&page=undefined) | |
crazy_file_add_variable/cfclientutilslogconf_46.txt | #### Company | |
crazy_file_add_variable/Report2020Undergradu_27.txt | Z t
0
e(t) dt + KD
de(t)
dt
(13)
f(t) ≈ KPe(t) + KI
Xt
τ=0
e(τ) + KD
e(t) − e(t − ∆t)
∆t
(14)
Where e(t), error signal; r(t), reference signal; b(t), feedback signal; f(t), control signal; t, time, s;
KP, proportional gain; KI
, integral gain; KD, derivative gain; and τ, incremental time placeholder, s.
A quadrotor is ... | |
crazy_file_add_variable/basiclogpy_1.txt | import cflib.crtp # noqa
from cflib.crazyflie import Crazyflie
from cflib.crazyflie.log import LogConfig | |
crazy_file_add_variable/Report2020Undergradu_43.txt | πv
2/4
= f
r
Axy
Auv
≡ kA−0.5
uv where k = f
p
Axy (16)
z = f
x
u
= f
y
v
−→ z = f
r
xy
uv
= f
r
Axy
Auv
≡ kA−0.5
uv where k = f
p
Axy (17)
∴ z ∝
1
u
and z ∝
1
v
and z
2 ∝
1
Auv
or z ∝
1 | |
crazy_file_add_variable/Report2020Undergradu_63.txt | off due to the mentioned irregularities. Unfortunately, there was a slight delay in the first trial of the
rectilinear test when manually raising the tripod which contributed to an extended total time, but there
was no meaningful impact on the results. (As mentioned, the exact uncertainty of the motion capture
is not p... | |
crazy_file_add_variable/incorrectbatteryvolt_62.txt | * Television | |
crazy_file_add_variable/pythonapi_87.txt | The logging framework is used to enable the "automatic" sending of variable
values at specified intervals to the client. This functionality should be used
when: | |
crazy_file_add_variable/incorrectbatteryvolt_2.txt | r/CrazyFlie A chip A close button | |
crazy_file_add_variable/Report2020Undergradu_93.txt | 361
362 # Set the parameters for control and rest the extended Kalman filter.
363 crazyflie = crazyflie_sync.cf
364 set_initial_position_origin (crazyflie)
365 reset_estimator (crazyflie)
366 #crazyflie.param.set_value ("posCtlPid.xyVelMax", "velocity_max")
367 #crazyflie.param.set_value ("posCtlPid.zVelMax", "velocity... | |
crazy_file_add_variable/incorrectbatteryvolt_70.txt | * [ Communities ](https://www.reddit.com/best/communities/1/)
* [ Best of Reddit ](https://www.reddit.com/posts/2024/global/)
* [ Topics ](https://www.reddit.com/topics/a-1/) | |
crazy_file_add_variable/pythonapi_91.txt |
# Called when new logging data arrives
data_received_cb = Caller()
# Called when there's an error
error_cb = Caller()
# Called when the log configuration is confirmed to be started
started_cb = Caller()
# Called when the log configuration is confirmed to... | |
crazy_file_add_variable/incorrectbatteryvolt_53.txt | * TOPICS | |
crazy_file_add_variable/pythonapi_70.txt |
send_hover_setpoint(self, vx, vy, yawrate, zdistance)
| |
crazy_file_add_variable/pythonapi_101.txt |
crazyflie.log.add_config([logconf1, logconfig2])
| |
crazy_file_add_variable/cfclientutilslogconf_24.txt | [  bitcraze / crazyflie-
clients-python / lib / cfclient / ui / tabs / FlightTab.py View on Github

](https://github.com/bitcraze/crazyflie-clients-
python/blob/0b64640096567992bb6d0820dd1cb47cfe1dbc6a/lib/cfclient/ui/tab... | |
crazy_file_add_variable/pythonapi_79.txt |
add_update_callback(group, name=None, cb=None)
"""
Add a callback for a specific parameter name or group. If name is not specified then
all parameters in the group will trigger the callback. This callback will be executed
when a new value is read from th... | |
crazy_file_add_variable/pythonapi_65.txt | Thrust is an integer value ranging from 10001 (next to no power) to 60000
(full power). It corresponds to the mean thrust that will be applied to the
motors. There is a battery compensation algorithm applied to make the thrust
mostly independent of battery voltage. Roll/pitch are in degree and yawrate is
in degree/seco... | |
crazy_file_add_variable/pythonapi_97.txt | * float
* uint8_t and int8_t
* uint16_t and int16_t
* uint32_t and int32_t
* FP16: 16bit version of floating point, allows to pack more variables in one packet at the expense of precision. | |
crazy_file_add_variable/cfclientutilslogconf_7.txt | [ View all cfclient analysis ](/advisor/python/cfclient) | |
crazy_file_add_variable/basiclogpy_7.txt | print('Connecting to %s' % link_uri) | |
crazy_file_add_variable/Report2020Undergradu_53.txt | Check the camera is
open and display a
frame to the user.
No
No
Convert the BGR
colour frame into a
HLS colour frame.
Do a binary threshold
with lower and upper
bounds for the colour.
*1
*2
*1Processing Grayscale
*2Processing Grayscale
Colour
Processing
Colour
Processing
Alt. Image Processing Figure 31: High-level flow... | |
crazy_file_add_variable/incorrectbatteryvolt_49.txt | ](https://www.reddit.com/posts/2023/) | |
crazy_file_add_variable/cfclientutilslogconf_56.txt | [ 
](https://www.devseccon.com/) | |
crazy_file_add_variable/pythonapi_49.txt |
# Called on disconnect, no matter the reason
disconnected = Caller()
# Called on unintentional disconnect only
connection_lost = Caller()
# Called when the first packet in a new link is received
link_established = Caller()
# Called when the user requests... | |
crazy_file_add_variable/pythonapi_59.txt | ## Sending control setpoints with the commander framework | |
crazy_file_add_variable/pythonapi_95.txt |
logconf = LogConfig(name="Logging", period_in_ms=100)
logconf.add_variable("group1.name1", "float")
logconf.add_variable("group1.name2", "uint8_t")
logconf.add_variable("group2.name1", "int16_t")
| |
crazy_file_add_variable/incorrectbatteryvolt_15.txt | Members Online | |
crazy_file_add_variable/pythonapi_125.txt | © 2023 [ Bitcraze AB ](/) [  ](/) | |
crazy_file_add_variable/cfclientutilslogconf_27.txt |
lg.addVariable(LogVariable("motor.m1", "uint32_t"))
lg.addVariable(LogVariable("motor.m2", "uint32_t"))
lg.addVariable(LogVariable("motor.m3", "uint32_t"))
lg.addVariable(LogVariable("motor.m4", "uint32_t"))
self.log = self.helper.cf.log.create_log_pack... | |
crazy_file_add_variable/incorrectbatteryvolt_60.txt | * Crypto | |
crazy_file_add_variable/incorrectbatteryvolt_19.txt | Hi, | |
crazy_file_add_variable/basiclogpy_8.txt | # Try to connect to the Crazyflie
self._cf.open_link(link_uri) | |
crazy_file_add_variable/Report2020Undergradu_71.txt | the slower speed of the target in terms of pixels in the rotation tests compared to the translation tests.
Elaborating, the maximum speed of the target was 0.215m/s in the translation tests which converts to
50.8px/s at an altitude of 480mm or 31.3px/s at an altitude of 780mm; and the maximum speed of
the target was 10... | |
crazy_file_add_variable/pythonapi_10.txt | * [ Home ](/documentation/repository/crazyflie-lib-python/master/ "Home")
* [ installation ](/documentation/repository/crazyflie-lib-python/master/installation/ "installation")
* [ Installation ](/documentation/repository/crazyflie-lib-python/master/installation/install/ "Installation")
* [ USB permissions ... | |
crazy_file_add_variable/incorrectbatteryvolt_10.txt | [ Go to CrazyFlie ](/r/CrazyFlie/) | |
crazy_file_add_variable/pythonapi_27.txt | The library supports reading and writing parameters at run-time to the
firmware. This is intended to be used for data that is not continuously
changed by the firmware, like setting regulation parameters and reading out if
the power-on self-tests passed. Parameters should only be changed in the
firmware when being set f... | |
crazy_file_add_variable/Report2020Undergradu_46.txt | 5. If yaw orientation tracking is also desired, the angle of the target relative to the forward direction
needs to be distinguished by fitting a rectangle with the minimum area in which the contour of
the target can be enclosed. The respective angle of this rectangle can then be found from the
corners of the rectangle,... | |
crazy_file_add_variable/basiclogpy_5.txt | # Create a Crazyflie object without specifying any cache dirs
self._cf = Crazyflie() | |
crazy_file_add_variable/pythonapi_99.txt |
# Callback called when the connection is established to the Crazyflie
def connected(link_uri):
crazyflie.log.add_config(logconf)
if logconf.valid:
logconf.data_received_cb.add_callback(data_received_callback)
logconf.error_cb.add_cal... | |
crazy_file_add_variable/incorrectbatteryvolt_30.txt | logconf.add_variable('pm.vbat', 'FP16') | |
crazy_file_add_variable/pythonapi_60.txt | The control setpoints are not implemented as parameters, instead they have a
special API. | |
crazy_file_add_variable/incorrectbatteryvolt_21.txt | cflib.crtp.init_drivers() | |
crazy_file_add_variable/cfclientutilslogconf_11.txt | Enable here | |
crazy_file_add_variable/incorrectbatteryvolt_27.txt | logconf.add_variable('stateEstimate.x', 'float') | |
crazy_file_add_variable/pythonapi_21.txt | ### Variables and logging | |
crazy_file_add_variable/Report2020Undergradu_49.txt |
−ψi
if W < H
−ψi − 90o otherwise
(25)
Where ψ, yaw orientation, o
; ψi
, initial yaw orientation, o
; W, width, px; and H, height, px.
90o 90o
0o 90o
0o 90o x
y
0
1
2
3
W
H
The side between 1 and 2
or 0 and 3 is labelled W.
The side between 2 and 3
or 0 and 1 is labelled H.
Orientation
0o 90o
0o 90o x
y
0
1
2
3
W
H... | |
crazy_file_add_variable/Report2020Undergradu_35.txt | A0
D2
D3
D4
D7
D8
D9
D12
D13
Digital Input Pins
Reset Button
Left Motor Connection
Battery Input 6V-9V Mini-USB
Power Switch
D5 = Left Speed
D10 = Left Direction
D6 = Right Speed
D11 = Right Direction
A6 = Rear Solder Tab
A7 = Battery Monitor
Dagu S4A EDU Controller Dagu DG02S 48:1
Geared DC Motor
DC Motor
48:1 Gearbox... | |
crazy_file_add_variable/Report2020Undergradu_87.txt | 128 cv.drawContours (morphology, contours, -1, (255, 0, 0), 2) # cv.FILLED
129 output = np.zeros ((res_y * 2, res_x * 2, 3), dtype = "uint8")
130 output [0:res_y, 0:res_x] = frame
131 output [0:res_y, res_x:(res_x * 2)] = mode
132 output [res_y:(res_y * 2), 0:res_x] = threshold
133 output [res_y:(res_y * 2), res_x:(res... | |
crazy_file_add_variable/Report2020Undergradu_69.txt | Trial 1 574 477 495 551 772 799 824 14.7 2.38
Trial 2 583 473 490 511 767 793 820 17.2 2.79
Circular
Trial 1 947 778 794 814 470 484 497 17.6 2.64
Trial 2 833 780 793 808 471 510 539 4.98 0.75
Combined
Trial 1 663 552 576 593 - - - 14.1 2.22
Trial 2 664 564 574 596 - - - 14.5 2.29
Yaw
Trail 1 467 375 393 404 - - - 17.3... | |
crazy_file_add_variable/cfclientutilslogconf_30.txt | ## cfclient | |
crazy_file_add_variable/pythonapi_50.txt | To register for callbacks the following is used: | |
crazy_file_add_variable/pythonapi_30.txt | * Register parameter updated callbacks at any time in your application
* Connect to your Crazyflie (this will download the parameter TOC)
* Request updates for all the parameters
* The library will call all the callbacks registered
* The host can now write parameters that will be forwarded to the firmware... | |
crazy_file_add_variable/pythonapi_6.txt | * [ Old products ](/products/old-products/ "Old products")
* Buy
* [ Buy online __ ](https://store.bitcraze.io/ "Buy online")
* [ Local retailers ](/buy/local-retailers/ "Local retailers")
* [ Buyers guide ](/buy/buyers-guide/ "Buyers guide")
* Support
* [ Getting help ](/support/getting-help/... | |
crazy_file_add_variable/Report2020Undergradu_2.txt | 6.2 Image Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.3 Camera Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.4 Quadrotor Observations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.5 Visual Servoing . . . . . . ... | |
crazy_file_add_variable/Report2020Undergradu_16.txt | M4
Figure 6: Cross-mode (×) rotor arrangement to enable the translational and rotational displacements.
For further understanding, a simplified analytical model of a quadrotor is given by Equation 1, which
describes the resultant thrust acting on the quadrotor from the thrust of each rotor, and Equation 2 to
Equation 4... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.