I have a code in Rosjs in which I have uploaded map and position of the robot successfully. But I want to upload the image on top of the map the code is given below
<!DOCTYPE html>
Simple Navigation Example
how can I add the image on top of the map guys here the map is
// Create the main viewer.
var viewer = new ROS2D.Viewer({
divID : 'nav',
width : 750,//750
height : 800//800
});
// Setup the nav client.
var nav = NAV2D.OccupancyGridClientNav({
ros : ros,
rootObject : viewer.scene,
viewer : viewer,
serverName : '/move_base',
continuous: true
});
}
please help guys
I have a code in Rosjs in which I have uploaded map and position of the robot successfully. But I want to upload the image on top of the map the code is given below <!DOCTYPE html>
Simple Navigation Example
how can I add the image on top of the map guys here the map is // Create the main viewer. var viewer = new ROS2D.Viewer({ divID : 'nav', width : 750,//750 height : 800//800 }); // Setup the nav client. var nav = NAV2D.OccupancyGridClientNav({ ros : ros, rootObject : viewer.scene, viewer : viewer, serverName : '/move_base', continuous: true }); } please help guys