17972 Commits

Author SHA1 Message Date
Beat Küng
84c6b5ac6b fmu-v2: add bootloader binary and SYS_BL_UPDATE param for BL updates
This allows a simple-to-use bootloader update mechanism to switch from
fmu-v2 to fmu-v3 target that has more flash.
2018-09-14 17:06:19 +02:00
Roman Bapst
2d59ead1bf simulator: add MAV_TYPE to module parameters (#10476)
- this ensures that the MAV_TYPE parameter is always updated
- previously it could happen that the simulator module was using a wrong
MAV_TYPE value because it only read the parameter value at initialisation

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-13 21:56:21 -04:00
David Sidrane
3022fdb240 test_file2:test fails due to missing slash 2018-09-13 12:15:03 -07:00
David Sidrane
22a65f6c1d fmu:Fix Safety switch breakage from bc9c25a
The update check is on ORB_ID(safety) but the copy
   was from ORB_ID(actuator_armed).
2018-09-13 11:21:53 -07:00
David Sidrane
be6f6126f4 px4io:Add passive support for Enter/Exit pwm test mode
Accept PWM_SERVO_[ENTER|EXIT]_TEST_MODE as a noop.
   As long as the mixer in passthrough and armed the
   pwm test will work.
2018-09-13 08:45:36 +02:00
David Sidrane
b578419e09 Bug fix fmu hard fault on pwm info
A hardfault was happening on:
    fmu stop
    fmu mode_pwm
    pwm info

   The _mixer was null and being dereferenced to access the trim
   setting that were moved to the mixer from the fmu.

   This commit fixes that but making the getter issue a warning
   and the setter fail.
2018-09-13 08:45:36 +02:00
David Sidrane
945a532260 pwm:Use test mode in steps command 2018-09-13 08:45:36 +02:00
David Sidrane
49f1540c30 pwm:Add test mode 2018-09-13 08:45:36 +02:00
David Sidrane
73b9f09920 fmu:Add test mode 2018-09-13 08:45:36 +02:00
David Sidrane
efb512abea drv_pwm_output:Define test enter/exit IOCTL 2018-09-13 08:45:36 +02:00
Daniel Agar
73fe4ecd20 AV-X enable GPS for rev C board 2018-09-12 02:39:03 -04:00
David Sidrane
c41d7ebdd3 kinetis:Bug fix PWM led update
The code was forcing the CV reload, but not resettting the count
  this would cause short and long blinks during breathing.

  this change allows the CV to update at 50Hz (20 ms) asynchronously.
  So the LED update rate of 40Hz (25) will take effect on the next
  FTM counter change, end of the prescaler counting, after CnV register
  was written.update.
                   a   b   c   d
  LED PWM   ___-___-___-___-___-___-___-___-___-___
  LED Data  ____-____-____-____-____-____-____-____-
                 a    b    c    d
2018-09-12 01:03:22 +02:00
David Sidrane
520a81a951 nxphlite-v3:Disable internal mag due to random spikes.
This will disable the fxos8701cq internal mag on
  the NXPHlite. There are random noise spikes on the
  HIGHRES_IMU.[x|y|x]mag. Even with all other SPI
  devices shut down, the noise is still present.
2018-09-11 06:58:35 -07:00
Daniel Agar
40a68624e5
tests command ignore -Wunused-variable (#10442) 2018-09-10 11:24:57 -04:00
Hamish Willee
dc878f43a8 Param docs explain how create (#10439)
This adds text to markdown output to explain how params are generated
2018-09-10 09:38:41 -04:00
Beat Küng
8e563c29cb DriverFramework: update submodule
MPU6050: fix implicit float to double conversion
2018-09-06 18:10:35 +02:00
Beat Küng
c5b954dacc
heater: fix resource leak 2018-09-06 12:20:08 +02:00
mcsauder
615348189e
Remove doxy comments from private member variables. 2018-09-06 12:03:26 +02:00
mcsauder
e7666aa5d8
Added an imu heater driver, formatted whitespace, standardized comments, and added doxy documentation. 2018-09-06 12:03:26 +02:00
PX4 Build Bot
039221fa93 Update submodule DriverFramework to latest Thu Sep 6 04:08:26 EDT 2018
- DriverFramework in PX4/Firmware (060463e8a7436701394f0ebe2d4ce568c7780289): b439556d54
    - DriverFramework current upstream: c85f446f3a
    - Changes: b439556d54...c85f446f3a

    c85f446 2018-09-06 Daniel Agar - mpu6050 fix abs double promotion
2018-09-06 01:36:06 -07:00
Daniel Agar
060463e8a7
parameters lib convert to c++ (#10267) 2018-09-04 09:18:28 -04:00
Daniel Agar
d6fd1c4811 rgbled_pwm increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
2dbc95382e rgbled increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
ee90eb6c92 IST8310 increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
6abd0c2672 BMI055 increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
ab8bf09996 tests cmd remove unused stack module option 2018-09-02 15:31:54 -04:00
Daniel Agar
ea73284a1f uORB tests increase stack sizes 2018-09-02 15:31:54 -04:00
Daniel Agar
1a0472dfab sensors increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
2dd71fa73c mpu6000 increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
b75fa645ce bmp280 increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
af6098b9ea uORB print_message add device_id pretty print 2018-09-02 21:13:10 +02:00
Daniel Agar
7cc0e69fcd add px4fmu-v{3,4,5} stackcheck configs 2018-09-02 14:16:04 -04:00
Daniel Agar
7e12815f81 Mavlink add RADIO_STATUS timeout and reset 2018-09-02 19:48:10 +02:00
Daniel Agar
930ac8d4fe Mavlink set telemetry_status type properly for Sik radios
- remove radio_status type since there's no type support in mavlink
2018-09-02 19:48:10 +02:00
PX4 Build Bot
4630b60c41 Update submodule ecl to latest Sat Sep 1 18:41:45 UTC 2018
- ecl in PX4/Firmware (e421c254e2f02ef5ede53b0752f66e0e7b8c6d24): 3c74dc2ce1
    - ecl current upstream: b861594d0b
    - Changes: 3c74dc2ce1...b861594d0b

    b861594 2018-09-01 Paul Riseborough - EKF:  enable optical flow use to bootstrap
2018-09-01 15:05:39 -04:00
PX4 Build Bot
cbd1636d8d Update submodule matrix to latest Fri Aug 31 21:31:02 UTC 2018
- matrix in PX4/Firmware (468f28463eabc30843e606546d642adc1a62fe10): b815fc97c4
    - matrix current upstream: dc3af80977
    - Changes: b815fc97c4...dc3af80977

dc3af80 2018-08-27 Daniel Agar - constructors use array size rather than pointers
f1bee77 2018-08-27 Daniel Agar - use default constructors and skip unnecessary initialization
1bcf48b 2018-08-30 Daniel Agar - Quaternion from_dcm don't pass by value
2018-08-31 18:48:58 -04:00
PX4 Build Bot
ee51fcb3c0 Update submodule ecl to latest Fri Aug 31 21:30:56 UTC 2018
- ecl in PX4/Firmware (95b83ba29715c067a30cb9501cab51264db502f1): 56b8bb08a1
    - ecl current upstream: 3c74dc2ce1
    - Changes: 56b8bb08a1...3c74dc2ce1

    3c74dc2 2018-08-30 Daniel Agar - ECL_Controller base needs virtual destructor
0d39072 2018-08-30 Daniel Agar - EKF add missing header guards
a6a1edb 2018-08-30 Kabir Mohammed - EKF : Fix type of flow data navigation variable (#499)
a53ad9c 2018-08-25 Paul Riseborough - EKF: Add missing optical flow ground motion protection
2018-08-31 18:47:11 -04:00
Martina Rivizzigno
21f6ca4a1f mc_pos_control: fix desired trajectory waypoint. (#10372)
- The first waypoint contains the vehicle current position and the desired velocity setpoint
2018-08-31 17:28:15 -04:00
Daniel Agar
a6dabbbae7 Landing slope move to standalone library
- this is shared by both the FW position controller and navigator's
   missiong feasibility checker
2018-08-31 14:43:51 -04:00
Daniel Agar
5207c420c3 generic position controller status/feedback message 2018-08-31 14:43:51 -04:00
Daniel Agar
223dacee64 multicopter position controller use const references 2018-08-31 14:37:49 -04:00
Beat Küng
1a4396c15e param_shmem: rename exit to do_exit 2018-08-31 18:11:58 +02:00
Beat Küng
4e6139d9fb Posix: add '#pragma GCC poison exit'
Generally exit() should not be used on Posix, because it exits the whole
program instead of only the task.
2018-08-31 18:11:58 +02:00
Beat Küng
9193312bd0 segway_main: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
0dc8eeb118 tests: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
50cdb01141 rover_steering_control: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
258f7a7ff8 fixedwing_control: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
d5bef4a932 sf0x.cpp: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
fe502ffd33 fix tone_alarm: avoid using exit()
On POSIX it exits the process.
2018-08-31 18:11:58 +02:00
David Sidrane
9246110161 samv7:tone_alarm refactor for Cdev 2018-08-30 19:11:17 +02:00