![]() Click the Monitor and Tune Host Target controller in the Project Shortcuts tab to open the px4Demo_FlightController_top model. Use two separate instances of MATLAB to run controller and plant model.ġ. The drone hovers at an altitude of 1.1 meters for a specified flight time before powering off. In this task, we use the controller designed in Task 1 and run it with PX4 source code using the PX4 Host Target feature (for more information, see Integrate Simulator Plant Model Containing MAVLink Blocks with Flight Controller Running on PX4 Host Target). Fly a Parrot Minidrone Using the Quadcopter Simulink Model The asbQuadcopter model, which is available in the Aerospace Blockset, starts the flight of a Parrot minidrone. ![]() ![]() Task 2: Deploy Controller as Host Target and Run Plant Model in Simulink In this task, we designed the multicopter plant and controller, and ensured that its performance is satisfactory in simulation. For more details on the controller tuning, see Position Tracking for X-Configuration Quadcopter. In such a scenario, the controller gains must be adjusted to meet the specified requirements. ![]() It may be possible that for other types of input commands such as step or ramp, the response is not ideal. Note that the controller gains are optimized for close tracking of a circular trajectory. To locate the block, go to Plant and Visualization > Quad_Plant_Dynamics > Visualization Subsystem.ĩ. You can also bring up the UAV Animation window by clicking on the Show animation button on the UAV Animation block.
0 Comments
Leave a Reply. |