Skip to content
Snippets Groups Projects
Commit 94ab82ba authored by Thomas Gubler's avatar Thomas Gubler
Browse files

R_adapted.data is 2d, making this more obvious

parent f13f41f7
No related branches found
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment