Mission: example sketch test replace_cmd method
Copter: integrate replace_cmd