Guillaume Chauvon
/
Asserve12
asser1
reglages.h@3:1dba6eca01ad, 2019-05-06 (annotated)
- Committer:
- GuillaumeCH
- Date:
- Mon May 06 13:48:45 2019 +0000
- Revision:
- 3:1dba6eca01ad
- Parent:
- 2:5764f89a27f6
- Child:
- 4:deef042e9c02
O
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Coconara | 0:6ca63d45f0ee | 1 | //position initiale du robot |
Coconara | 0:6ca63d45f0ee | 2 | #define X_INIT 0 |
Coconara | 0:6ca63d45f0ee | 3 | #define Y_INIT 0 |
Coconara | 0:6ca63d45f0ee | 4 | #define THETA_INIT 0 |
Coconara | 0:6ca63d45f0ee | 5 | |
Coconara | 0:6ca63d45f0ee | 6 | //propre a chaque robot |
GuillaumeCH | 3:1dba6eca01ad | 7 | #define ECART_ROUE 31200 // a augmenter si l'angle reel est plus grand que l'angle vise //31190 |
GuillaumeCH | 3:1dba6eca01ad | 8 | #define DISTANCE_PAR_TICK_D 100000/11862 |
GuillaumeCH | 3:1dba6eca01ad | 9 | #define DISTANCE_PAR_TICK_G 100000/11862 |
Coconara | 0:6ca63d45f0ee | 10 | |
GuillaumeCH | 2:5764f89a27f6 | 11 | |
GuillaumeCH | 2:5764f89a27f6 | 12 | |
Coconara | 0:6ca63d45f0ee | 13 | |
Coconara | 0:6ca63d45f0ee | 14 | //correction mécanique |
GuillaumeCH | 2:5764f89a27f6 | 15 | #define COEFF_MOTEUR_D 1.00 //1.085 |
GuillaumeCH | 3:1dba6eca01ad | 16 | #define COEFF_MOTEUR_G 0.98 //1.10 |
Coconara | 0:6ca63d45f0ee | 17 | |
Coconara | 0:6ca63d45f0ee | 18 | //contraintes mecaniques |
Coconara | 0:6ca63d45f0ee | 19 | #define PWM_MAX 900 //PWM maximal, à cette valeur le robot est à sa vitesse maximale admissible |
Coconara | 0:6ca63d45f0ee | 20 |