Lorenz Meier
2cfcf3402e
Systemlib: Header cleanup
2016-12-27 21:00:51 +01:00
Lorenz Meier
5b70522541
Mixer: Make reset operation more robust
...
This change makes the operation more robust as it flags the whole group invalid in the first step. This should not be confused with being thread-safe - to be thread-safe, all accesses to _first and the following linked list need to be guarded by a mutex. This should be done outside of the mixer in the driver though, as the method depends on the board architecture.
2016-12-26 13:41:36 +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
Lorenz Meier
83b177c5ad
DC mixer: Fix geometry for Iris
2016-12-19 20:39:48 +01:00
Lorenz Meier
dfed9a3f13
Fix nullptr access in mixer group. This was only ever an issue on booboot and not in flight.
2016-12-19 20:36:05 +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
Lorenz Meier
c23378e70d
Update heli mixer, not reporting saturation yet
2016-12-13 16:14:15 +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
Lorenz Meier
d817d331fd
Add set trim API for helicopter mixer
2016-12-10 14:45:49 +01:00
Bart Slinger
a7c8d77453
Generic helicopter mixer
...
fix code style
2016-12-10 14:45:49 +01:00
Mark Whitehorn
dbc149c224
change trim units from absolute usec to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
009a413438
fix argument order in pwm_limit_calc call, clean up
...
note that FMU does not update AUX pwm outputs if no RC signal
2016-12-10 12:56:39 +01:00
Mark Whitehorn
a0c8a78a14
use trim values to set mixer:scaler.offset
...
clamp mixer output offset to [-.2,.2] ([-2000, 2000] in mixer file)
add 8 main PWM trim parameters
add long desc to parameters and bump minor parameter version
2016-12-10 12:56:39 +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
cf8f484868
mixer class: updated comments on slew rate limit method
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-09-30 13:55:53 +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
Tiktiki
3daf4a3a67
Update multi_tables.py
2016-08-18 15:25:24 +02:00
Beat Küng
8a12dee125
cmake: remove all module.mk files & cmake conversion script ( #4918 )
...
It seems these files are leftovers.
2016-06-28 09:26:36 +02:00
David Sidrane
538d9ada25
Needed to avoid name collsion in upcomming Nuttx logger changes ( #4830 )
2016-06-15 21:51:53 +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 Whitehorn
1551898f5a
fix typo in comment
2016-03-01 09:21:58 +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
nopeppermint
78f9bb79f1
more spelling mistakes
2016-01-11 08:38:09 +01:00
Lorenz Meier
00e9804b5a
Mixer: Fix dependencies
2015-11-29 17:05:39 +01:00
DroneBuster
4ee04e3530
multirotor mixer: add H configuration
2015-11-23 22:00:28 +02:00
Lorenz Meier
628e5c8649
Mixer: Fix naming inconsistency
2015-11-05 21:29:44 +01:00
Lorenz Meier
9b1fefb8d0
Remove unused build file
2015-11-05 21:29:17 +01: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
James Goppert
567431602a
Adds alias __errno to linker file fixed link, need to understand why.
2015-09-14 19:55:53 -04:00
James Goppert
fbebeab1b4
Added mixer generation.
2015-09-08 19:27:38 -04:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04: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