borglab / gtsam

GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.
http://gtsam.org
Other
2.65k stars 772 forks source link

Coordinate System Conversion Problem in IMUKittiExemplarGPS.cpp #1882

Open HYD-PG opened 1 month ago

HYD-PG commented 1 month ago

Hi! When I am using my own data for data fusion, I am unable to confirm the carrier coordinate system and navigation coordinate system in IMUKittiExemplarGPS.cpp, which should involve its internal pre integration. So I want to know whether the navigation coordinate system in IMUKittiExemplarGPS.cpp is NED or ENU, which involves the direction of its carrier coordinate system, so that I can convert my own data.In the CPP program and MATLAB program for the same IMUKittiExemplarGPS, the images of the two show different angular orientations, and the CPP file appears to have been rotated 45 degrees based on this. The first image is a CPP file generated, and the second image is an official display on YouTube.(Version gtsam-develop) 截图 2024-10-23 11-30-37 截图 2024-10-23 11-31-10

Huang-Chuan commented 4 weeks ago

@HYD-PG It should be ENU, as you can see in the code auto imu_params = PreintegratedImuMeasurements::Params::MakeSharedU(g);