Commit Graph

48668 Commits

Author SHA1 Message Date
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 3627456dd6 POSIX config: Fix order of dev IDs 2015-06-19 12:01:48 -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
Lorenz Meier bf24d42a79 POSIX: Fix SITL startup script 2015-06-19 10:44:36 -07:00
Lorenz Meier 468e233ebe Merge pull request #2425 from tumbili/udp_receiver
Udp receiver
2015-06-19 18:49:03 +02: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
Lorenz Meier bb76ac722c Merge branch 'release_v1.0.0' of github.com:PX4/Firmware into beta 2015-06-19 10:22:10 +02:00
Lorenz Meier 8569d6e15f Merge pull request #2423 from tumbili/more_VTOL
More vtol
2015-06-19 10:06:03 +02:00
tumbili fc7dc297fc lock elevons in mc mode for tailsitter with motors in x config 2015-06-19 09:53:04 +02:00
tumbili 60857c7940 add option to lock elevons for tailsitters in mc mode 2015-06-19 09:53:04 +02:00
Lorenz Meier 03d45b8dbf Merge pull request #2422 from tumbili/VTOL_new_tailsitter
Vtol new tailsitter
2015-06-19 09:34:37 +02:00
tumbili aade901ef0 added new tailsitter type to autostart list 2015-06-19 09:25:16 +02:00
tumbili fb70b0a2b5 added mixer file for tailsitter with motors in quad x configuration and 2 elevons 2015-06-19 09:25:16 +02:00
tumbili 51b1968bdd added configuration file for tailsitter with motors in quad x configuration 2015-06-19 09:25:16 +02:00
tumbili 4e9fd5b2a4 rotate attitude for fw mode only if VTOL is a tailsitter 2015-06-19 09:25:16 +02:00
tumbili d320dc8ada added VTOL type param to VTOL configuration files 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
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
Pavel Kirienko cb7f1ef460 UAVCAN_PACK_STRUCTS removed, was useless 2015-06-18 18:52:43 +03:00
Pavel Kirienko 22c51b28e3 Smarter use of UAVCAN_PACKED_* 2015-06-18 18:46:54 +03:00
Pavel Kirienko 37c858627a Fixed padding in DataTypeDescriptor class 2015-06-18 18:37:38 +03:00
Pavel Kirienko 3ba1fad9ac Using packed structs in STM32 test 2015-06-18 18:34:56 +03:00
Pavel Kirienko 91ed3709eb Field alignment hackery in Map<> that allows to reduce object sizes (see the following commits) 2015-06-18 18:19:58 +03:00
Pavel Kirienko 356f46d08a Centralized server: Allocation table cache removed 2015-06-18 17:50:17 +03: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