I’m looking for advice on enabling faster yaw speed in guided mode. I’m connecting to ArduCopter through dronekit on a companion computer, and using the MAV_CMD_CONDITION_YAW mavlink command (90, 1080, 1, 1) continuously during flight for testing. That means yaw 90 deg, speed of 1080 deg/s, clockwise, relative to current heading.
I’ve also set:
ATC_ACCEL_Y_MAX 54000
ATC_SLEW_YAW 15000
ATC_RATE_Y_MAX 1080
The result is always the same: a very slow continuous yaw, takes about 5 seconds to do a full 360 degree rotation.
Using a radio controller and flying manually in stabilize mode I can achieve much higher yaw rate.
Thanks but that PR didn’t work for me. The reason is it is not reaching the changed code in the angle controller, it’s instead running the velocity controller.
The yaw that I’m seeing comes from the function: attitude_control->input_euler_angle_roll_pitch_yaw(
I can reproduce this behaviour using SITL, using default parameters (although I attempted to update yaw speed parameters).