RTPT or Real Time Planet Tracking System.It tracks planets using keplers laws and osculating elements and uses MPU9250 for Yaw auto Calibration and GPS to get user's location to feed data to the keplers algorithms for planet tracking.
GNU General Public License v3.0
60
stars
35
forks
source link
MPU9250BasicAHRS.ino Arduino: 'MahonyQuaternionUpdate' was not declared in this scope #1
C:\Users\Jonathan\Documents\Arduino\libraries\Real_Time_Planet_Tracking_System-master\MPU9250BasicAHRS.ino\MPU9250BasicAHRS.ino.ino: In function 'void loop()':
MPU9250BasicAHRS.ino:399: error: 'MahonyQuaternionUpdate' was not declared in this scope
MahonyQuaternionUpdate(ax, ay, az, gxPI/180.0f, gyPI/180.0f, gz*PI/180.0f, my, mx, mz);
^
exit status 1
'MahonyQuaternionUpdate' was not declared in this scope
It is because the fuction "MahonyQuaternionUpdate" is in the quaternion_filters.ino file. It would be better if you copy and paste the whole file into MPU9250BasicAHRS.ino (merge both files).
C:\Users\Jonathan\Documents\Arduino\libraries\Real_Time_Planet_Tracking_System-master\MPU9250BasicAHRS.ino\MPU9250BasicAHRS.ino.ino: In function 'void loop()':
MPU9250BasicAHRS.ino:399: error: 'MahonyQuaternionUpdate' was not declared in this scope
MahonyQuaternionUpdate(ax, ay, az, gxPI/180.0f, gyPI/180.0f, gz*PI/180.0f, my, mx, mz);
exit status 1 'MahonyQuaternionUpdate' was not declared in this scope