balamuruganky / ekf_nav_ins

Extended Kalman Filter (EKF) to fuse GPS coordinates, Altitude, Velocity(NED), Accelerometer X, Accelerometer Y, Accelerometer Z, Gyro X, Gyro Y, Gyro Z, Magnetometer X, Magnetometer Y and Magnetometer Z
MIT License
27 stars 11 forks source link

Update ekfNavINS.cpp #2

Open hmz06967 opened 2 years ago

hmz06967 commented 2 years ago

for error, ekfNavINS.cpp:285:37: error: redeclaration 'constexpr std::pair<double, double> ekfNavINS::earthradius(double) const' differs in 'constexpr' from previous declaration

worked me

balamuruganky commented 2 years ago

@hmz06967 : Thanks for using and updating the code. I have gone through the changes. Changes are good. But the constptr is neccessry to use this library for ROS. Since it is a core library for ROS driver also, it is not possible to accomudate the code changes in this repository. So, I suggest you to maintain as a separate repository. The PR can't be merged. Thanks for understanding.