This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:lesson7 [2019/11/07 16:44] golikov [Lesson 08. OrbiCraft positioning with magnetometer] |
en:lesson7 [2019/11/14 16:49] golikov |
||
---|---|---|---|
Line 207: | Line 207: | ||
int hyro_state = 0; // Initialize angular velocity sensor status | int hyro_state = 0; // Initialize angular velocity sensor status | ||
int mag_state = 0; // Initialize magnetometer status | int mag_state = 0; // Initialize magnetometer status | ||
- | // int alpha_goal = 0; // Target angle | + | int alpha_goal = 0; // Target angle |
double mag_alpha = 0; | double mag_alpha = 0; | ||
int i; | int i; |