Guillaume Chauvon
/
Asserve12
asser1
Diff: hardware.cpp
- Revision:
- 4:deef042e9c02
- Parent:
- 3:1dba6eca01ad
diff -r 1dba6eca01ad -r deef042e9c02 hardware.cpp --- a/hardware.cpp Mon May 06 13:48:45 2019 +0000 +++ b/hardware.cpp Wed May 08 20:46:46 2019 +0000 @@ -9,17 +9,17 @@ // PWM_MAX est définit dans réglage; bool moteurs_arret = false; -//mot G + XNucleoIHM02A1 *x_nucleo_ihm02a1; //Création d'une entité pour la carte de contôle des pas à pas L6470_init_t init[L6470DAISYCHAINSIZE] = { - /* First Motor. */ + /* First Motor.G */ { 12, /* Motor supply voltage in V. */ 200, /* Min number of steps per revolution for the motor. */ 4, /* Max motor phase voltage in A. */ 7, /* Max motor phase voltage in V. */ 300, /* Motor initial speed [step/s]. */ - 247.4, /* Motor acceleration [step/s^2] (comment for infinite acceleration mode). */ + 246.5, /* Motor acceleration [step/s^2] (comment for infinite acceleration mode). */ 1500.0, /* Motor deceleration [step/s^2] (comment for infinite deceleration mode). */ 992.0, /* Motor maximum speed [step/s]. */ 0.0, /* Motor minimum speed [step/s]. */