Ok
After reading heaps of posts on this same issue it seems if calibration of sensors is successful and you get error still in flight,it could be either 3 things,both are inside the drone shell.
1...vps sensor module .
View attachment 121955
2....front obstacle avoidance monocular cams
View attachment 121956
3....vision module board ......this part not cheap ,Ebay 350 to 500 depending where you buy..you might be better to buy a used crashed drone for parts...
Either repair you choose you will have to split the shell to get inside,,,I have these parts but p4s and bound to be different just to be annoying,,,I pretty sure they not the same,,,,,,yeh those trees are drone magnets but not always the obstacle avoidance will save it,it can stop if senses something but stick input after that point is critical especially if you a bit away from it,its just to hard to judge amount you can move,,very deceiving even if watching from device due to no wing mirrors to look back unless you pan around a 360% turn,branches stick out and might not be picked up up sensors depending on shadows and light,,
This is a big repair compared to just turning them off so it's up to you,,
The other thing is buying a part and it's not what you need to fix so as I mention a drone for parts might be cheaper option do you can swap them all without doin one at a time..there's a magnifying glass logo top of the forum page,,if you click and search obstacle avoidance and vps issue many posts will come up ,,,it will give you idea of this explanation
Well you asked,I can see you like this feature but most of us just turn them off ,handy but shouldn't rely on them 100% cause even low they can still fail on occasion
Your call ,if confident with tools you be able to repair ,just be super carefull with internal ribbon cable connectors, they like a snap lock to hold them in and break easy
Good luck if you go in there for surgery, it's also good to learn what's inside
View attachment 121957