[−][src]Crate ramp_maker
RampMaker - Stepper Acceleration Ramp Generator
RampMaker is a library that generates acceleration profiles for stepper motors. It can be used independently, or together with Step/Dir.
Trinamic have an overview over acceleration profiles on their website.
Cargo Features
This library works without the standard library (no_std
) by default. This
limits support for f32
/f64
for acceleration profiles that need to
compute a square root, as this operation is not available in the core
library (if you're using the default fixed-point types, you're not affected
by this).
If you need full support for f32
/f64
, you have the following options:
- Enable support for the standard library via the
std
feature. This obviously only works, if the standard library is available for your target, and you want to use it. - Enable the
libm
feature. This provides the require square root support via libm.
Re-exports
pub use self::flat::Flat; |
pub use self::trapezoidal::Trapezoidal; |
Modules
flat | Flat acceleration profile |
trapezoidal | Trapezoidal acceleration profile |
Traits
AccelerationProfile | Abstract interface for acceleration profiles |