Commit Graph

28679 Commits

Author SHA1 Message Date
Lorenz Meier 46428769a5 FW pos control: Fix mavlink output 2015-06-22 09:58:27 +02:00
Lorenz Meier 71fc0f5bc4 EKF: Fix mavlink output 2015-06-22 09:58:11 +02:00
Lorenz Meier 82f3d4e877 commander: Fix mavlink output 2015-06-22 09:58:01 +02:00
Lorenz Meier dfdc2c999d Bottle drop: Fix mavlink output 2015-06-22 09:57:49 +02:00
tumbili 80f1c517cc init VDev for mavlink log device 2015-06-22 09:43:12 +02:00
tumbili dd9e3cd315 call px4_open instead of open 2015-06-22 09:40:45 +02:00
Lorenz Meier 2c2a6b710c MC position controller: Set better defaults 2015-06-21 19:00:23 +02:00
Lorenz Meier 62b102d0b4 MC attitude controller: Set better defaults 2015-06-21 19:00:06 +02:00
Lorenz Meier 9365c5a438 systemlib: Remove file present 2x from Makefile 2015-06-21 18:59:28 +02:00
Mark Charlebois 71fc3a96df Merge branch 'master' of https://www.github.com/PX4/Firmware into getopt-cleanup-v2 2015-06-19 12:54:17 -07:00
Lorenz Meier 27cec4a977 VDev POSIX: Fix non-POSIX conformant return value handling 2015-06-19 11:52:07 -07:00
Lorenz Meier d81d20ff0e VDev: Add missing break 2015-06-19 11:51:37 -07:00
Mark Charlebois f7fe6a037d Converted getopt use to px4_getopt
In the posix and qurt builds, getopt is not thread safe so px4_getopt
should be used instead.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-19 11:39:08 -07:00
Lorenz Meier 878284701d POSIX: Simulator: Use port 14560, since 14550 is QGroundControls default port 2015-06-19 10:45:26 -07:00
Lorenz Meier 79d9e1be8d sensors app: Load missing param 2015-06-19 10:44:58 -07:00
tumbili 655617f958 mavlink:
- implement get_free_tx_buf() for UDP and TCP
- gefine get_uart_fd for all platforms
2015-06-19 18:39:05 +02:00
tumbili ecbc286469 added function to return socket fd 2015-06-19 18:39:04 +02:00
tumbili c4d92ff05b enable receiving data over network port 2015-06-19 18:39:04 +02:00
tumbili 60857c7940 add option to lock elevons for tailsitters in mc mode 2015-06-19 09:53:04 +02:00
tumbili 4e9fd5b2a4 rotate attitude for fw mode only if VTOL is a tailsitter 2015-06-19 09:25:16 +02:00
Lorenz Meier cc9d8c7a1c Merge pull request #2418 from tumbili/vtol_rework
Vtol rework
2015-06-19 00:34:21 +02:00
tumbili b3c3d6634c added vtol types 2015-06-19 00:04:24 +02:00
tumbili 12feef85bf lower lowest allowed max pwm value to be able to cut rear motors for firefly6 in fw mode 2015-06-19 00:04:24 +02:00
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
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 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 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
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
David Sidrane 3e64ad10e8 Conditional inclusion of the Node Allocation and FW Server - default is OFF 2015-06-17 19:43:06 +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
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
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