Yaw Error Estimate on PX4v1.15
-
Hi,
We are using fc-v2 with the ModalAI 4-in-1 ESC (M0138) and a 3DR M10 ublox gps unit.The fc-v2 was shipped with px4 v1.15. The system works well but there is a pre-flight check fail that we are trying to clear.
PREFLIGHT FAIL: EKF YAW ERROR
Care has been taken to calibrate the sensors but we are unable avoid this.
The solution has been to sway the drone side to side and then the error clears and the drone is 'Ready to fly". Because of our use case this is not a practical approach.
The drone is for outdoor use and needs GPS.
Any advise on how to fix this issue would be greatly appreciated.
Cheers
-
Hi,
We are using fc-v2 with the ModalAI 4-in-1 ESC (M0138) and a 3DR M10 ublox gps unit.The fc-v2 was shipped with px4 v1.15. The system works well but there is a pre-flight check fail that we are trying to clear.
PREFLIGHT FAIL: EKF YAW ERROR
Care has been taken to calibrate the sensors but we are unable avoid this.
The solution has been to sway the drone side to side and then the error clears and the drone is 'Ready to fly". Because of our use case this is not a practical approach.
The drone is for outdoor use and needs GPS.
Any advise on how to fix this issue would be greatly appreciated.
Cheers
@ndwe I would first try upgrading to v1.16.1 and see if the issue persists. Some other ideas: make sure EKF2_MAG_DECL is set properly for your area, try setting EKF2_MAG_TYPE to 1, and / or increase COM_ARM_EKF_YAW to a higher value (like 0.7).
-
Hi,
We are using fc-v2 with the ModalAI 4-in-1 ESC (M0138) and a 3DR M10 ublox gps unit.The fc-v2 was shipped with px4 v1.15. The system works well but there is a pre-flight check fail that we are trying to clear.
PREFLIGHT FAIL: EKF YAW ERROR
Care has been taken to calibrate the sensors but we are unable avoid this.
The solution has been to sway the drone side to side and then the error clears and the drone is 'Ready to fly". Because of our use case this is not a practical approach.
The drone is for outdoor use and needs GPS.
Any advise on how to fix this issue would be greatly appreciated.
Cheers
@ndwe You could also ask on the PX4 forum to see what ideas the PX4 community has on this issue.
-
@ndwe I would first try upgrading to v1.16.1 and see if the issue persists. Some other ideas: make sure EKF2_MAG_DECL is set properly for your area, try setting EKF2_MAG_TYPE to 1, and / or increase COM_ARM_EKF_YAW to a higher value (like 0.7).
@Eric-Katzfey Hi, thanks for the response.
EKF2_MAG_DECL - yes, set to Sydney, Australia
COM_ARM_EKF_YAW is set to the max 1.0 - the value it is reading is 3.5+
Wouldn't changing EKF2_MAG_TYPE to 1 mean that the compass isn't used during flight and rely solely on GPS for heading, but I can ask px4 community this.Moving to px4 v1.16 the error changes to X/Y position control error, but the fix is the same.
A question on px4 firmware versions. ModalAI develops on px4 v.14.
The latest being modalai_fc-v2_1.14.0-2.0.133.px4When I install this firmware the error isn't present and (Ready to fly) arming can occur on the ground without having to move the drone to fix the yaw error. Would you recommend using this version on a non-voxl system, we are using a Jetson? We are interested to know if there is a reason why this version works with your hardware but not later versions of px4?
Thanks again
-
@Eric-Katzfey Hi, thanks for the response.
EKF2_MAG_DECL - yes, set to Sydney, Australia
COM_ARM_EKF_YAW is set to the max 1.0 - the value it is reading is 3.5+
Wouldn't changing EKF2_MAG_TYPE to 1 mean that the compass isn't used during flight and rely solely on GPS for heading, but I can ask px4 community this.Moving to px4 v1.16 the error changes to X/Y position control error, but the fix is the same.
A question on px4 firmware versions. ModalAI develops on px4 v.14.
The latest being modalai_fc-v2_1.14.0-2.0.133.px4When I install this firmware the error isn't present and (Ready to fly) arming can occur on the ground without having to move the drone to fix the yaw error. Would you recommend using this version on a non-voxl system, we are using a Jetson? We are interested to know if there is a reason why this version works with your hardware but not later versions of px4?
Thanks again
@ndwe Whether you use a VOXL or Jetson as a companion computer shouldn't make any difference unless you want to use the VOXL SDK. The version you run is totally up to you. If our v1.14.0 based version works for you then use it. We do plan to transition to v1.17.x in the near future. I don't think the issues you are seeing are related to something specific in the flight core v2 hardware setup. I would think that if you swapped it out for some other brand you would see the same issue. I would ask on the PX4 forums to see if others have experienced the same issues.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login