-
Notifications
You must be signed in to change notification settings - Fork 43
Edit modules of an Aerostack project
This page describes the required steps to modify the modules of an Aerostack project.
-
Download the installation script file:
$ git clone https://github.com/Vision4UAV/aerostack_installer.git ~/temp
-
Execute the following script to edit the modules of a project called "my_project" (another project name can be used):
$ ~/temp/edit_project_modules.sh projects/my_project
-
If the folder projects/my_project does not exist, this script will ask for confirmation to create it with the following message:
The project "projects/my_project" does not exist in Aerostack. Do you want to create it? (y/n)
-
Then, a window is presented to select Aerostack modules for this project. The next image shows an example of this window.
Some modules can be added or removed by selecting or de-selecting them.
Once the modules have been selected and this window is closed, the required Aerostack modules for the project are downloaded and compiled.
This application also generates the file $AEROSTACK_STACK/projects/my_project/project_modules.txt
which includes the list of modules of the project. For example, the module related to PID control is expressed in the following way:
[submodule "stack/motor_system/quadrotor_pid_controller"]
path = stack/motor_system/quadrotor_pid_controller
url = https://bitbucket.org/visionaerialrobotics/quadrotor_pid_controller.git
If you want to use a particular branch or commit of a module (instead of using the last commit) you can edit the file project_modules.txt
and add a line with the specific head point using the word "HEAD". For example, with the following lines, the selected commit is 825c59c:
[submodule "stack/motor_system/quadrotor_pid_controller"]
path = stack/motor_system/quadrotor_pid_controller
url = https://bitbucket.org/visionaerialrobotics/quadrotor_pid_controller.git
HEAD = 825c59c
Contact: We thank and welcome any suggestion or comment about Aerostack. For any question or bug report you can read and/or write at the issues page. You can also contact the team support at the following address: aerostack.upm@gmail.com
The content of the Aerostack wiki is licensed under Creative Commons license CC BY 4.0