Commit Graph

4 Commits

Author SHA1 Message Date
Christophe De Wagter cf7c8b3797 MAVLab Course2026 Updates (p1) (#3632)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* updated distance measurement script.
- automatically shows which ids are available
- filter out big jumps
- plot_summary.py shows distance over time with recording regions

* Adding config file for radiomaster pocket joystick ble/usb (#108)

* added radiomaster tx16s xml (#123)

Co-authored-by: Wiebe van der Knaap <wkvanderknaap@tudelft.nl>

* Fix joystick device argument parsed as single token in control panel sessions (#118)

The `-d 0` joystick device flag was passed as a single `flag` attribute,
causing the joystick program to receive it as one token instead of two
separate arguments. This prevented the device number from being recognized,
breaking joystick input in the Simulation - Gazebo and Flight UDP sessions.

Fixed by splitting into `<arg flag="-d" constant="0"/>`.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* fixed names of variables and resolution bugs, added documentation (#113)

Co-authored-by: macoman <macoman@student.tudelft.nl>

* Update Gazebo Models: Gate, Plants, Logo

* Added some (math) tests (#114)

* added a test for paparazzi's math librarie's int sqrt function and int quaternion normalization function
* Keep essential tests

Reduced the number of tests planned from 9 to 6 and removed tests for int32_sqrt.

---------

Co-authored-by: LSSchef <l.s.scheffer@student.tudelft.nl>
Co-authored-by: AniketBehura <aniketbehura1023@gmail.com>
Co-authored-by: diaa <D.abbasi@student.tudelft.nl>

* Feat: readme update for submodule installation (#115)

* feat: readme update for submodule installation

* Rename README to README.md

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>

---------

Co-authored-by: robinferede <robinferede@tudelft.nl>
Co-authored-by: Robin Euger <robin.euger@gmail.com>
Co-authored-by: Wiebe van der Knaap <wkvanderknaap@tudelft.nl>
Co-authored-by: EAbbenhuis <113993394+EAbbenhuis@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Mihai Coman <127535163+miki133@users.noreply.github.com>
Co-authored-by: macoman <macoman@student.tudelft.nl>
Co-authored-by: Swayam Kuckreja <110131770+swayamkuckreja@users.noreply.github.com>
Co-authored-by: LSSchef <l.s.scheffer@student.tudelft.nl>
Co-authored-by: AniketBehura <aniketbehura1023@gmail.com>
Co-authored-by: diaa <D.abbasi@student.tudelft.nl>
Co-authored-by: Douwe-Rijs <Douwe@standofl.nl>
2026-04-09 15:37:28 +02:00
Christophe De Wagter 25ec86275f TUD course update 2024 (#3258)
* removed the -o flag because it caussed natnet errors

* smaller obstacle zone for first week testing

* Updated distance measurement script

* 3x3 convolution addition (#97)

Added a convolution algorithm for a general 3x3 kernel

---------

Co-authored-by: robinferede <robinferede@tudelft.nl>
Co-authored-by: yamacbirol <y.birol@student.tudelft.nl>
Co-authored-by: dvanwolffelaar <50547974+pigparty6@users.noreply.github.com>
2024-04-04 11:00:14 +02:00
Christophe De Wagter a98fd3ab49 [fix] distance counter update (list of rigidbodies) + typo in install 22.04 (#3083)
* Bugfix 22

* FIX dist script (#87)

Verfied in zoo

---------

Co-authored-by: Dries Borstlap <dries.borstlap@gmail.com>
2023-09-20 13:31:45 +02:00
Tom van Dijk 48e7b20789 TU Delft MAVLab course 2019 (#2452)
* Add video capture functionality to video_capture module

The video_capture module can now capture timestamped image-sequences
using the buttons or setting in the GCS. Images are stamped using
their capture pprz_ts, which can be synchronized with the csv file
logger (todo).

(video_capture) Add video capture functionality to video_capture module

(video_capture) name images with current timestamp

(video_capture) Log capture timestamp instead of current time

(video_capture) Minor XML fixes

(video_capture) Store pprz_ts-stamped images in boot-time-stamped folder

Stamping images with calender time does not make sense in simulation,
which has an independent clock that runs at a different rate, and
does not have any concept of a calender time.

* Minor usability tweaks to file logger

* XML changes and new gazebo worlds after collecting datasets

Flight plan for orange pole dataset

Add flightplan to fly towards textured panel

XML changes after collecting dataset

Revert video capture and stream to front camera

* FIX datalink timeout in NPS

* minor fix: make colorfilter's color_count volatile

Shared between video thread and autopilot thread, so should technically
be volatile (although it seemed to work already).

* updated orange avoider to module state machine and added simple guided mode example (#46)

* updated orange avoider to module state machine and added simple guided mode example

* Apply suggestions from code review

Co-Authored-By: kirkscheper <kirkscheper@gmail.com>

* add mutex and update guided to return to arena

* Minor fix: increase freq of WP_MOVED telemetry message

This makes the waypoint-based orange avoider example easier to
follow.

* minor readability tweak for file logger

* Enable video_capture by default, place before object detector

* Fix OpenCV inconsistencies in NPS, update to 3.4.5 (#47)

With this fix, the opencv example module will link the OpenCV lib from the bebop_opencv submodule rather than the locally installed one. This prevents inconsistent behavior between the real drone and the simulator; previously a bug in OpenCV caused U and V channels to be swapped depending on the installed version. The Bebop and sim now both use OpenCV 3.4.5.

Commits:

* FIX color loop error

Not exactly sure what went wrong, but this code works on both sim
and bebop without segfaulting. Note that the YUV channel order problem
still exists in this commit.

* YUV test function

* WIP SEGFAULT Try to upgrade opencv_bebop

This commit segfaults on the Bebop, caused by OpenCV's cvtColor
function (confirmed with printf and gdb). Might be caused by this:
https://github.com/opencv/opencv/issues/12176 .

* WIP Update opencv_bebop

* WIP get compilation working for nps

* WIP Clean up makefile, update conf LDFLAGS

* Restructure opencv_bebop makefile

Also update pprz because paths and ldflags have changed.

* Minor opencv_bebop makefile changes

* Fix YUV channel order

* FIX Consistent OpenCV behavior on drone and in NPS, OpenCV 3.4.5

With this fix, the opencv example module will link the OpenCV lib
from the bebop_opencv submodule rather than the locally installed one.
This prevents inconsistent behavior between the real drone and the simulator;
previously a bug in OpenCV caused U and V channels to be swapped depending
on the installed version. The Bebop and sim now both use OpenCV 3.4.5.

* update opencv_bebop

* Remove opencv demo module from course airframe

* Separate grayscale and color examples

* Add joystick xml for SM600

Joystick should be set in Reflex XTR mode. Tested on Ubuntu 16,
but not on 18 yet.

* Change sm600.xml to G3-G4.5 axis order

Reflex mode behaves differently between Ubuntu 16 and 18... :/

* Add OptiTrack distance measuring tool

Usage:
1. Connect through ethernet to OptiTrack pc.
2. In dist.py, change id number (line 19) to rigid body id to track.
3. Run dist.py
4. Results are not saved, copy manually.

dist.py was written by Shushuai Li.

* Made find_object_centroid documentation more comprehensive (#50)

* GPS coordinates of CyberZoo (#51)

* GPS coordinates of CyberZoo

Update GPS coordinates of the CyberZoo along the green carpet

* Update conf/flight_plans/tudelft/course2019_orangeavoid_cyberzoo.xml

* Update conf/flight_plans/tudelft/course2019_orangeavoid_cyberzoo.xml

* Fixed capitalisation in xbox controlled and added Turnigy controller (#52)

* Fixed capitalisation in xbox controlled and added Turnigy controller

 - Fixed capitalisation in conf/joystick/xbox_gamepad.xml

 - Added Turnigy controller conf/joystick/turnigy_evolution.xml

* Added a newbie friendly version of xbox_gamepad

The xbox controller both sticks have springs in both axis
and in the configuration of the xbox_gamepad.xml the yaw and throttle are on the same axis.
This configuration has the yaw on the triggers making for a more pleasant experience.

* FIX missing #endif in abi_sender_ids.h

* Update airframes to use bebop_cam module

TODO: retune, test and tag in cyberzoo

* Update opencv_bebop submodule to latest master

Also updated linked libraries in cv_opencvdemo module. Should
be re-tested on a clean system.

* Further cleanup for pull request

* Change sm600.xml throttle range

Throttle did not seem to behave correctly. Calibration only makes
things worse (incorrect ranges and lots of noise). The current xml
seems to work with an UNcalibrated joystick, with the trim sliders
in the middle (including throttle).

* Change default joystick to sm600.xml

* Revert sm600.xml range

* Re-tune camera

Camera settings were changed after bebop camera overhaul.

* Further tuning of green detector

* Tag aircraft after test flights

* FIX 'land here' incorrect capitalization

Changed back to lower case to maintain compatibility with other
flight plans that may not have been merged into master.

* FIX reduce WP_MOVED update rate

Avoidance code used waypoint_set_ functions instead of wp_move_,
which lacks the downlink message to update the wp position in the
GCS. Implemented the missing move functions and used these instead,
reduced the update rate of WP_MOVED to its original, low rate.

* FIX file_logger error message referring to video_capture

* FIX file_logger for fixed wing ac

* FIX sm600.xml missing newline

* WIP Cleanup opti_dist
2019-07-18 12:14:33 +01:00