Skip to content

Conversation

@whoenig
Copy link

@whoenig whoenig commented Dec 7, 2022

Compiles, but not tested. However, it includes some logging variables, so we can check both orientation and (filtered) omega without the need to fly.

@whoenig whoenig requested a review from KhWahba December 7, 2022 13:05
@KhWahba KhWahba requested review from KhWahba and removed request for KhWahba December 13, 2022 22:22
@KhWahba
Copy link
Collaborator

KhWahba commented Dec 13, 2022

Please review the latest commits

Comment on lines 293 to 300
c_float Ax_new[45] = {
1, attPoint.z, -attPoint.y, n1.x, n2.x, 1, -attPoint.z, attPoint.x, n1.y, n2.y, 1, attPoint.y, attPoint.x, n1.z, n2.z,
1, attPoint2.z, -attPoint2.y, n3.x, n4.x, 1, -attPoint2.z, attPoint2.x, n3.y, n4.y, 1, attPoint2.y, attPoint2.x, n3.z, n4.z,
1, attPoint3.z, -attPoint3.y, n5.x, n6.x, 1, -attPoint3.z, attPoint3.x, n5.y, n6.y, 1, attPoint3.y, attPoint3.x, n5.z, n6.z,
};
c_int Ax_new_n = 45;
c_float l_new[12] = {F_d.x, F_d.y, F_d.z, M_d.x, M_d.y, M_d.z, -INFINITY, -INFINITY, -INFINITY, -INFINITY, -INFINITY, -INFINITY,};
c_float u_new[12] = {F_d.x, F_d.y, F_d.z, M_d.x, M_d.y, M_d.z, 0, 0, 0, 0, 0, 0};
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might require us to increase the task size even more: (45+12+12)*4 = 276 Bytes for these lines alone.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just making sure that we can access all of the values and the changes are correct, but we can update this later to change it in a loop as discussed before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants