asilluron / z

Z lib for JS
MIT License
5 stars 2 forks source link

feature: axis stabilization stream #8

Open asilluron opened 8 years ago

asilluron commented 8 years ago

As we develop what z is about, this might change.

However because of the simple name (z), a useful library could be straight-forward axis stabilization via a stream.

This would be useful for nodebots or future drone projects where there's high instability in an axis.

The api should accept 2 inputs. The first is the raw state of an axis. The second is the desired movement.

We can add options like acceleration later but the output should simply stream the delta needed to reconcile the desired movement while keeping the axis stable.