Ros3dViewer

This is the root object all others are placed in. It is more or less a wrapper for ROS3D.Viewer with some additional logic for right-click/long-press handling and already integrates ROSLIB.TFClient.

Props

Name Type Default value Required? Description
ros ROSLIB.Ros - Yes ROSLIB.Ros connection handle
background String #7e7e7e No The color to render the background, like '#efefef'
antialias Boolean true No If antialiasing should be used
fixedFrame String /map No The fixed base frame for the tf listener
longPressTolerance Number 15 No Tolerance in pixels for finger movement during long-press
longPressDuration Number 750 No Duration for long-press in milliseconds

Data

Name Type Default value Description
viewer ROS3D.Viewer - Handle for the internal ROS3D.Viewer
tfClient ROSLIB.TFClient - Handle for the internal ROSLIB.TFClient

Events

Name Payload Type Description
touch TouchResult Emitted on right-click or long-press. TouchResult

This is the root object all others are placed in. It is more or less a wrapper for ROS3D.Viewer with some additional logic for right-click/long-press handling and already integrates ROSLIB.TFClient.

Props

Name Type Default value Required? Description
ros ROSLIB.Ros - Yes ROSLIB.Ros connection handle
background String #7e7e7e No The color to render the background, like '#efefef'
antialias Boolean true No If antialiasing should be used
fixedFrame String /map No The fixed base frame for the tf listener
longPressTolerance Number 15 No Tolerance in pixels for finger movement during long-press
longPressDuration Number 750 No Duration for long-press in milliseconds

Data

Name Type Default value Description
viewer ROS3D.Viewer - Handle for the internal ROS3D.Viewer
tfClient ROSLIB.TFClient - Handle for the internal ROSLIB.TFClient

Events

Name Payload Type Description
touch TouchResult Emitted on right-click or long-press. TouchResult