Skip to content

Group 10 Pull Request#121

Open
ccardo wants to merge 17 commits into
tudelft:mavlabCourse2026from
jonas-stone:pullRequestGroup10
Open

Group 10 Pull Request#121
ccardo wants to merge 17 commits into
tudelft:mavlabCourse2026from
jonas-stone:pullRequestGroup10

Conversation

@ccardo

@ccardo ccardo commented Mar 31, 2026

Copy link
Copy Markdown

Key Additions

  • Autopilot Management: Added a new executable script ap_restart.sh designed to quickly restart the autopilot system. This script is found inside the root folder. It replaces several commands that our group had to run in the terminal, due to a failure in the RTP viewer initialization during Flight UDP Paparazzi runs. The issues were always resolved by this quick AP restart, but the root cause for these issues was not addressed. This script represents a quick solution to the problem. This script should not be used in-flight. Further instructions can be found inside the .sh file.

  • New Features & Configuration: Setting Sliders: Integrated UI sliders into orange_avoider.c to allow for real-time parameter tuning:

    1. Speed Multiplier: Configurable range within [0.1; 2],
    2. Heading Increment Setting: Configurable range within [1°; 45°].
    
  • Data Labeling & Validation Suite: Mask Painter GUI (mask_painter.py): An AI-assisted graphical tool that simplifies the manual mask creation process.

    1. Function: Allows users to "paint" binary masks directly over images.
    2. Controls: Supports Left Mouse Button (LMB) for painting, Right Mouse Button (RMB) for erasing, and mouse wheel/Middle Mouse Button (MMB) for zoom and pan.
    3. Validation Scripts: Provides multi-panel visual feedback comparing original images, raw classifier outputs, and filtered results (including edge density and bounding box clustering).
    

This last feature is part of a larger addition by our team. Inside sw/tools/dataset_mask_generator/, there are Python scripts that can automate the generation of a large binary mask dataset, to identify the ground, poles and plants. The folder also includes some sample masks, hand-painted by the user, which are used to train a ML model which then can generate similar masks for an arbitrary number of drone images. The full pipeline is reported inside README files in the folder itself.

Documentation & Code Clarity

  1. Improved Commenting: Added comprehensive comments to orange_avoider.c/.h and cv_detect_color_object.c/.h.

  2. XML Integration: Added specific pointers within header files to the relevant settings locations in the project's XML configuration.

  3. README Updates: Included detailed documentation for the masks_data folder and a project-wide README explaining the labeling pipeline and computational requirements.

Notes

  1. Training Challenges: masks have been kept for unsuccessful training attempts, for plant vases (due to small pixel size) and gates (failed improvement attempt). These are preserved for archival and future research.

  2. Deployment: Note that while the labeling pipeline is highly effective for data preparation, it currently has high computational requirements that prevent direct real-time use on the drone hardware. This way, it can only be used for its intended purpose (i.e. creating large mask datasets) and cannot be exploited for actual on-board computer vision.

dewagter and others added 17 commits February 20, 2026 20:09
* Docker to run Gazebo Simulation on  Ubuntu 24.04
* Add bebop compiler to docker image

---------

Co-authored-by: Aramov1 <acarmolopes@tudelft.nl>
* add colors and headers to installation scripts

* Try gazebo11 first, fall back to gazebo package if unavailable.
Show info message to user when fallback is triggered.

* Fix for install buttons.

* Fix: missing dronecan module on normal make, make clean unifiedmocap

---------

Co-authored-by: robinferede <robinferede@tudelft.nl>
…razzi#3617)

This bug is intruduced by paparazzi#3320. Without the return, wls only ends after
reaching max_iter. In simulation, only 1 iteration is needed to reach a
solution in flight, while max iter is set to 10.

https://github.com/paparazzi/paparazzi/pull/3320/changes#diff-fd1514a7b2a74afb97095b63a4d2d7986c427e9d939db0a36eb68620d9e351c1R273
* [conf] gstreamer instead of vlc
* Quickfix for now video

At first boot of a Bebop1, the camera did not work. Wait half a second more,  and the camera works now also at 1st boot time.

* OpenCV 4.10

---------

Co-authored-by: OpenUAS <OpenUAS@users.noreply.github.com>
RTCM corrections 1097 (Galileo) were not sent correctly.
Also fix some comments.
With this flag, only GPS with valid integrity data is used, which is
greatly limiting the number of satellites actually used, and a much
lower precision in the end.
This is required for a fresh install with WSL2 on Windows
* rotwing7 airspeed scale

* fix ms45 scale for RW5 and RW6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants