slimmed down nuts_bolts

This commit is contained in:
Simen Svale Skogsrud
2011-02-11 23:53:58 +01:00
parent 977c4948bd
commit bfd8cfa7dd
3 changed files with 6 additions and 11 deletions

View File

@ -75,6 +75,8 @@ int32_t position[3];
static uint8_t acceleration_manager_enabled; // Acceleration management active?
#define ONE_MINUTE_OF_MICROSECONDS 60000000.0
// Calculates the distance (not time) it takes to accelerate from initial_rate to target_rate using the
// given acceleration:
inline double estimate_acceleration_distance(double initial_rate, double target_rate, double acceleration) {