Class: NavSatFix

NavSatFix(options)

A NavSatFix client that listens to a given topic and displays a line connecting the gps fixes.

Parameters:
Name Type Description
options

object with following keys:

  • ros - the ROSLIB.Ros connection handle
  • topic - the NavSatFix topic to listen to
  • rootObject (optional) - the root object to add the trajectory line and the gps marker to
  • object3d (optional) - the object3d to be translated by the gps position
  • material (optional) - THREE.js material or options passed to a THREE.LineBasicMaterial, such as :
    • material.color (optional) - color for line
    • material.linewidth (optional) - line width
  • altitudeNaN (optional) - default altitude when the message altitude is NaN (default: 0)
  • keep (optional) - number of gps fix points to keep (default: 100)
  • convert (optional) - conversion function from lon/lat/alt to THREE.Vector3 (default: passthrough)
Source: