some errors after #2828
- fix all airframes using dual boards
- fix calls to ap_state or old imcu API
- fix some includes
- protect some code to compile test programs (without 'commands' API)
close#2840
There is no longer a separated FBW in normal operation for fixedwing,
only a single AP task/thread.
The code for main_ap is now factorized for all firmwares.
Dual MCU support (separated AP and FBW) is still possible, based on the
rotorcraft implementation and intermcu pprzlink messages. Relevant code
is also factorized and available in all firmwares.
The recovery mode (in case of hard fault) is still available for
fixedwing with ChibiOS implementation.
Only intermcu_uart is supported at the moment. Other options (spi/can)
might be added back in the future if really used.
Some other evolution are made:
- in the radio_control and actuators modules, now integrated to AP and
using ABI messages
- the message parsing on datalink event (defined in module) that is now
properly filtering the messages based on their class and allowing to
have multiple callbacks for the same message
- cleaning the part of code that were using the old intermcu fixedwing
interface
- add a generic linear kalman filter lib
- add a quad model with linear drag and simplified for recent jsbsim
- add example frame and noisy NPS sensor config
see "Estimating wind using a quadrotor" in IMAV2021 proceedings
- try to set the sensor frequency automatically at the correct value
- make more parameters configurable
- set higher bounds for all sensors to avoid saturation
- remove old unused files
- update airframe files
* Adding guidance changes on top of master branch
* [pprzlink] Update to new version
* [conf] Change airspeed sensor Neddrone4
Co-authored-by: Ewoud Smeur <ewoud_smeur@msn.com>
* Changed to use the filter interface
* Cleaning defines from airframe files
* update module doc
* [conf] Fix Nederdrone back wing numbering
* Filter frequency in Hz
* Fix nameing with prefix
Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
* use more precise STATISTICS module instead of deprecated PROFILING one to get accurate cpu load informations
* enable sys_mon module in drop1 airframe
* [cleaning] removing some old stuff
- infrared sensors and related ahrs
- mkk and asctec actuators
- old carto modules
- fix bebop actuators for NPS
- clean airframe and conf
* [conf] add back asctec_v2 actuators that is still being used
* [conf] fix health script, remove flightplans that reference missing files, fix illegal XML that python can not load.
* [fixes] removed modules with missing c-code, solved bad XML formats, fixed missing modules in airframes, solved health-tools (Python3)
* [airframe] removed unexisting modules
* [calib] unreferenced calibrations
* files for PDF exercise
* Explicit call to python2 for systems that default to python3
* Description and comments fixes
[flight_plan] remove warning about dummy WP
Reformatted indents to 2 spaces
Added configs for ps4 gamepads, fixed typos (#68)
Update: for flight testing in the CyberZoo
Fix color gain in mav_course_exercise.xml airframe (#72)
[flight_plan] Re-measured the autoland border. It is not safe to exit the red sqaure so it auto-lands to prevent damage. (#73)
[Camera] Vision runs faster is unnecessary frames are not grabbed. (#74)
Co-authored-by: Matteo Barbera <matteo.barbera97@gmail.com>
- support depends, conflicts and provides nodes, all under a 'dep' node
- autoload are kept for now and are not moved yet
- modules are updated for new dep format
- it is now required that module's name and filename are the same
* cv.c changes to support multiple cameras, compiles but untested
* opticflow module runs on both cameras
* modified airframe to showcase module running with two cameras
* updated OPTICFLOW ABI message to send camera id info
* now possible to subscribe to the ABI message from a specific camera
* Added camera_id field to conform with new telemetry message
* Updated pprzlink
* [shell] add a shell module with ChibiOS
- add a set of core commands
- allow to add custom commands from external modules at runtime
- fix small errors in rtos_mon module
* [shell] only for ap target at the moment
* [board] add nucleo144 dev board
it is a cheap dev board for testing, using the same processor than the
Tawaki autopilot and configured (almost) with the same pins (except for
the leds and some original servo and aux pins)
* remove SD card support for nucleo144
* clean cfg file
* FIX removed non existent module
The fixed_wing_cam_v1 module is not part of paparazzi.
* FIX replaced one call keyword with call_once
* FIX replaced the last value of 1 with true
* FIX another 1 was replaced with true
I think this time everything is fine.
* FIX removed two unneeded definitions.