Skip to content

EUN Coordinate System - #2228

Merged
DavidMansolino merged 6 commits into
developfrom
feature-EUN-coordinate-system
Sep 11, 2020
Merged

EUN Coordinate System#2228
DavidMansolino merged 6 commits into
developfrom
feature-EUN-coordinate-system

Conversation

@DavidMansolino

Copy link
Copy Markdown
Member

This PR implements: #2220

In addition, it brings several cleanups from #1643 and generalizes the coordinate system implementation (it will be extremely simple in the future to add more coordinate system).

@DavidMansolino DavidMansolino added the enhancement Implementation of a minor feature label Sep 11, 2020
@DavidMansolino DavidMansolino added this to the R2021a milestone Sep 11, 2020
@DavidMansolino DavidMansolino self-assigned this Sep 11, 2020
@DavidMansolino DavidMansolino added the test suite Start the test suite label Sep 11, 2020
if (WbWorld::instance()->worldInfo()->coordinateSystem() == "ENU")
return enu_swap[i];
else
else // "NUE" or "EUN"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I am not sure in the EUN case it makes sense to rotate the background.
In the ENU case it clearly makes sense since the sky should be up, but here the sky is already up, and in the background, there is no notion of north and east but rather front and right. Furthermore, if we want to keep 100% compatibility with < R2020b worlds with northDirection set to '0 0 1' we should not rotate it.

@cyberbotics/maintainers what do you think?

@DavidMansolino
DavidMansolino marked this pull request as ready for review September 11, 2020 10:51
@DavidMansolino DavidMansolino changed the title Draft of EUN coordinate system. EUN Coordinate System Sep 11, 2020
@DavidMansolino
DavidMansolino requested a review from a team September 11, 2020 12:15

@omichel omichel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you.

@DavidMansolino DavidMansolino linked an issue Sep 11, 2020 that may be closed by this pull request
@DavidMansolino
DavidMansolino merged commit 4ab5318 into develop Sep 11, 2020
@DavidMansolino
DavidMansolino deleted the feature-EUN-coordinate-system branch September 11, 2020 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Implementation of a minor feature test suite Start the test suite

Development

Successfully merging this pull request may close these issues.

EUN Worlds

2 participants