I’m testing 3.2 with the POZYX system and am constantly getting BAD AHRS. Eventually it goes away but I have no clue whats causing it accept maybe because I’m no using the regular 3DR GPS system.
Any help would be appreciated.
Thanks
RoboBill
I’m testing 3.2 with the POZYX system and am constantly getting BAD AHRS. Eventually it goes away but I have no clue whats causing it accept maybe because I’m no using the regular 3DR GPS system.
Any help would be appreciated.
Thanks
RoboBill
I think it is not happy that the compass, IMU and Pozyx deliver imconsisten data. Have you alligned pozyx with North ?
That makes sense, so I looked at the Arduino sketch that sends the POZYX data to the Pixhawk, The function send_vehicle_position (line 430 of https://github.com/ArduPilot/ardupilot/blob/master/Tools/Pozyx/IndoorLoiter/IndoorLoiter.ino appears to send just vector distances in the form of x, y and z relative to the 0,0 beacon. There is a YAW adjustment in the Pixhawk, but I think its just determining the angle of the vector relative to North. I did not recognize any instances of inertial or heading data being fed to the Pixhawk.
Maybe the Yaw variable I set in the Pixhawk is wrong.
Question: Is the Yaw adjustment relative to magnetic or true north?
Thanks
RoboBill
OK 3.2 rc2 seems to have solved the BAD AHRS.
Thanks developers!!
Great news, sorry for the slow replies.