Skip to content

Using Eigen functions in Moment of intertia#3560

Draft
kunaltyagi wants to merge 10 commits intoPointCloudLibrary:masterfrom
kunaltyagi:moment_of_intertia-fix
Draft

Using Eigen functions in Moment of intertia#3560
kunaltyagi wants to merge 10 commits intoPointCloudLibrary:masterfrom
kunaltyagi:moment_of_intertia-fix

Conversation

@kunaltyagi
Copy link
Member

Separating out since it failed tests and I couldn't debug the issue.

Created a PR to keep it on my todo list

@kunaltyagi kunaltyagi self-assigned this Jan 16, 2020
@kunaltyagi kunaltyagi force-pushed the moment_of_intertia-fix branch from 241e2cb to c8f25e0 Compare January 16, 2020 00:47
@kunaltyagi
Copy link
Member Author

kunaltyagi commented Jan 16, 2020

Added 2 more commits failing tests

@kunaltyagi kunaltyagi force-pushed the moment_of_intertia-fix branch 2 times, most recently from f39a087 to aaf22b3 Compare January 22, 2020 00:45
@kunaltyagi kunaltyagi force-pushed the moment_of_intertia-fix branch from aaf22b3 to 79d4640 Compare January 30, 2020 17:39
@kunaltyagi kunaltyagi force-pushed the moment_of_intertia-fix branch from 514c9fe to 96af519 Compare January 31, 2020 06:04
@kunaltyagi kunaltyagi force-pushed the moment_of_intertia-fix branch from 96af519 to 8ecbd58 Compare January 31, 2020 06:24
@kunaltyagi
Copy link
Member Author

BTW can I get some eyes on the spin, moment_of_intertia and brisk code to tell me where I'm getting it wrong. I think I give up 😆

*/
Eigen::ArrayXXd
computeSiForPoint (int index) const;
template <int Storage = Eigen::ColMajor> auto
Copy link
Member

Choose a reason for hiding this comment

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

What is the reason to use trailing return type here?

Copy link
Member Author

Choose a reason for hiding this comment

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

The type is a bit too long and I was planning on adding something like template <Storage> auto /*Eigen::ArrayXXd<Storage>*/ for readability if this worked.

@stale
Copy link

stale bot commented Jun 17, 2020

Marking this as stale due to 30 days of inactivity. Commenting or adding a new commit to the pull request will revert this.

@stale stale bot added the status: stale label Jun 17, 2020

if (size_list_[scale] < size)
size_list_[scale] = size;
size_list_[scale] = std::min(size_list_[scale], size);
Copy link
Member Author

Choose a reason for hiding this comment

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

This line causes 1 failure. See separate branch without this line and passing tests. Ideas why this line causes the error?

Copy link
Member Author

Choose a reason for hiding this comment

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

@stale stale bot removed the status: stale label Jun 17, 2020
@stale
Copy link

stale bot commented Jul 18, 2020

Marking this as stale due to 30 days of inactivity. Commenting or adding a new commit to the pull request will revert this.

@stale stale bot added the status: stale label Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants