上云API V1.7的模拟飞行调试如何使用的?无人机需要连接模拟器吗?
已完成-
takeoff_to_pointModel pointModel = new takeoff_to_pointModel();
pointModel.data = new Data4();
pointModel.data.simulate_mission = new Simulate_Mission();
pointModel.method = "takeoff_to_point";
pointModel.data.rth_mode = 0;
pointModel.data.commander_flight_mode = 0;
pointModel.data.commander_flight_height = 100;
pointModel.data.commander_mode_lost_action = 1;
pointModel.data.flight_id = "ABDEAC21DCADDA";
pointModel.data.max_speed = 12;
pointModel.data.rc_lost_action = 0;
pointModel.data.rth_altitude = 100;
pointModel.data.security_takeoff_height = 100;
pointModel.data.target_height = 100;
pointModel.data.target_latitude = 12.23;
pointModel.data.target_longitude = 12.32;
pointModel.data.simulate_mission.is_enable = 1;
pointModel.data.simulate_mission.latitude = 39.23;
pointModel.data.simulate_mission.longitude = 117.32;给定以上参数,执行一键起飞模拟器模式;
会返回:
{"bid": "a1864753-ebae-4957-bed3-35139f53f777", "data": {"result": 0}, "method": "takeoff_to_point", "tid": "a091830a-896b-4901-9c75-c6cbb173b3cd", "timestamp": 1722412394875}
但飞机机场没有任何反应,也不会返回其他信息,请问如何解决呢。
请先登录再写评论。
评论
6 条评论