mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 23:43:34 +08:00
This code is flyable, but a few problems exist which cause values in the .config files to be overwritten by the defaults in the .XML file.
This commit is contained in:
@@ -220,6 +220,12 @@ int dspal_entry(int argc, char *argv[])
|
||||
process_commands(apps, get_commands());
|
||||
sleep(1); // give time for all commands to execute before starting external function
|
||||
|
||||
// TODO-JYW: TESTING-TESTING:
|
||||
int default_mav_type = vehicle_status_s::VEHICLE_TYPE_QUADROTOR;
|
||||
param_set(param_find("MAV_TYPE"), &default_mav_type);
|
||||
PX4_INFO("setting default mav_type: %d", default_mav_type);
|
||||
// TODO-JYW: TESTING-TESTING:
|
||||
|
||||
if (qurt_external_hook) {
|
||||
qurt_external_hook();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user