MATLAB Answers

How does Flight Control System (FCS) access sensors when deployed onto the drone?

6 views (last 30 days)
Mitesh Patel
Mitesh Patel on 13 Aug 2019
Answered: Vimal Rathod on 16 Aug 2019
So I have the Quadcopter model (specifically FCS) deployed onto the drone and able to execute the flight. However, I now want to make changes on the FCS for which I need to access the sensors on the drone. Looking into the FCS, there is no such block that actually accesses the sensor from the drone. What I mean is: I cannot find the place in FCS that gets the sensor signals. I know that there is a Sensor block in the Quadcopter model, but this does not get deployed onto the drone, and this is the input into FCS as sensor signals. If this Sensor block does not get deployed onto the drone, the how is the drone (in real life) accessing the sensor data to fly itself? I would assume that there would be a block in FCS that actually tries to read the sensors on the Parrot Mambo.
Any help would be appreciated. Thank you.

  0 Comments

Sign in to comment.

Answers (1)

Vimal Rathod
Vimal Rathod on 16 Aug 2019
I am assuming that you are able to retrieve the sensor data from the drone and just want to know how to control the drone based on the sensor data received. Considering you have access to sensor blocks in the model, you can use the data coming from the sensors and do some computations and update the value in the actuator’s commands accordingly.
The following link contains a template for Quadcopter Simulink model which has sensor blocks and uses the sensor data as well to control the drone:
For more information on how to implement different functions on the code you could refer and explore the internal links of the following:

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by