forked from Archive/PX4-Autopilot
R_adapted.data is 2d, making this more obvious
This commit is contained in:
parent
f13f41f704
commit
94ab82ba40
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue