Skip to content

Fix continuous map updates#30

Merged
rctoris merged 1 commit intoRobotWebTools:developfrom
guilhermelawless:develop
Feb 29, 2016
Merged

Fix continuous map updates#30
rctoris merged 1 commit intoRobotWebTools:developfrom
guilhermelawless:develop

Conversation

@guilhermelawless
Copy link
Copy Markdown
Contributor

-Revert Viewer shifting offsets before scaling
-Added an example page to view continuous map updates

Started on issue #29, although nothing to do with the title.

Previous build would not revert the offset shift for map origin, causing the following scales and shifts to go out of control and map not showing any more, only black background. In order to revert the offset, the previous offset was saved in new viewer variables viewer.x_prev_shift and viewer.y_prev_shift

This seems to be working for both continuous and one-time map updates. Someone with more experience could make the necessary adjustments in the code, most likely.

-Revert Viewer shifting offsets before scaling
-Added an example page to view continuous map updates
@rctoris
Copy link
Copy Markdown
Contributor

rctoris commented Feb 29, 2016

👍 Awesome, thanks!

rctoris added a commit that referenced this pull request Feb 29, 2016
@rctoris rctoris merged commit 3029145 into RobotWebTools:develop Feb 29, 2016
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