Commit Graph

62 Commits

Author SHA1 Message Date
Daniel Agar 24b26e53b9 cmake organize code coverage handling and base 2017-06-02 19:35:18 -04:00
bresch cdd7c57ded Multicopter mixer: When saturating, compute the new yaw value based on
the reduced thrust value
2017-05-30 12:01:42 +07:00
Matthias Grob fac34de11e mixer_multirotor: switched to math::constrain (#7073)
- a local implementation was used before which is not necessary
2017-04-26 15:25:05 -04:00
Daniel Agar e927f3e040 clang-tidy modernize-use-nullptr 2017-02-01 22:15:50 -05:00
Lorenz Meier 084e714f62 Mixer: Fix yaw throttle adjustment
When a motor hits a limit we only want to lower the collective throttle as much as the total limit, not per motor hitting the limit.
2017-01-21 08:33:51 +01:00
Lorenz Meier dd05ff5156 Multirotor mixer: Remove incorrect pre-parser and replace with fixed central implementation 2017-01-03 20:32:33 -05:00
Lorenz Meier 2cfcf3402e Systemlib: Header cleanup 2016-12-27 21:00:51 +01:00
Mark Whitehorn 8962eaa944 add new asymmetric airframe for Spedix S250AQ 2016-12-21 11:00:29 +01:00
David Sidrane 056bd5527d New NuttX debug API 2016-12-21 08:34:21 +01:00
Roman d221313dfb implemented mapping between desired thrust and applied pwm in
multirotor mixer.

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-15 23:39:53 +01:00
Paul Riseborough 8b55c8ec55 systemlib mixer: Add public method for multi_rotor saturation status 2016-12-13 16:14:15 +01:00
Paul Riseborough c4ccfeae0d mixer: improve multirotor motor limits reporting 2016-12-13 16:14:15 +01:00
David Sidrane db44129ec0 Prevents the posibility of buffer overflow in mixer parsing.
The fix limits scanf from overwritting the geomname buffer local
variable. Thus preventing stack corruption as noted by chungkim.
2016-10-12 22:58:55 +02:00
Roman c2a511d81d multirotor mixer slew rate limiting: naming and fixes
- avoid dividing by zero when calculating max delta output
- better comments when calculating max delta output
- better naming of functions and variables

Signed-off-by: Roman <bapstroman@gmail.com>
2016-09-30 13:55:53 +02:00
Roman cced6fc8b2 multirotor mixer: use correct version of delete operator for array pointer
Signed-off-by: Roman <bapstroman@gmail.com>
2016-09-30 13:55:53 +02:00
Roman 2607769470 slew rate limiting: moved logic to multirotor mixer
Signed-off-by: Roman <bapstroman@gmail.com>
2016-09-30 13:55:53 +02:00
Roman 66ddea01d1 implemented slew-rate 2016-09-30 13:55:53 +02:00
Lorenz Meier ae00abe468 Fix typo 2016-08-18 15:44:51 +02:00
Tiktiki dfed00d870 Update multi_tables.py
Corrected HEX_T position and rotation for motors 1-2-5-6
2016-08-18 15:27:32 +02:00
Tiktiki 021da9b2e1 Update mixer_multirotor.cpp 2016-08-18 15:25:24 +02:00
tumbili 2f7601370b mixer multirotor: initialise min_out with correct value 2016-04-11 17:47:40 +02:00
Lorenz Meier 76a8bea1c1 Fix mixer reporting 2016-03-24 12:07:06 +01:00
Mark Charlebois 791ec37f43 Code formatter fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois bd76042de2 Added muorb to posix eagle build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Simon Wilks 9a8050cc11 Add Steadidrone MAVRIK mixer and gains. 2016-02-02 08:31:08 +01:00
DroneBuster 4ee04e3530 multirotor mixer: add H configuration 2015-11-23 22:00:28 +02:00
Lorenz Meier 25dfa31374 Mixer: Fix code style 2015-10-19 09:37:01 +02:00
Roman 0158821670 protect from zero division 2015-10-18 21:48:59 +02:00
Lorenz Meier 2a8402edb1 Merged beta into master 2015-07-09 15:55:31 +02:00
Lorenz Meier 5f586fc354 Mixer library: Fix code style 2015-07-06 10:21:44 +02:00
tumbili ac215fe2cb allow to give away some thrust for yaw control 2015-06-08 16:42:51 +02:00
tumbili b571d70488 allow to give away some thrust for yaw control 2015-06-08 16:04:42 +02:00
Mark Charlebois 36f5d47ed9 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/gyro_calibration.cpp
	src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
tumbili b6441d2966 implemented new mixer strategy 2015-05-10 00:42:53 +02:00
Mark Charlebois 9758112e31 Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Roman Bapst 555e96a37a fixed publication of mixer limit flags 2015-04-10 20:26:38 +02:00
Anton Babushkin 95be7c2289 Fix limiting in mc mixer 2015-03-21 16:12:33 +01:00
Trent Lukaczyk af8e76ee7e tricopter initial commit 2015-02-05 20:18:00 -08:00
Anton Matosov 7d528330d5 Implemented SK450 DeadCat frame support
Implemented the way to specify motor output scale which is required for SK450 DeadCat as it has asymetrical arms (front arms are longer than back ones)
2015-01-08 13:58:46 +02:00
Anton Matosov b04559e5fa Removed include that couses compilation failure 2015-01-05 23:48:18 +02:00
Anton Matosov 29d0754df6 std::underlying_type is not supported by the g++ 4.6 used by CI server 2015-01-05 23:22:43 +02:00
Anton Matosov 117d43067f Switched to enum class out of class definition 2015-01-05 23:15:12 +02:00
Anton Matosov 8fadbdcf2f Automated generation of the Geometry enum to make addition of the new multirotor a really simple task 2015-01-05 12:02:32 +02:00
Anton Matosov 59fa170e54 Automated updates of the C++ code generated by the multi_tables script, now it is placed into the mixer_multirotor.generated.h file which is generated by makefile 2015-01-05 12:02:31 +02:00
Anton Matosov c4471d77d7 Moved quad_v and twin_engine to the multi_tables in order to make all the tables been generated automatically 2015-01-04 19:46:29 +02:00
Roman Bapst 285a0e7be9 added more mixer geometries and took v-mixer out of multi_tables script 2014-12-02 10:36:30 +01:00
Holger Steinhaus 5aafa1b021 mixer_multirotor: motor limit notification for PX4FMU 2014-08-26 20:36:02 +02:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07:00
Anton Babushkin 635a7533b4 mc mixer: additional safe limiting of mixed out 2014-05-22 19:04:04 +02:00
John Hiesey 56a8f3de0a Add mixer config for hexa coax frame 2014-05-20 01:01:09 -07:00