mavlink / c_uart_interface_example

Simple MAVLink to UART interface example for *nix systems
264 stars 257 forks source link

throttle cut when sending only position command outdoors #11

Closed aerialhedgehog closed 9 years ago

aerialhedgehog commented 9 years ago

Hi Everyone,

I've run a few more tests and flights and am still finding that my motors want to cut out whenever i send only a position command. I'm now using the offboard mode switch, which is very nice btw, but hasn't changed this behavior.

Has anyone run this new version of c_uart_interface_example outdoors on a gps system?

Many thanks,

aerialhedgehog commented 9 years ago

Referencing some other posts, reprinted below.

https://github.com/mavlink/c_uart_interface_example/pull/9#issuecomment-65928090

Currently my system cuts throttle in the middle of sending offboard commands for xyz local_ned position only. Attaching a plot of the servo commands for this behavior. When sending velocity commands, this behavior does not occur.

cf610690-7d93-11e4-94d8-9f5d8cab2776

LorenzMeier commented 9 years ago

@thomasgubler could you comment on this issue?

thomasgubler commented 9 years ago

First thing for me would be to check if the throttle cut comes from the c_uart_interface_example or from the controller. Maybe start by adding some warnx around here https://github.com/PX4/Firmware/blob/master/src/modules/mc_pos_control/mc_pos_control_main.cpp#L641

aerialhedgehog commented 9 years ago

I think we can close this issue, see https://github.com/PX4/Firmware/issues/1810#issuecomment-75420200