chichengcn / gici-open

GNSS/INS/Camera Integrated Navigation Library
GNU General Public License v3.0
399 stars 112 forks source link

does the gnss_imu_lc_estimator use GNSS Ambiguity Resolution? #13

Closed wuyk1243 closed 7 months ago

wuyk1243 commented 9 months ago

Hi:)I want to use loosely coupled method to couple imu and GPS data. When I construct the data body of GNSS, need I provide variables values related to "GNSS Ambiguity Resolution", such as phase_bias and phase_center? Or what value should I assign to these variables? since I only use the GPS sensor, I do not have those values yet.

chichengcn commented 9 months ago

These values are used for PPP algorithm, you can ignore them if you are using RTK.

wuyk1243 commented 9 months ago

Thanks!🥹🥹🥹 So, if i have the GPS's position velocity in ecef. How can I create a GnssSolutionStatus structure? (in https://github.com/chichengcn/gici-open/blob/bf4ab9d33f7e6158d5850c13c8f3aad64b37d7c6/include/gici/gnss/gnss_types.h#L230C2-L230C2 ) I don't know how to assign values to “id, covariance, status, num_satellites, differential_age”

chichengcn commented 9 months ago

id is a unique number that used in estimator to distinguishes states. Just set as unique values for different epochs. covariance is a matrix describing the covariance of px, py, pz, vx, vy, vz. You can set them by the gnss algorithm output, or just by empirical.

The other variables you mentioned do not affect the LC estimators. You can set them casually.