Removed trailing whitespaces
Esse commit está contido em:
@@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"actions": [],
|
"actions": [],
|
||||||
"canPull": false,
|
"canPull": false,
|
||||||
"canPush": false,
|
"canPush": false,
|
||||||
"compatibility": [],
|
"compatibility": [],
|
||||||
"description": "Combox recipe for ardrone-webflight development.",
|
"description": "Combox recipe for ardrone-webflight development.",
|
||||||
"directories": [],
|
"directories": [],
|
||||||
"documentation": "",
|
"documentation": "",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"group": "root",
|
"group": "root",
|
||||||
"mode": "755",
|
"mode": "755",
|
||||||
"name": "install.sh",
|
"name": "install.sh",
|
||||||
"owner": "root",
|
"owner": "root",
|
||||||
"path": "/var/lib/comodit/webflight/install.sh",
|
"path": "/var/lib/comodit/webflight/install.sh",
|
||||||
"template": {
|
"template": {
|
||||||
"delimiter": {
|
"delimiter": {
|
||||||
"end": "}",
|
"end": "}",
|
||||||
"start": "${"
|
"start": "${"
|
||||||
},
|
},
|
||||||
"name": "install.sh"
|
"name": "install.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"groups": [],
|
"groups": [],
|
||||||
"handlers": [],
|
"handlers": [],
|
||||||
"name": "ardrone-webflight",
|
"name": "ardrone-webflight",
|
||||||
"organization": "Eschnou",
|
"organization": "Eschnou",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "git"
|
"name": "git"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nodejs"
|
"name": "nodejs"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"price": "0.00",
|
"price": "0.00",
|
||||||
"repositories": [],
|
"repositories": [],
|
||||||
"services": [],
|
"services": [],
|
||||||
"url": "",
|
"url": "",
|
||||||
"users": [],
|
"users": [],
|
||||||
"uuid": "B72AD380C2E611E2B891B16EAC1F0212",
|
"uuid": "B72AD380C2E611E2B891B16EAC1F0212",
|
||||||
"version": 10
|
"version": 10
|
||||||
}
|
}
|
||||||
@@ -1,80 +1,80 @@
|
|||||||
{
|
{
|
||||||
"canPull": false,
|
"canPull": false,
|
||||||
"canPush": false,
|
"canPush": false,
|
||||||
"description": "Install virtual box guest additions and configure mount points.",
|
"description": "Install virtual box guest additions and configure mount points.",
|
||||||
"directories": [
|
"directories": [
|
||||||
{
|
{
|
||||||
"group": "root",
|
"group": "root",
|
||||||
"mode": "755",
|
"mode": "755",
|
||||||
"name": "ComodIT Logs",
|
"name": "ComodIT Logs",
|
||||||
"owner": "root",
|
"owner": "root",
|
||||||
"path": "/var/log/comodit/virtualbox/"
|
"path": "/var/log/comodit/virtualbox/"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"documentation": "",
|
"documentation": "",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"group": "root",
|
"group": "root",
|
||||||
"mode": "755",
|
"mode": "755",
|
||||||
"name": "install.sh",
|
"name": "install.sh",
|
||||||
"owner": "root",
|
"owner": "root",
|
||||||
"path": "/var/lib/comodit/applications/virtualbox/install.sh",
|
"path": "/var/lib/comodit/applications/virtualbox/install.sh",
|
||||||
"template": {
|
"template": {
|
||||||
"delimiter": {
|
"delimiter": {
|
||||||
"end": "}",
|
"end": "}",
|
||||||
"start": "${"
|
"start": "${"
|
||||||
},
|
},
|
||||||
"name": "install.sh"
|
"name": "install.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"groups": [],
|
"groups": [],
|
||||||
"handlers": [
|
"handlers": [
|
||||||
{
|
{
|
||||||
"do": [
|
"do": [
|
||||||
{
|
{
|
||||||
"action": "execute",
|
"action": "execute",
|
||||||
"resource": "file://install.sh"
|
"resource": "file://install.sh"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"on": [
|
"on": [
|
||||||
"_install"
|
"_install"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"name": "virtualbox-guest-additions",
|
"name": "virtualbox-guest-additions",
|
||||||
"packages": [],
|
"packages": [],
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"description": "",
|
"description": "",
|
||||||
"key": "shares",
|
"key": "shares",
|
||||||
"name": "Shares",
|
"name": "Shares",
|
||||||
"schema": {
|
"schema": {
|
||||||
"items": {
|
"items": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"mount": {
|
"mount": {
|
||||||
"description": "Share mount point",
|
"description": "Share mount point",
|
||||||
"pretty": "Mount point",
|
"pretty": "Mount point",
|
||||||
"required": true,
|
"required": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"description": "Share name",
|
"description": "Share name",
|
||||||
"pretty": "Name",
|
"pretty": "Name",
|
||||||
"required": true,
|
"required": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"version": 1
|
"version": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"price": "0.00",
|
"price": "0.00",
|
||||||
"repositories": [],
|
"repositories": [],
|
||||||
"services": [],
|
"services": [],
|
||||||
"url": "https://www.virtualbox.org/",
|
"url": "https://www.virtualbox.org/",
|
||||||
"users": []
|
"users": []
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -4,4 +4,4 @@ Author:
|
|||||||
With additional contributions from:
|
With additional contributions from:
|
||||||
Bernhard K. Weisshuhn (bkw@codingforce.com)
|
Bernhard K. Weisshuhn (bkw@codingforce.com)
|
||||||
Benjamin Nortier (@bjnortier)
|
Benjamin Nortier (@bjnortier)
|
||||||
Andreas (@functino)
|
Andreas (@functino)
|
||||||
|
|||||||
+13
-13
@@ -2,23 +2,23 @@
|
|||||||
|
|
||||||
Pilot the AR.Drone 2.0 directly from your browser. Extend the application with plugins
|
Pilot the AR.Drone 2.0 directly from your browser. Extend the application with plugins
|
||||||
to add features such as video recording, autonomous flight, face recognition, and more.
|
to add features such as video recording, autonomous flight, face recognition, and more.
|
||||||
It makes it a very friendly environment to quickly build and experiment with your drone
|
It makes it a very friendly environment to quickly build and experiment with your drone
|
||||||
(e.g. during a nodecopter event).
|
(e.g. during a nodecopter event).
|
||||||
|
|
||||||
If you encounter an issue; please submit it to the issue tracker! You can also catch
|
If you encounter an issue; please submit it to the issue tracker! You can also catch
|
||||||
up with me (eschnou) on twitter or on #freenode (channel #nodecopter).
|
up with me (eschnou) on twitter or on #freenode (channel #nodecopter).
|
||||||
|
|
||||||
**This branch is the development branch, there are no packaged release yet.**
|
**This branch is the development branch, there are no packaged release yet.**
|
||||||
|
|
||||||
## Built-in plugins
|
## Built-in plugins
|
||||||
|
|
||||||
* **[video-png](plugins/video-png/)** stream the video to the browser through static image loading,
|
* **[video-png](plugins/video-png/)** stream the video to the browser through static image loading,
|
||||||
works great in every browser.
|
works great in every browser.
|
||||||
|
|
||||||
* **[video-stream](plugins/video-stream/)** use [node-dronestream](https://github.com/bkw/node-dronestream) to stream the raw h264 video
|
* **[video-stream](plugins/video-stream/)** use [node-dronestream](https://github.com/bkw/node-dronestream) to stream the raw h264 video
|
||||||
feed via webscokets and rendering in Javascript !!! Need a modern browser and CPU.
|
feed via webscokets and rendering in Javascript !!! Need a modern browser and CPU.
|
||||||
|
|
||||||
* **[hud](plugins/hud/)** to visualize a head-up display with artificial horizon, compass,
|
* **[hud](plugins/hud/)** to visualize a head-up display with artificial horizon, compass,
|
||||||
altimeter, etc. Based on [nodecopter-cockpit](https://github.com/bkw/nodecopter-cockpit)
|
altimeter, etc. Based on [nodecopter-cockpit](https://github.com/bkw/nodecopter-cockpit)
|
||||||
|
|
||||||
* **[pilot](plugins/pilot)** to control the drone remotely using the keyboard. Based on [drone-browser](https://github.com/functino/drone-browser).
|
* **[pilot](plugins/pilot)** to control the drone remotely using the keyboard. Based on [drone-browser](https://github.com/functino/drone-browser).
|
||||||
@@ -42,27 +42,27 @@ bower install
|
|||||||
3. Run `node app.js`
|
3. Run `node app.js`
|
||||||
4. Point your browser to http://localhost:3000/
|
4. Point your browser to http://localhost:3000/
|
||||||
|
|
||||||
If you have enabled the **pilot** plugin, you can fly the drone with the following keys. Yes,
|
If you have enabled the **pilot** plugin, you can fly the drone with the following keys. Yes,
|
||||||
these are azerty bindings :-) If you need qwerty ones, just hack the plugin. I'll need to find
|
these are azerty bindings :-) If you need qwerty ones, just hack the plugin. I'll need to find
|
||||||
a way to provide custome configuration etc.
|
a way to provide custome configuration etc.
|
||||||
|
|
||||||
Use `Z, S, Q, D` to move front, back and sideways. Use your `cursors` to go up/down or turn
|
Use `Z, S, Q, D` to move front, back and sideways. Use your `cursors` to go up/down or turn
|
||||||
clockwise/counter clockwise. Use `t` to takeoff and `l` for landing.
|
clockwise/counter clockwise. Use `t` to takeoff and `l` for landing.
|
||||||
|
|
||||||
## Adding your own plugin
|
## Adding your own plugin
|
||||||
|
|
||||||
There is no tutorial yet, in the meanwhile, just have a look at the built in plugins,
|
There is no tutorial yet, in the meanwhile, just have a look at the built in plugins,
|
||||||
it is faily straightforward.
|
it is faily straightforward.
|
||||||
|
|
||||||
I would like to maintain a list of user plugins. If you hack something, please let me know
|
I would like to maintain a list of user plugins. If you hack something, please let me know
|
||||||
and I'll add you to the list.
|
and I'll add you to the list.
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
This work is based on the integration of [nodecopter-cockpit](https://github.com/bkw/nodecopter-cockpit)
|
This work is based on the integration of [nodecopter-cockpit](https://github.com/bkw/nodecopter-cockpit)
|
||||||
and [drone-browser](https://github.com/functino/drone-browser), refactored in a plugin architecture.
|
and [drone-browser](https://github.com/functino/drone-browser), refactored in a plugin architecture.
|
||||||
Thanks to [@bkw](https://github.com/bkw/) and [@functino](https://github.com/functino) for sharing! Also
|
Thanks to [@bkw](https://github.com/bkw/) and [@functino](https://github.com/functino) for sharing! Also
|
||||||
a big thank you to [@felixge](https://github.com/felixge) for his [node-ar-drone](https://github.com/felixge/node-ar-drone) library
|
a big thank you to [@felixge](https://github.com/felixge) for his [node-ar-drone](https://github.com/felixge/node-ar-drone) library
|
||||||
which pushed me into buying a drone and become crazy about these little flying robots!
|
which pushed me into buying a drone and become crazy about these little flying robots!
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
+2
-2
@@ -35,8 +35,8 @@ app.configure('development', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.get('/', function (req, res) {
|
app.get('/', function (req, res) {
|
||||||
res.render('index', {
|
res.render('index', {
|
||||||
title: 'Express'
|
title: 'Express'
|
||||||
,scripts: scripts
|
,scripts: scripts
|
||||||
,styles: styles
|
,styles: styles
|
||||||
});
|
});
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário