What should I do to output Custom PWM from AUX1~6

It is useless to write like this in Arducopter.cpp,The output of the oscilloscope is 0:
hal.rcout->enable_ch(13);
hal.rcout->write(13, 1500);

I have successfully solved this problem.