R_adapted.data is 2d, making this more obvious

This commit is contained in:
Thomas Gubler 2015-01-08 09:14:21 +01:00
parent f13f41f704
commit 94ab82ba40
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ const unsigned int loop_interval_alarm = 6500; // loop interval in microseconds
att.pitch_sec = euler_angles_sec(1);
att.yaw_sec = euler_angles_sec(2);
memcpy(&att.R_sec[0], &R_adapted.data[0], sizeof(att.R_sec));
memcpy(&att.R_sec[0], &R_adapted.data[0][0], sizeof(att.R_sec));
att.rollspeed_sec = -x_aposteriori[2];
att.pitchspeed_sec = x_aposteriori[1];