GT-RAIL / nav2djs

2D Navigation Widget
http://robotwebtools.org/
Other
51 stars 37 forks source link

Trying to upload the image in Rosjs on top of the map #50

Closed BindusagarMG closed 1 year ago

BindusagarMG commented 1 year ago

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