GNSSData Class Reference

Class containing GNSS data to be used for positional tracking as prior. More...

Functions

(float, float, float) get_coordinates (self, in_radian=True)
 Get the coordinates of the sl.GNSSData. More...
 
None set_coordinates (self, double latitude, double longitude, double altitude, in_radian=True)
 Set the sl.LatLng coordinates of sl.GNSSData. More...
 
float latitude_std (self)
 Latitude standard deviation.
 
float longitude_std (self)
 Longitude standard deviation.
 
float altitude_std (self)
 Altitude standard deviation.
 
Timestamp ts (self)
 Timestamp of the GNSS position (must be aligned with the camera time reference).
 
list[float] position_covariances (self)
 Covariance of the position in meter (must be expressed in the ENU coordinate system). More...
 

Detailed Description

Class containing GNSS data to be used for positional tracking as prior.

Functions

◆ get_coordinates()

(float, float, float) get_coordinates (   self,
  in_radian = True 
)

Get the coordinates of the sl.GNSSData.

The sl.LatLng coordinates could be expressed in degrees or radians.

Parameters
latitudeLatitude coordinate.
longitudeLongitude coordinate.
altitudeAltitude coordinate.
is_radianShould the output be expressed in radians or degrees.

◆ set_coordinates()

None set_coordinates (   self,
double  latitude,
double  longitude,
double  altitude,
  in_radian = True 
)

Set the sl.LatLng coordinates of sl.GNSSData.

The sl.LatLng coordinates could be expressed in degrees or radians.

Parameters
latitudeLatitude coordinate.
longitudeLongitude coordinate.
altitudeAltitude coordinate.
is_radianAre the inputs expressed in radians or in degrees.

◆ position_covariances()

list[float] position_covariances (   self)

Covariance of the position in meter (must be expressed in the ENU coordinate system).

For eph, epv GNSS sensors, set it as follow: {eph*eph, 0, 0, 0, eph*eph, 0, 0, 0, epv*epv}.