I’m getting some very odd intermittent twitches with my Tricopter which I can’t seem to solve. The image below shows Chan4 out (output to rear motor ESC) and appears to show the output spike BEFORE the pitch change. Does that mean it’s software related as if it was hardware the spike to the motor would surely occur after the pitch change?
Hi Graham,
It looks like the magnetometer might be the source of the problem (is it enabled?):
[attachment=0]mag_pitch_gyro.png[/attachment]
It appears that the spikes in magZ precede the gyro response (when there’s a high correlation). The pitch measurement doesn’t make a lot of sense to me though. This is my first look at an Arducopter log, and I don’t know what the units are. No labels… Very nice GUI though.
Is there something onboard causing DC current spikes at that frequency?
Slightly off-topic question: Is the log file raw mavlink binary? My python mavlink parser rejects every record saying “bad prefix”.
Graham,
I suspect the issue is somehow related to the set-up or tuning of the tail servo. It probably doesn’t have enough range to keep the yaw under control.
Could you downgrade the software to AC3.1.5? If this is done and the problem persists then we immediately know its’ a set-up issue and not an issue with AC3.2.
In this plot from the last log, the CH4 output to the rear motor ESC appears to occur before the pitch change so the pitch change seems to be commanded.
If it was a fauly ESC I would expect the pitch change first and the ESC output after that as presumably the controller would try offset the sudden pitch change? I’m happy to be wrong though.
I don’t have another of the same ESC but could, with some surgery swop it with one from another arm, I just don’t want to waste the time if it’s not the cause.