Commit Graph

160 Commits

Author SHA1 Message Date
NoahWe 07558af7a2 Airspeed consistency check with onboard wind estimation (#3478)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* initial commit airspeed consistency check module
* small edit
* address comments
* use INFO_MSG for airspeed consistency module
2025-07-01 10:07:35 +02:00
Gautier Hattenberger 646a79795d [guided] rewrite guided mode example with a separated lib (#3442)
Doxygen / build (push) Has been cancelled
* [guided] rewrite guided mode example with a separated lib

* [Settings] Allows to set setting by name.

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-03-21 16:51:41 +01:00
Christophe De Wagter d7c50a262b Fix Python tools - file name consistency - compile master without warnings - airframe fix (#3388) 2024-10-04 08:51:01 +02:00
Christophe De Wagter 4e98f10f67 Rotwing control update made compatible with master (#3374) 2024-10-03 13:55:33 +02:00
Christophe De Wagter 7da8daf6e2 [rotwing] Rename to make name consistent (#3366)
* Make naming consistent rotwing

* Fixes

* more files

* fix conf

* revert

* update

* double id's

* Missed a file

* missing renames

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2024-09-27 16:43:02 +02:00
Christophe De Wagter 14b278dac6 [ground] Fix wind.py for gtk3.0 (#3351) 2024-08-13 16:45:22 +02:00
Angel-HF 455d883677 Added rotorcraft support for circularFormation.py (#3336) 2024-07-16 13:38:29 +02:00
Angel-HF e089fd48f7 Implement classic GVF for rotorcrafts (#3327)
* [modules] implemented GVF for rotorcrafts

* Note about Crazyradio communication with Crazyflies
2024-07-12 17:44:01 +02:00
Gautier Hattenberger 167b1768e5 Fix collection errors from ci (#3296)
* [chibios] remove unecessary option that makes a warning on H7

see ChibiOS forum: http://forum.chibios.org/viewtopic.php?t=5830

* [guidance] fix hybrid guidance

after merging #3248

* [natnet] remove call to function that doesn't exist

issue were only on verbose mode

* [conf] remove bebop_flip aiframe file

The FLIP mode is not supported anymore, better remove this example.
If flip is really needed, it should be implemented as a custom mode in
generated autopilot.
2024-06-11 14:26:53 +02:00
Fabien-B b71d4793a6 [python] Fix shebangs to use the "right" interpreter. (#3292)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-06-06 11:38:47 +02:00
Fabien-B 7f2d374c4f Update natnet SDK. (#3249) 2024-06-06 11:31:06 +02:00
Christophe De Wagter 308a698bf4 [tudelft] Rot Wing Updates V3 (#3278)
* max bank in deg

* takeoff no attitude msec timer

* Prepared elevator moment compensation fix

* [EHVB_rotwing fp] Updated takeoff stratgey with roll and pitch check and added standby_free to flightplan

* [fp EHVB] Takeoff 3 seconds on att 0,0

* increase filter freq and setting for max acc

* [rot_wing_eff_sched] Elevator 5 degrees higher

* [rot_wing] Decreased cutoff frequencies of filters

* [modules] Support dual ublox GPS modules

* [ekf2] Add failsafe remove yaw

* Reverted acceleration limits

* takeoff procedure update

* [flight_plan] Takeoff when hover motors are running

* scale elevator ctrl eff in transition

* [conf] Fix takeoff

* Higher pitch gains

* Fix conf

* Add extra throttle for spinup

* Update calibration

* max_bank in Radians only except in xml/gcs with auto-conversion

* cleanup

* Use flightplan variables instead...

* fix test

* revert debugging action

* cleanup unused

* cleanup more

* Fix compile bug

* [pfc] Fix actuators

* Add follow tests

* reduce pitch weight in forward flight

* correctly set cmd thrust in INDI

* fix takeoff unequal roll effectiveness and not in_flight

* Fix heading in approach

* fix double define and roll scaling setting

* settings names and roll scaling in right settings

* moving simulator stuff

* [flight_plan] Update angel for takeoff

* Update conf

* Conf update

* [conf] Update checks

* land in approach

* Fix flightplan

* Update sw/ground_segment/python/moving_base/moving_base.py

* input params for moving base sim

* no elevator compensation

---------

Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
Co-authored-by: Dennis van Wijngaarden <32736330+Dennis-Wijngaarden@users.noreply.github.com>
Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2024-06-05 14:58:07 +02:00
Christophe De Wagter d0f97e143d Rotwing show both CAN bus messages... (#3263) 2024-04-11 12:03:02 +02:00
Till Blaha 12da43ec1b Fix natnet2ivy rotation order (#3231) 2024-03-01 14:50:54 +01:00
Christophe De Wagter 5c04a35a30 [quadplane] simulator, telemetry and visualizers ---> PR 3173 (#3173) 2023-11-11 10:26:48 +01:00
Tomaso Maria Luigi De Ponti cc071e1ca7 Oneloop Controller Pull Request (#3150) 2023-11-07 14:16:37 +01:00
Christophe De Wagter 59fac571a6 [tools] Python visualizer updates quadplane (#3119) 2023-10-01 20:43:14 +02:00
Christophe De Wagter 3da0992fd5 [tools] Visualizer Rotating Wing (#3070)
* Visualizer Rotating Wing

Rotwing Monitor

* executable + tool

* removed STL

* Apply suggestions from code review
2023-09-18 15:00:42 +02:00
Christophe De Wagter d967bf237b [python] Moving-base simulator (#3066)
Missing new heading field
2023-09-14 16:52:34 +02:00
Christophe De Wagter ce15efd045 [python] fuel-cell endurance estimators and status fixes (#3059)
* [python] fuel-cell endurance estimators and status fixes

* controlpanel

* [python] Update fuel cell python

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-09-14 14:06:39 +02:00
Gautier Hattenberger 6169709da6 [plotter] implementing a realtime plotter in python (#2997)
* [plotter] implementing a realtime plotter in python

based on pyqtgraph
it should implement most of the functionalities of the legacy ocaml plotter
it is replacing the previous implementation in python

* Format code.
* Add requirements
* refactor plotter

---------

Co-authored-by: Fabien-B <fabien.bonneval@gmail.com>
2023-02-24 00:20:05 +01:00
Gautier Hattenberger 3502cab856 [natnet] display object in GCS based on optitrack markerset (#2958)
* [natnet] display object in GCS based on optitrack markerset

update natnet client to get markerset

* [natnet] Add a minimum refresh period for objects display.

Co-authored-by: Fabien-B <fabien.bonneval@gmail.com>
2022-12-16 16:00:36 +01:00
Till Blaha 27c9c8a27f More intuitive axes systems for indoor test areas with Optitrack positioning systems (#2947) 2022-11-17 14:31:11 +01:00
Gautier Hattenberger d721d0c727 Update conf enac imav (#2905)
* update enac conf and imav2022 flight plans

* collection of small corrections and improvements

- default mode is NAV for rover steering
- no rover throttle when killed
- xbee link doesn't send data to modem before end of config
- fix alt in server (geoid/ellipsoid)
- support GPS_INT in sd2log
- don't increment position in follow module
- use correct angles for hybrid
2022-09-28 15:34:59 +02:00
Freek van Tienen a0e00fd753 [ins] EKF2 update to latest version (#2829)
* [conf] Add splash4 airframe
* [ins] Update EKF2
* [ekf2] Add support for optitrack and update gps datalink module
* [modules] Fix gps datalink module heading calculations
* [ground] Remove old natnet2ivy
2022-04-12 11:08:20 +02:00
Gautier Hattenberger 49327fe0a3 [python] tool to read data from hotwire anemometer PCE-423 (#2851) 2022-03-30 12:13:56 +02:00
amtcvx 3172453e74 [LinkCombiner] rename function. (#2778) 2021-09-10 13:25:10 +02:00
Fabien-B fe8bbd3bb0 Fix python "Messages". (#2752) 2021-07-16 14:11:17 +02:00
Freek van Tienen 47c591f6fb [combined] Small fixes (#2750)
* [conf] Add NederDrone Trailing edge motors

* Update the enter function of guidance_indi_hybrid

* added guidance hybrid message

* [ekf2] Fix EKF2 capabilities to fly with optitrack system

* [ground] Add Herelink python script for logging RSSI

Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
2021-07-15 15:50:11 +02:00
Christophe De Wagter e8174bf853 [tools] Bugfix in wind plotter tool 2021-06-03 11:33:35 +02:00
Christophe De Wagter f5abd80e32 [tools] Minor fix in python tools. 2021-06-03 10:50:05 +02:00
Christophe De Wagter 030c5e71aa [python] Nederdrone Status Window: CAN Esc Status and Fuel-cell status (#2725) 2021-05-20 10:03:10 +02:00
Hector Garcia de Marina 82a81cbf24 gvf and python3 ubuntu 20.04 (#2588)
* compatible python3 ubuntu 20.04

* python3 by default
2020-09-23 09:28:05 +02:00
Hector Garcia de Marina f38be8110c GVF Parametric (#2559)
Co-authored-by: Hector Garcia de Marina <hgdemarina@gmail.com>
2020-09-18 20:52:35 +02:00
xp31 ba931c0315 [fc_rotor] fix include and use python3 2020-09-04 14:37:10 +02:00
Gautier Hattenberger 7e34121c6d [natnet] fix timestamp scale to have ms 2020-09-04 14:37:10 +02:00
Mohammad Jafar Mashhadi eeac31e1e4 Added try...except to be more safe after pprzlink api changes. (#2548)
* Updated pprzlink library to the latest version

* Added try...except to crazyradio2ivy.py to be safer after pprzlink API changes. paparazzi/pprzlink#117

* Updated request messages with the new pprzlink API

* Added a #noqa comment so linters won't remove the seemingly unused import.

* Updated the guided_mode_example.py to have a wait timeout.
2020-07-14 01:01:36 +02:00
Christophe De Wagter b53f085f1d [ground] Distance measuring during flight, Ubuntu18.04 update + time (#2521)
* [ground] Distance measuring during flight, Ubuntu18.04 update + time counter

* remove printf as this freezes pprzcenter

Co-Authored-By: Matteo Barbera <matteo.barbera97@gmail.com>

* remove printf

Co-Authored-By: Matteo Barbera <matteo.barbera97@gmail.com>

* line endings

* Fix distance counter to work with different number of messages

* Nicer code in distance coutner

Co-authored-by: Matteo Barbera <matteo.barbera97@gmail.com>
Co-authored-by: danielwillemsen <danielwillemsen@live.nl>
2020-04-12 16:17:38 +02:00
Gautier Hattenberger 228737677e [tool] crazyradio to Ivy bridge
Used for datalink with crazyflie drones.
Update pprzlink for compatibility between Python 2 and 3.
Requires to install crazflie-lib-python from Bitcraze.
2020-01-13 14:21:54 +01:00
Hector Garcia de Marina 521f3cf8e8 Organize multi vehicles (#2473)
* source files moved to multi dir

* python scripts moved to multi dir

* short README for the multi directory

* correct paths to multi
2019-11-23 22:49:42 +01:00
Hector Garcia de Marina 5cf27ee25d Collective tracking control (#2469) 2019-11-16 00:43:46 +01:00
Gautier Hattenberger 4d7045d6ff [python] fix natnet3 speed filter
previously, only the last computed speed was return in the end,
regardless of the filter option (number of points to use)
2019-06-18 19:16:06 +02:00
Gautier Hattenberger def68323ad [matlab2pprz] fix nb of arguments and add to tools 2019-02-28 14:26:52 +01:00
Gautier Hattenberger 905c980223 [matlab] bridge between Natnet, Simulink and Paparazzi 2019-02-28 14:26:52 +01:00
Kirk Scheper 6ab48de161 added explicit pyhton2 binding where ambiguous (#2373) 2019-02-01 09:41:55 +01:00
Hector Garcia de Marina 46a8bfb0a2 Futaba16SZ, units in circular formation, and no IMU in default msg cfg (#2382)
* fixed tab and IMU not necessary in default

* explicit units

* Futaba T16SZ conf file

* units

* fixed tab and IMU not necessary in default

* explicit units

* Futaba T16SZ conf file

* units
2019-01-29 11:19:24 +01:00
Gautier Hattenberger 9cceab1c49 [imav] add support for direct control of a CX10DS from input2ivy tool
This is the basic manual operation mode of the IMAV2018 indoor mission
2018-12-03 21:54:38 +01:00
Christophe De Wagter cf9499012e Update multiple python tools (#2333)
* fix missing path, remove unused code, use more common fonts, make text rescale

* Save window position on close, better resize and font change, wind plotter, updated battery model

* Fixed merge problem, cleaned up and added to controlpanel

* Cleanup wind
2018-10-05 22:02:53 +02:00
Christophe De Wagter 018df2fb30 [visualizer] battery model plot 2018-08-07 20:57:00 +02:00
Hector Garcia de Marina da3e040ae4 Distributed formation circular control upgraded (#2293)
* -1 is the correct value to erase a neighbor

* nei_id 0 special msg to clean tables

* We control relative position in addition to the absolute angle

* faster convergence, and we control relative position too

* not needed, we have json conf files now

* forgot to remove the stdio for debugging

* forgot to remove this .txt, not needed with json

* fixed style
2018-07-12 15:25:44 +02:00