You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check out the [automated API documentation](/docs/api/cflib/crazyflie/commander.md) for the Crazyflie cflib's commander frame work to find out what other functions you can use.
264
+
Check out the [automated API documentation](/docs/api/cflib/crazyflie/commander.md) for the Crazyflie cflib's commander framework to find out what other functions you can use.
265
265
266
266
## Parameters
267
267
@@ -274,7 +274,7 @@ functionality should be used when:
274
274
If this is not the case then the logging framework should be used
275
275
instead.
276
276
277
-
To set a parameter you must have the connected to the Crazyflie. A
277
+
To set a parameter you must be connected to the Crazyflie. A
278
278
parameter is set using:
279
279
280
280
```python
@@ -292,7 +292,7 @@ Crazyflie).
292
292
```python
293
293
add_update_callback(group, name=None, cb=None)
294
294
"""
295
-
Add a callback for a specific parameter name or group. If not name is specified then
295
+
Add a callback for a specific parameter name or group. If name is not specified then
296
296
all parameters in the group will trigger the callback. This callback will be executed
297
297
when a new value is read from the Crazyflie.
298
298
"""
@@ -356,11 +356,11 @@ The API to create and get information from LogConfig:
356
356
add_variable(name, fetch_as=None)
357
357
"""Add a new variable to the configuration.
358
358
359
-
name - Complete name of the variable in the form group.name
359
+
name - Full name of the variable in the form group.name
360
360
fetch_as - String representation of the type the variable should be
361
361
fetched as (i.e uint8_t, float, FP16, etc)
362
362
363
-
If no fetch_as type is supplied, then the stored as type will be used
363
+
If no fetch_as type is supplied, then the stored type will be used
364
364
(i.e the type of the fetched variable is the same as it's stored in the
365
365
Crazyflie)."""
366
366
@@ -404,7 +404,7 @@ internal type to transferred type before transfers:
404
404
- uint8\_t and int8\_t
405
405
- uint16\_t and int16\_t
406
406
- uint32\_t and int32\_t
407
-
- FP16: 16bit version of floating point, allows to pack more variable
407
+
- FP16: 16bit version of floating point, allows to pack more variables
408
408
in one packet at the expense of precision.
409
409
410
410
The logging cannot be started until your are connected to a Crazyflie:
@@ -445,7 +445,7 @@ be added.
445
445
The synchronous classes are wrappers around the asynchronous API, where the asynchronous
446
446
calls/callbacks are replaced with blocking calls. The synchronous API does not
447
447
provide the full flexibility of the asynchronous API, but is useful when writing
448
-
small scripts for logging for instance.
448
+
small scripts, for logging for instance.
449
449
450
450
The synchronous API uses the python Context manager concept, that is the ```with``` keyword.
451
451
A resource is allocated when entering a ```with``` section and automatically released when
@@ -508,7 +508,7 @@ and SyncCrazyflie instances. To get the log values, iterate the instance.
508
508
509
509
### MotionCommander
510
510
511
-
The MotionCommander class is intended to simplify basic autonomous flight, where the motion control is done from the host computer. The Crazyflie takes off
511
+
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
512
512
when entering the "with" section, and lands when exiting. It has functions for basic
513
513
movements that are blocking until the motion is finished.
514
514
@@ -529,7 +529,7 @@ system, all positions are relative. It is mainly intended to be used with a Flow
529
529
530
530
### PositionHlCommander
531
531
532
-
The PositionHlCommander is intended to simplify basic autonomous flight, where all the high level commands exists inside the Crazyflie firmware. The Crazyflie takes off
532
+
The PositionHlCommander is intended to simplify basic autonomous flight, where all the high level commands exist inside the Crazyflie firmware. The Crazyflie takes off
533
533
when entering the "with" section, and lands when exiting. It has functions for basic
534
534
movements that are blocking until the motion is finished.
0 commit comments