Update README.md
Esse commit está contido em:
+2
-2
@@ -57,10 +57,10 @@ Sets all drone movement commands to `0`, making it effectively hover in place.
|
|||||||
|
|
||||||
#### Events
|
#### Events
|
||||||
|
|
||||||
A client will emit landed, hovering, flying, landing, batteryChange, and altitudeChange events as long as demo navdata is enabled. Here is a example for catching event:
|
A client will emit `landed`, `hovering`, `flying`, `landing`, `batteryChange`, and `altitudeChange` events as long as demo navdata is enabled. Here is a example for catching event:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$client->on('landed', function($frame) {
|
$client->on('landed', function() {
|
||||||
// do something
|
// do something
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário