TeerapongPoom

Results 2 comments of TeerapongPoom

From ros2djs tutorial [http://wiki.ros.org/ros2djs/Tutorials/VisualizingAMap](url) I added this line `viewer.shift(-8.75,-5.25);` into this function ``` gridClient.on('change', function(){ viewer.scaleToDimensions(gridClient.currentGrid.width, gridClient.currentGrid.height); }); ``` Those numbers (-8.75,-5.25) are my map's width and height in meter...

> > From ros2djs tutorial [http://wiki.ros.org/ros2djs/Tutorials/VisualizingAMap](url) I added this line `viewer.shift(-8.75,-5.25);` into this function > > > > ``` > > gridClient.on('change', function(){ > > viewer.scaleToDimensions(gridClient.currentGrid.width, gridClient.currentGrid.height); > > });...