Commit Graph
14645 Commits
Author SHA1 Message Date
Felix Ruess 17ee4c8edd [stm32][i2c] allow to define the GPIO alternate function number 2016-12-14 14:13:43 +01:00
kevindeheckerandFelix Ruess 433c215002 [conf] TUDelft: Iris autonomous outdoor (#1963)
* Removed unused targets from Iris airframe

* Outside magneto calibration, set nominal hover throttle

* Upped gps baud and lowered horizontal pgain, which solves toilet balling in HZH

* Added safety features to basic outdoor flightplan
2016-12-12 18:57:51 +01:00
Gautier Hattenberger 9cd4ee5de7 [px4] fix a few issues related to px4 and intermcu support
- fix KILL_SWITCH channel name
- give priority to KILL_SWITCH over AUX1
- add missing comments for forceprog option
- swap radio_control power logic (spektrum port)
- add comment for modem port
2016-12-12 15:37:53 +01:00
Gautier Hattenberger 61977a1b95 [calibration] auto noise threshold for mag
then manual values as parameters also apply for mag
2016-12-12 15:20:56 +01:00
Michal Podhradsky 10fc2c4cb4 PX4FLOW fixes in the state machine 2016-12-09 17:57:45 -08:00
Michal Podhradsky 1793186076 Lidar update documentation 2016-12-09 14:43:46 -08:00
Michal Podhradsky 93394f85d5 Fixed gain scheduling settings 2016-12-09 10:50:27 -08:00
Ewoud Smeur ae7716fad0 Changed confusing airframe names 2016-12-09 16:57:06 +01:00
Felix RuessandMichal Podhradsky 7a2976a810 [stm32] also compile C++ files (#1561) 2016-12-07 12:55:54 -08:00
Ewoud Smeur 8ca6b3b8f4 [fix] mistake with baro sign 2016-12-07 15:27:06 +01:00
Michal Podhradsky 21a981b417 Added tooltip hint for keyboard shortcuts in the pprz center 2016-12-06 14:26:46 -08:00
Michal Podhradsky f3fe6b420c Added keyboard shortcuts to the paparazzi center
Alt+C -> Clean
Alt+B -> Build
Alt+U -> Upload
2016-12-06 10:12:08 -08:00
Michal Podhradsky 0274c61ea2 [max7456] Fix overflow condition 2016-12-05 13:12:37 -08:00
Ewoud SmeurandFelix Ruess 7bc1df3d65 Compensate baro for reference frame conversion (#1861)
The barometer measures in the lla frame, but the INS is in the NED
frame. Conversion is therefore necessary.
Use a simple calculation using the earth's radius
2016-12-05 20:29:43 +01:00
Michal PodhradskyandGitHub 4368cbc6d8 Coverity fixes (#1959) 2016-12-05 09:42:30 -08:00
Ewoud SmeurandGautier Hattenberger 8bbece8000 Solving build errors and warnings (#1958) 2016-12-05 14:55:05 +01:00
Michal Podhradsky 4d25a55a2d [AggieAir] Updated config 2016-12-02 10:13:13 -08:00
Ewoud Smeur 03e7f721f5 using actuators_pprz in the command laws 2016-12-02 19:02:09 +01:00
Michal Podhradsky 8e7a4abf8c [LidarLite] Fix indentation 2016-12-01 14:23:09 -08:00
Michal Podhradsky 3763602768 [Lidar] Update lidar lite driver, now works with new lidars 2016-12-01 13:37:37 -08:00
Michal Podhradsky 81089967aa [AggieAirConf] Minor updates 2016-12-01 10:59:36 -08:00
Ewoud SmeurandMichal Podhradsky 6dcabb3a57 update INDI tu use full control effecitvens matrix (#1916)
* update INDI tu use full control effecitvens matrix

Instead of using commands (roll, pitch, yaw, thrust), give the
controller direct control over all actuators.
This allows for online individual actuator control effectiveness
estimation and inversion, as well as better saturation handling.
The INDI controller as it was previous is renamed to 'simple'.

* Made INDI more flexible wrt number of actuators

- 4x4 matrix inverse to accomodate the thrust axis as well
- support for more actuators
- cleanup of code

* Change filters guidance indi to butterworth

* Added body acceleration to state interface

* Better adaptation and guidance thrust increment

- Adaptation flexible wrt. number of actuators.
- Added adaptation of the specific force effectiveness of the actuators.
- Added connection to guidance INDI through ABI. The thrust increment is
  caclulated in guidance INDI and sent to the stabilization.

* lower case variables

* change filter of indi to butterworth

* INDI fix array index & no declarations in for loop

- Also added doxygen comments

* Added actuators_pprz

the array actuators is used to drive the servos, so a new array to store
the command to the actuators in pprz scale is needed

* Removed hardcoded scaling
2016-12-01 10:02:36 -08:00
Christophe De Wagter 6026187fa1 [conf] remove failing and unused nps target in MXS example 2016-11-28 11:59:42 +01:00
Gautier HattenbergerandFelix Ruess df4d8e4e43 [imu] mpu9250: wait for valid WHO_AM_I reply before starting configuration (#1949)
[imu] wait for a valid WHO_AM_I reply before starting configuration on mpu9250
2016-11-26 14:26:01 +01:00
Christophe De WagterandFelix Ruess 83cdcdf75d [actuators] sbus actuators output (#1952) 2016-11-26 14:23:40 +01:00
Ewoud SmeurandFelix Ruess cd3b9eddd9 Changed the behaviour of var in command laws (#1955)
It used to be int16_t, but that easily overflows
servo_value and command_value are already int32_t, so there is no reason
to stick to int16_t
2016-11-26 14:22:15 +01:00
Gautier HattenbergerandFelix Ruess 739f939c2e [build] reverse list of modules to have generated functions called in the correct order (airframe order) (#1948) 2016-11-26 13:45:41 +01:00
Gautier Hattenberger 09c8662cc4 [build] add some ChibiOS flags to prevent errors when 'find_vpaths' script with this arch 2016-11-24 22:39:52 +01:00
Freek van TienenandGitHub e92de55c70 Merge pull request #1956 from EwoudSmeur/conf_cleanup
Removed configurations inactive developers
2016-11-24 13:40:06 +01:00
Ewoud Smeur 8f2a14b32d Change from MIN_BAT to LOW_BAT 2016-11-24 13:03:10 +01:00
Ewoud Smeur 27c89a8fde Removed configurations inactive developers 2016-11-24 11:42:41 +01:00
kevindeheckerandGautier Hattenberger 0868b7ea92 Added 2x3 way mode switch (#1954)
* Added 2x3 way mode switch, which is used in the FrSky rc
* Improved comment
2016-11-21 17:37:32 +01:00
kevindeheckerandGautier Hattenberger b9b5a7039b Added define to disable rc-direct fbw mode manual (#1953) 2016-11-21 15:04:18 +01:00
kevindeheckerandMichal Podhradsky 7859e0a66f Px4 imu fixes (#1950)
* Lsm303d spi driver

* Use lsm303d for pixhawk instead of depricated lsm303dlhc

* Fixed the actual acc problem

* Removed lsm303dlhc_spi device, which does not even exist

* Updated acc calibration after solving scaling bug

* INDI adaptive tuned Iris

* Conf stuff

* Remove seperate pid airframe, as indi works pretty good and I'm not maintaining it anyway

* Fixed units in airframe file

* Enlarged range of slider for indi max rates
2016-11-18 10:38:05 -08:00
Christophe De Wagter d633f60fa7 [airframe] lisa_mx_s 2016-11-18 11:30:28 +01:00
Michal Podhradsky 80c8419cf3 Add Vectornav AHRS ID 2016-11-16 15:06:45 -08:00
kevindeheckerandMichal Podhradsky c7f0c04bba Kill switch now also works for fbw mode (#1951)
for rotorcraft firmware
2016-11-16 14:58:24 -08:00
Michal PodhradskyandGitHub 2dd6762472 Vectornav as AHRS (#1946) 2016-11-15 15:59:01 -08:00
Michal Podhradsky ff265a57c1 [vff_extended] Make process and measurement noise adjustable via settings (for inflight tuning) 2016-11-15 15:30:15 -08:00
Michal Podhradsky 7b4cfeb43a Lower frequency of debug messages so it doesn't eat up all telemetry bandwidth 2016-11-15 15:27:59 -08:00
Michal Podhradsky b875af90a1 Compile px4fmu baro even without px4fmu_IMU module (SPI dependency) 2016-11-15 15:27:07 -08:00
Gautier Hattenberger 8ebbbdd07b [ahrs] fix typo in config files 2016-11-15 15:30:21 +01:00
Gautier Hattenberger 9c983ab73c [logger] fix spi direct logger 2016-11-14 00:19:16 +01:00
Hector Garcia de MarinaandGautier Hattenberger 125a361bbd now we process only the msgs from the ac_id aircraft (#1947) 2016-11-13 22:08:50 +01:00
Michal PodhradskyandGitHub 0b87409847 Make travis compile again 2016-11-11 17:17:54 -08:00
Michal PodhradskyandFelix Ruess 8cfa5f18dd PX4FLOW integration (#1907)
Fixed the velocity messages (using the correct variables)
Works for PX4FLOW mounted as described here: https://pixhawk.org/modules/px4flow
Option to use i2c or UART to get data from PX4FLOW
Sends debug messages (maybe make optional if needed).
2016-11-10 21:18:51 +01:00
TitusandGautier Hattenberger 5fa0b209d0 Fixed two header files ifdefined (#1945) 2016-11-10 17:47:34 +01:00
Gautier Hattenberger a8494f312e [esc32] always send status message
when sending to both sdlog and telemetry at different rates, one of the
two might be skipped because the data_available flag was set to false
2016-11-10 16:32:33 +01:00
Gautier Hattenberger c8eb4b2a2f [sdlog] error message when using old subsystem name 2016-11-10 15:25:08 +01:00
Gautier Hattenberger 3fc0c2bea1 [sdlog] prevent segfault by checking file descriptor before using it 2016-11-10 15:18:41 +01:00