15166 Commits

Author SHA1 Message Date
tumbili
526698854c adapt vtol attitude control class to new vtol type classes 2015-06-19 00:04:24 +02:00
tumbili
77077cb92a added tailsitter attitude control class 2015-06-19 00:04:24 +02:00
tumbili
a212e45744 added tiltrotor attitude control class 2015-06-19 00:04:24 +02:00
Lorenz Meier
e23712c47c Merge pull request #2395 from tumbili/takeoff_help
ask for climbout mode when doin takeoff help
2015-06-18 23:56:28 +02:00
tumbili
1ccded0305 added generic class for vtol types 2015-06-18 23:55:30 +02:00
tumbili
2485e03794 corrected elevon mixer for firefly6 2015-06-18 23:54:58 +02:00
Lorenz Meier
a652642286 POSIX: Fix dataman start order 2015-06-18 14:24:35 -07:00
Mark Charlebois
785053e4f1 px4_log: reverted unused attribute annotations
Used a do_nothing() function for px4_omit() that will satisfy the
compiler so it will not report unused variables when a debug
message is compiled out.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-18 07:41:22 -07:00
Lorenz Meier
5de6d1b3c4 Merge branch 'release_v1.0.0' into beta 2015-06-18 11:03:58 +02:00
Lorenz Meier
e08dc0df40 Add support for RC_CHANNELS_OVERRIDE in addition to normal message 2015-06-18 11:03:32 +02:00
Mark Charlebois
7734195242 gpssim: cleaned up gpssim code
The gpssim code was named gps_sim vs being consistent with other
simulators (gpssim). It also used warnx and errx and had lots of
commeted out code.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-18 09:02:30 +02:00
Lorenz Meier
a94a8c5f51 sdlog2: Flow: Remove unused field 2015-06-18 08:56:36 +02:00
Lorenz Meier
3cd211ed72 MC pos control: Do not raise min throttle too far. 2015-06-18 08:56:00 +02:00
Lorenz Meier
f619c1390e Merge pull request #2366 from PX4/ekf_airspeed
EKF unfiltered airspeed
2015-06-18 08:36:11 +02:00
Mark Charlebois
552c9800a9 px4_log: Fixed compiler warning when using PX4_LOG
If __px4_log_level_current is unsigned then the runtime filter
comparison warns because an unsigned value can't be less than zero.

Changed typed to signed so compiler will not issue a warning.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 19:04:57 -07:00
Mark Charlebois
fc5eb7af6f unittests: Fixed dependency on px4_log.c
px4_log.c was added to px4_platform library and the library was added
to unit tests that use the log macros.

There is also a dependency on hrt_absolute_time() as well which requires
px4_platform.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 18:05:04 -07:00
Mark Charlebois
29a36da22c px4_log: Added documentation and handled unused variables
Added __attribute__ ((unused)) for variables used only for log
output and flagged as unused if the message log level is compiled out.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 17:11:21 -07:00
Mark Charlebois
dad0526a99 px4_log: Added include for ROS
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 13:50:49 -07:00
Mark Charlebois
a2297aa950 px4_log: Fixed ROS build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 13:49:34 -07:00
Lorenz Meier
959333d6cc Re-balance FMUv2 config in terms of buffer sizes to free some excessively used resources 2015-06-17 22:44:51 +02:00
Mark Charlebois
65e9fd9dd8 px4_log: minor fixes to logging header file
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 13:37:27 -07:00
Mark Charlebois
1a8703ec1c Improved logging with both compile and runtime level filtering
The device level debug will have to be removed and the debugging
can be based on this new logging structure which can tell where
an error (or debug output) occured whch the current implmentation
cannot.

The one limitation is the new macros cannot take a char* for the
format parameter. It must be an actual string literal because it
is concatenated with other strings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 13:28:27 -07:00
Lorenz Meier
f56990a9ec Merge pull request #2404 from PX4/master_uavcan_memory
Compile Time - Conditional inclusion of the Node Allocation and FW Server
2015-06-17 19:44:58 +02:00
Lorenz Meier
f6afa23d04 Fix up SK450 default gains to more reasonable values 2015-06-17 19:43:06 +02:00
David Sidrane
3e64ad10e8 Conditional inclusion of the Node Allocation and FW Server - default is OFF 2015-06-17 19:43:06 +02:00
Lorenz Meier
197945daa7 Merge pull request #2396 from UAVenture/qu4d_tuning_update
Update pitch and yaw gains to flight tested values.
2015-06-17 19:36:42 +02:00
David Sidrane
d6c2dd997b Conditional inclusion of the Node Allocation and FW Server - default is OFF 2015-06-17 06:21:28 -10:00
Roman
0446efa9a4 limit roll angle in loiter and position control mode if we are in a takeoff situation 2015-06-17 17:46:37 +02:00
Roman
6ce106eea4 limit minimum pitch in altitude controller modes if in a takeoff situation 2015-06-17 17:36:26 +02:00
Roman
da7a6c5db3 Merge branch 'takeoff_help' of https://github.com/tumbili/Firmware into takeoff_help 2015-06-17 16:11:54 +02:00
Lorenz Meier
10e92dc80b Merge pull request #2398 from mcharleb/makefile-cleanup
Makefile cleanup
2015-06-16 23:42:10 +02:00
tumbili
5c59d7a434 do not run tecs if we are on ground to prevent integrator filling 2015-06-16 23:05:58 +02:00
tumbili
c91bb76b42 ask for climbout mode when doin takeoff help 2015-06-16 23:05:58 +02:00
Mohammed Kabir
3d92364d9e camera trigger : increase free cycling time when we are not enabled 2015-06-16 22:55:05 +05:30
Mark Charlebois
84bf4bb6bb Use ?= for MK_DIR in firmware.mk
APU requires the use of ?= for MK_DIR but the use of lastword was
causing MK_DIR to be a subdir of makefiles. Changed lastword to
firstword (which is always the path to firmware.mk) which fixed
the problem.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-16 09:58:48 -07:00
Mark Charlebois
17b23f4e80 SITL: Added documentation on file paths
Added description of how to create required directories

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-16 09:58:48 -07:00
Mark Charlebois
26d2589e97 makefile cleanup
Moved nuttx specific make rules to files in makefiles/nuttx.

All target specific makefiles are in their target sub directories.

To minimize file duplication, targets that share rules include a
common file. For example the posix and posix-arm targets both use
makefiles/posix/posix_elf.mk

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-16 09:58:48 -07:00
Lorenz Meier
7c8ea1f680 Merge pull request #2370 from PX4/mission_feedback
Mission feedback
2015-06-16 18:18:05 +02:00
Mohammed Kabir
6a818ae053 commander : ignore handling camera_trigger command 2015-06-16 15:47:55 +05:30
Mohammed Kabir
ba89883fb0 camera trigger: minor cleanup 2015-06-16 15:44:58 +05:30
Simon Wilks
79944b2c35 Update pitch and yaw gains to flight tested values. 2015-06-16 11:21:36 +02:00
tumbili
1ebea1e759 ask for climbout mode when doin takeoff help 2015-06-16 11:05:44 +02:00
Lorenz Meier
f57086cb99 Merge pull request #2382 from PX4/multicopter_fall_fix
MC att control demand: Require a higher minimum throttle
2015-06-16 08:38:46 +02:00
Lorenz Meier
da5014fe95 Merge pull request #2389 from mcharleb/gyrossim-cleanup-2
gyrosim: removed dead code from gyrosim
2015-06-16 08:35:28 +02:00
Lorenz Meier
bfa840668b Merge pull request #2387 from mcharleb/SITL-readme-fix
SITL: updated README and rc.S
2015-06-16 08:25:16 +02:00
Mark Charlebois
ed58e83460 gyrosim: removed dead code from gyrosim
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 18:08:22 -07:00
Mark Charlebois
834e3c0587 SITL: updated README and rc.S
Changed rc.S to rcS.

Updated README.md to explain the require directory structure and
where to run mainapp from for SITL to work correctly.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 15:48:12 -07:00
Lorenz Meier
2e5d2c1cbe Merge pull request #2385 from mcharleb/SITL-readme-fix
SITL: fixed path to mainapp in documentation
2015-06-16 00:11:25 +02:00
Mark Charlebois
8ddfcb7f4b SITL: fixed path to mainapp in documentation
The updated path os Build/posix_sitl.build/

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 13:50:50 -07:00
Lorenz Meier
de8464e3ed Merge pull request #2383 from tumbili/gps_sim
add simulated gps driver to startup for SITL
2015-06-15 22:07:05 +02:00