You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
While I was trying to build map_nav, I noticed that add layer part has several errors.
As I touched mini view at upper right side (the occupancy layer preview), the map just disappears
and only arrows and paths appears.
I tried to fix this problem by loading separate "main activity" and two layouts.
Initially, the map appears in large scale and camera view appears in small scale (first layout, swaped view in xml file).
If I touch the camera preview at upper right side, MainActivity is loaded again with different layout (the one that is in git hub, camera view in larger scale and map in smaller scale).
This method succeeded in loading map, however, the arrow and paths did not appear.
If I press the map for a long time, arrows and paths appears and simultaneously, another arrow appears at the position I long pressed but map still disappears.
So far, I figured out that I cannot call "occupancylayout" class and "lase", "path", " initial pose" classes at the same time. In another words, if the GLsurfaceview draws laser, path and initial pose, occupancy class is not called.
However, occasionally, highly rarely, occupancylayer class is called and map is shown in a short amount of time.
Does anyone have solution to original problem or to my solution?
mapView.addLayer(occupancyGridLayer);
mapView.addLayer(laserScanLayer);
mapView.addLayer(pathLayer);
mapView.addLayer(mapPosePublisherLayer);
mapView.addLayer(initialPoseSubscriberLayer);
mapView.addLayer(viewControlLayer)
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, @HelloEgg , in the make_a_map project I just using method mapView.addLayer() as follow: mapView.addLayer(viewControlLayer); mapView.addLayer(occupancyGridLayer); mapView.addLayer(laserScanLayer); mapView.addLayer(robotLayer); mapView.addLayer(robotPose); mapView.addLayer(robotPath); mapView.addLayer(viewControlLayer);
but when I open the app ,I could only see the map layer, Is the problem same to your's? Have you solved the problem? Thank U~
While I was trying to build map_nav, I noticed that add layer part has several errors.
As I touched mini view at upper right side (the occupancy layer preview), the map just disappears
and only arrows and paths appears.
I tried to fix this problem by loading separate "main activity" and two layouts.
Initially, the map appears in large scale and camera view appears in small scale (first layout, swaped view in xml file).
If I touch the camera preview at upper right side, MainActivity is loaded again with different layout (the one that is in git hub, camera view in larger scale and map in smaller scale).
This method succeeded in loading map, however, the arrow and paths did not appear.
If I press the map for a long time, arrows and paths appears and simultaneously, another arrow appears at the position I long pressed but map still disappears.
So far, I figured out that I cannot call "occupancylayout" class and "lase", "path", " initial pose" classes at the same time. In another words, if the GLsurfaceview draws laser, path and initial pose, occupancy class is not called.
However, occasionally, highly rarely, occupancylayer class is called and map is shown in a short amount of time.
Does anyone have solution to original problem or to my solution?
mapView.addLayer(occupancyGridLayer);
mapView.addLayer(laserScanLayer);
mapView.addLayer(pathLayer);
mapView.addLayer(mapPosePublisherLayer);
mapView.addLayer(initialPoseSubscriberLayer);
mapView.addLayer(viewControlLayer)
Thank you.
The text was updated successfully, but these errors were encountered: