Commit Graph
1805 Commits
Author SHA1 Message Date
luft27 0ba1774fcb merge from upstream 2015-08-03 15:37:39 +03:00
luft27 400842a0d8 fixed: fmu does not publish actuator_outputs 2015-08-03 15:24:13 +03:00
Lorenz Meier 1b9ea1b7a1 FMU driver: Disable debug mode 2015-08-01 17:16:15 +02:00
Lorenz Meier 2a80c80a4a PX4 FLOW: Silence alarming messages on a normal boot 2015-08-01 17:16:01 +02:00
Lorenz Meier 0c6b8f2501 GPS: silence verbose boot messages 2015-08-01 17:15:52 +02:00
Lorenz Meier ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier f94e2c8136 FMU driver: Rely on prearmed field to pre-arm 2015-07-22 17:16:34 +02:00
Lorenz Meier 0d37de005b Merged beta to master 2015-07-17 23:42:23 +02:00
Lorenz Meier d9f0baf4dc GPS driver: Only let the driver publish reports if it really found a GPS receiver 2015-07-17 21:19:32 +02:00
ksschwabe e1572d3942 Moved ADC channel defines for battery voltage, battery current, and airspeed voltage to board_config.h. This allows better portabilit of code from one board to another, since it removes the hardcoded #ifdef sections from the Px4 sensors code. 2015-07-17 14:09:52 +02:00
Lorenz Meier 649b6df2b4 Merge pull request #2552 from ksschwabe/master
Moved ADC channel definitions to the board_config.h file. This way ne…
2015-07-17 10:23:38 +02:00
Lorenz Meier 7277d390c4 Merge branch 'beta' 2015-07-12 15:52:02 +02:00
Lorenz Meier 614c397762 MPU6K self-test: Be more forgiving on offset values 2015-07-11 22:08:36 +02:00
ksschwabe b528e1f593 Added ADC channel definitions to the board_config.h file. This way new boards with different ADC channel sets can still use the Px4 adc.c driver. 2015-07-10 17:03:22 +02:00
Lorenz Meier 2a8402edb1 Merged beta into master 2015-07-09 15:55:31 +02:00
Lorenz Meier 8bb9707f3f FMU: Allow to pre-arm the non-throttle channels with the safety switch 2015-07-06 12:08:31 +02:00
Simon Laube d9e6cb0f58 implemented retrying the connection to the px4flow sensor before giving up. 2015-07-04 18:27:01 +02:00
Simon Laube dac74db104 change the nested if structure which tries all i2c busses to a loop. 2015-07-04 18:26:52 +02:00
Lorenz Meier 969d6cd563 Merge pull request #2499 from leitwert/feature/retry-start-px4flow
Feature: Retry start px4flow
2015-07-04 18:26:14 +02:00
Lorenz Meier ce439345c5 HIL driver: Fix build breakage 2015-07-02 11:19:57 +02:00
Lorenz Meier 20de4aaaa5 HIL driver: Output zero like the other actuator drivers do when not armed 2015-07-02 11:04:59 +02:00
Lorenz Meier 234990fbe4 Merge branch 'release_v1.0.0' of github.com:PX4/Firmware 2015-07-02 01:00:06 +02:00
Lorenz Meier 509ec90b76 Merge pull request #2406 from mcharleb/logging-v3
Improved logging with both compile and runtime level filtering
2015-07-01 23:31:50 +02:00
Lorenz Meier 9c7450248f Merge pull request #2498 from mcharleb/bringup-m5
POSIX: Critical fix for vdev_posix
2015-07-01 15:13:29 +02:00
Mark Charlebois 14bf8bb277 POSIX: Critical fix for vdev_posix
Last fix for vdev_posix.cpp introduced a sleep from within
a HRT work item callback which blocks the HRT queue.

The code in uORBDevices_posix.cpp that handles message
throttling was commented out for posix. The code was re-enabled
and now seems to work.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-30 12:08:42 -07:00
Lorenz Meier 428bd0a9ec Merge pull request #2497 from mcharleb/bringup-m5
Bringup m5
2015-06-30 20:02:57 +02:00
Simon Laube 7a93348340 implemented retrying the connection to the px4flow sensor before giving up. 2015-06-30 18:28:19 +02:00
Simon Laube 93dfc435a4 change the nested if structure which tries all i2c busses to a loop. 2015-06-30 17:53:19 +02:00
Lorenz Meier 1b4405ee3a FMU driver: Set throttle to zero if in PWM ramp mode 2015-06-30 09:51:19 +02:00
Mark Charlebois da2ac877f8 POSIX: Changed px4_poll to use hrt_work queue
QuRT's pthread_cancel implementation is lacking, and causes px4_poll to
always wait for the maximumn timeout. A cleaner implementation is provided
that uses the HRT work queue for posix targets.

In the future the posix code should be rtefactiored so that qurt (and other)
implementations that are duplicated, use the posix implementation.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-29 19:08:06 -07:00
Lorenz Meier d19de58102 Merge branch 'master' of github.com:PX4/Firmware into master_release 2015-06-27 11:54:17 -07:00
Lorenz Meier 4cf9976ad8 Merge branch 'master_release' of github.com:PX4/Firmware into master_release 2015-06-30 15:43:53 +02:00
Lorenz Meier 50ba1f7365 merged release_v1.0.0 into master 2015-06-30 15:30:45 +02:00
Lorenz Meier 5b354b9631 PWM driver: Fix _IOC to _PX4_IOC for getting servo rate 2015-06-29 16:10:40 +02:00
Andrew Tridgell 5e27b7bc31 ms5611: fixed the i2c device on NuttX. This was left-over debugging noise from the POSIX bringup. 2015-06-27 15:11:03 +02:00
Lorenz Meier af28016a10 Merge pull request #2236 from TSC21/drivers_cleanup
drivers: added validity check
2015-06-26 07:39:09 +02:00
Lorenz Meier 51055a16fc L3GD20: Set max offset for gyro to 25 degrees per second based on comment from mailing list about datasheet ratings. 2015-06-26 07:08:54 +02:00
Lorenz Meier 454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier ef6092afd9 HMC5883: Calculate correct scaling to apply using multiplication 2015-06-25 14:44:23 +02:00
Lorenz Meier cae604ac1f HMC5883: Increase the number of calibration cycles to ensure a stable result 2015-06-25 14:44:23 +02:00
tumbili 7043869237 VDev:
- increase max number of devices to 200
- increase max number of file descriptors to 200
- add warning if number of file descriptor exceeds max value
2015-06-23 18:32:40 +02:00
tumbili 52b0f17ff3 increase highest pwm to 2150 2015-06-23 12:30:47 +02: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
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
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 7c8ea1f680 Merge pull request #2370 from PX4/mission_feedback
Mission feedback
2015-06-16 18:18:05 +02:00
Mark Charlebois 729653ba71 SITL: changed posix_default to posix_sitl
The SITL build is now the default posix build.

The linker script for posix was moved to makefiles/posix.
The rc.S file was moved to posix-configs/SITL/init/
The POSIXTEST board definition is now SITL

To run the SITL test run:

make sitlrun

This replaces the make posixrun target.

The build directory is now Build/posix_sitl.build/

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 09:51:07 -07:00
Lorenz Meier 73d179fb59 MS5611 driver: Fix reeset logic via I2C, minor code style fixes. Fixes #2007, identified by Kirill-ka 2015-06-15 17:28:26 +02:00
Lorenz Meier 21ca431131 Tone alarm: Add home set tune 2015-06-15 17:28:05 +02:00