npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

caf_ardrone_setup

v0.0.4

Published

Firmware drone changes to support caf_ardrone

Downloads

4

Readme

CAF (Cloud Assistant Framework)

Co-design permanent, active, stateful, reliable cloud proxies with your web app.

See http://www.cafjs.com

A placeholder for firmware changes needed to run caf_ardrone in the ArDrone 2.0

** UNDER CONSTRUCTION**

This repository has submodules, after cloning use:

git submodule update --init 

Goals:

  • Connect the drone as a client of a wpa protected network (see https://github.com/daraosn/ardrone-wpa2).
  • Enable dns queries in the drone (cross-compile libresolv.so)
  • Enable a gps dongle (like USGlobalSat ND100S) accessible via gpsd (cross-compile gpsd and add kernel modules for usb serial- see http://www.drone-rk.org/wiki/ARDrone)
  • Use udev rules to conditionally start the drone in caf_ardrone mode if a particular USB dongle is present. It is difficult to recover the drone if wifi gets messed up, and removing the dongle provides a simple way to boot normally.
  • Synchronize local clock with ntp (i.e., cross-compile ntpclient http://doolittle.icarus.com/ntpclient/)
  • Start a node.js daemon (like https://github.com/cafjs/caf_hellodrone_cli.git) that will push video streams and execute atomically bundles of commands with precise timing. See https://github.com/felixge/node-cross-compiler.git for cross-compiling node.js.
  • Automatically restart a crashed node.js daemon with mon (see https://github.com/visionmedia/mon.git). Note that there is very little free memory in the drone and we aggressively force garbage collections by starting node with option --expose_gc. We also overprovision virtual memory (i.e., setting overcommit_ratio). This risky strategy occasionally fails and we use mon to restart the daemon...
  • Periodically scan local wifi networks to improve indoors location capabilities.

The installation process will check that the current firmware version matches the target one (currently 2.3.3, to upgrade download from http://durrans.com/ardrone/firmware/2.3.3/, place the plf file in the /update directory -by, for example, using ftp- and reboot). If it matches it just untars a patch file in the root directory (see applyTar.sh). To create that tar file, some customization is needed (for example, npm install the daemon with your changes in /data/caf or set your wpa password and essid in /etc/wpa_supplicant.conf), and this is done with the script buildTar.sh. The name of the new tar file is /tmp/changes.tar.gz.

WARNING

This repository does not currently provide an easy and bullet-proof way to upgrade your drone. This is all work in progress, and it is very likely that scripts will leave your drone in a corrupted state from which it will be very difficult to recover. You have been warned...