Rover EKF3 yaw inconsistent

Hello everyone,

My rover has some weird EKF3 issues. As I drove it would “EKF3: Yaw Inconsistent by # degrees” every few second. I have attached some logs.

I was sending a velocity vector while in guided mode, this vector was 180 degrees local (south) bearing. So the expected outcome was the rover driving south. However as it would move in that direction it would only go for a second or so, then the EKF would fail putting it in HOLD mode. Then a second or so later it would be OK and then it would start driving again (after we switched it back to guided).

I am wondering if the rover is actually using the built in compass. I have the compass setup screen selecting the external as primary and used. Whereas the internal compass is not selected for use. We have the compass mounted as high as the cable allows it. We have the autopilot mounted on the lower plate of the rover, the jetson xavier mounted above that, then some space and the compass above it all. I am worried that if the autopilot is erroneously using the internal compass, there may be a lot of interference with it being only a few inches from the power distribution board and an inch or so from the bottom of the xavier.

We are using wheel encoders and no GPS. We will be integrating T265 once we get through all these issues.

  1. can anyone say that the compass is the issue?
  2. If the compass is the issue, its the primary/external one right?
  3. Best practice for shielding for this type of issue?

My current setup is this:
Hardware: Pixhawk4 from HolyBro, holybro GPS/compass module.
Firmware: Rover - 4ac6a647d7b305861e927506beeaf5e9ca554c8b - off master a few weeks back.

Logs:
https://drive.google.com/file/d/1C_X59w7qot6rgC40k5Ls-ykOPQqLOF0k/view?usp=sharing
https://drive.google.com/file/d/145OKoPJFJl9sgWEdDf8W24reu5iDHvEP/view?usp=sharing
https://drive.google.com/file/d/1UqQp_GfXezylwjfy12ve1bRh_kPaHEvP/view?usp=sharing
https://drive.google.com/file/d/1oZuHNnizbdyUjpZe2mH3MDg572w-WSqU/view?usp=sharing
https://drive.google.com/file/d/1QNMisg1qcI2vBpJrV_JcF-kxkbRcHyvi/view?usp=sharing
https://drive.google.com/file/d/1yRF-979CjUME5WsFH6KNjpojI8d7rnmn/view?usp=sharing

Hi, we are seeing the same issue as a pre-arm check.

Did you find a solution for this?

We are using CubeBlack with ArduRover 4.0

I have not, but I have not touched my rover probably since this post.

1 Like