added flattrim to drone controller