Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to animate the headlights #18

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "airbnb-base",
"rules": {
"indent": ["error", 4],
"no-unused-expressions": ["error", { "allowTernary": true }],
"indent": [2, 4],
"no-unused-expressions": [2, { "allowTernary": true }],
// specify the maximum length of a line in your program
// http://eslint.org/docs/rules/max-len
"max-len": [2, 150, 2, {
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,20 @@ To fly with the keyboard follow the below instructions.
**d** | Yaw right
**t** | Toggle takeoff & land
**f** | Flattrim
**l** | Flash the headlights (if equipped)
**k** | Blink the headlights (if equipped)
**o** | Oscillate the headlights (if equipped)
**Escape** | Emergency land

## Tests
To run the test runner execute `npm test`.

## Changelog

### 1.2.0
- Added support for animating the headlights on equipped drones
- Fixed a bug with saturated Bluetooth environments

### 1.1.0
- Added support for Mambo, Blaze and New Z minidrones
- Added support for setting max tilt, altitude, vertical speed, rotation speed and defining a drone type to connect to
Expand Down
Loading