Réaffecter l'angle au gyroscope en même temps que celui du robot lors d'un recalage - sinon, le recalage est "oublié" dès la prochaine lecture du gyroscope
This commit is contained in:
parent
3d64e7ae94
commit
6b3ba391b1
@ -30,6 +30,7 @@ void Localisation_set_y(float y_mm){
|
||||
|
||||
void Localisation_set_angle(float angle_radian){
|
||||
position.angle_radian = angle_radian;
|
||||
gyro_set_angle_radian(angle_radian);
|
||||
}
|
||||
|
||||
void Localisation_gestion(){
|
||||
|
Loading…
Reference in New Issue
Block a user