Build options

Defines how Simulink® Coder™ software responds when you press Ctrl+B to build your model.

Build action

Default: Build, load, and run

Build, load, and run

With this option, pressing Ctrl+B or clicking Build Model:

  1. Generates code from the model.

  2. Compiles and links the code into a shared object called librsedu.so.

  3. Detects if a Parrot minidrone is connected over Bluetooth.

  4. Loads the librsedu.so into the connected Parrot® minidrone.

  5. Runs the librsedu.so in the Parrot minidrone.

Build

With this option, pressing Ctrl+B or clicking Build Model:

  1. Generates code from the model.

  2. Compiles and links the code into a shared object called librsedu.so.

This option does not load and run the librsedu.so on the Parrot minidrone.

Launch Parrot Flight Control Interface automatically after build

This parameter is used to enable the automatic launch of the Parrot Flight Control Interface after the build is successful. The Parrot Flight Control Interface can be used to:

  • Change the power gain of motors on the drone

  • Change the flight time

  • Start and stop the motors

  • Obtain the flight log and the MAT file

Settings

Default: on

Enable profiling

This parameter is used to enable profiling of the generated code after you run the Simulink model on the target Parrot minidrone. Profiling helps you to evaluate the performance and also helps in analyzing the function run-time in the code deployed on Parrot minidrone.

Settings

Default: off

Enable Take-off of drone if the surface is tilted

This parameter is used to enable the take-off of the Parrot minidrone even if the drone is kept on a tilted surface. Before initiating take-off of the drone on a tilted surface, ensure that you adhere to the necessary safety precautions.

Settings

Default: on

Abort flight at high accelerations

This parameter is used to abort the flight of Parrot minidrone if high acceleration of the drone is detected. Selecting this parameter helps to prevent unexpected behaviour of the drone during its flight.

Settings

Default: off

Maximum acceleration of drone before safety abort

This parameter is used to set the maximum acceleration (in ㎨) that is allowed beyond which the flight is aborted. This parameter is visible only if you select the option Abort flight at high accelerations.

Settings

Default: 60 (maximum)

See Also