Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 2D poses #14

Merged
merged 7 commits into from
Mar 11, 2016
Merged

Fix 2D poses #14

merged 7 commits into from
Mar 11, 2016

Conversation

Ellon
Copy link
Collaborator

@Ellon Ellon commented Mar 2, 2016

This PR fixes #12 .

Poses 2D are identified as having the elements z, roll and pitch of the covariance matrix's diagonal set to negative. The maximum standard deviation on yaw is set to 85 degrees.

I'll let this PR open for a few days for testing before merging it on indigo branch.

@NikolausDemmel
Copy link

As mentioned in #10 (comment), I think it would be great if 2D covariances would be supported implicitely by the fact that one or multiple eigenvalues of the covariance are 0. At least for position this seems to already be the case (maybe we should actually test a "tilted" 2D covariance that as 0 variance not along one of the three main axes). Rotational covariance needs fixing anyway, which is tracked in #13, so we should just keep the 2D case in mind there.

I have not seen the -1 convention for indicating 2D poses. Can we find a reference for it? But I guess it should not really hurt, even if the same can be achieved with 0s.

@Ellon Ellon force-pushed the fix/2d-poses branch 3 times, most recently from 07160d5 to dfefca3 Compare March 3, 2016 09:28
@Ellon
Copy link
Collaborator Author

Ellon commented Mar 3, 2016

I changed the definition of a pose 2D for the one you suggested. Could you test it and see if it's ok?

@Ellon
Copy link
Collaborator Author

Ellon commented Mar 6, 2016

Just updated this PR to be on top of #15 . @NikolausDemmel Does it look good for your 2D visualization?

@Ellon
Copy link
Collaborator Author

Ellon commented Mar 6, 2016

pose2d_1

pose2d_2

@NikolausDemmel
Copy link

Cool stuff. I'll give it a try shortly.

Ellon added 7 commits March 11, 2016 13:38
…e covariance of z, roll and pitch <= 0)

A forth shape of Cone type was added to display 2D poses. Orientation visibility
is stored internally to allow proper enabling/disabling of the covariance
visualization.

The visibility should again be setted through setVisibility() method, instead of
direct accessing the root scene node.

While here, do some fixing on covariance properties.
Ellon added a commit that referenced this pull request Mar 11, 2016
@Ellon Ellon merged commit 9ea5cb0 into laas:indigo Mar 11, 2016
@Ellon Ellon deleted the fix/2d-poses branch March 11, 2016 12:51
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.

2 participants