Failsafes simulations

I need to simulate failsafes or mechanical failueres described in http://ardupilot.org/copter/docs/common-diagnosing-problems-using-logs.html

Is it possible using SITL?

Thanks ¡

hello,

Yes, most are implemented : http://ardupilot.org/dev/docs/using-sitl-for-ardupilot-testing.html

Hi @khancyr ¡¡¡

I read it before, but i can’t figure out how to apply these params on a simulated mission.
I mean, it seems to be easier having tlog that you can replay, containing these failures (I don’t know the way the developers do)

I want to develop a live tlogs analyzer, that can detect common problems like GPS glitches, height loss problems , …

I’ve seen a python file on:

https://github.com/ArduPilot/ardupilot/blob/master/Tools/autotest/arducopter.py

thats seems to contain many test cases situations, but don’t know how it works. There is no info related to autotest framework.

Did you try param set SIM_ACC_RND 3 for example in SITL console (that is mavproxy BTW) ? It is just parameter, you can change them with whatever GCS you want (mavproxy, mission planner, a gcs you have developped etc…)

Thanks @khancyr ¡¡
I’ll dig into it and try to use it.