Commit Graph

40604 Commits

Author SHA1 Message Date
Daniel Agar 13ecc71fe2 px4fmu-v2 disable tfmini distance sensor 2018-07-06 16:17:33 +02:00
Daniel Agar 29d1226c70 px4fmu-v2 only enable ms4525, ms5525, sd3px airspeed sensors 2018-07-06 16:17:33 +02:00
Daniel Agar 4e77f8c783 px4fmu-v2_default sort driver list 2018-07-06 16:17:33 +02:00
Oleg Kalachev 532a970410 mavlink: fix transmitting vehicle commands 2018-07-05 22:38:02 +02:00
Daniel Agar 9fa882119d fw_pos_ctrl_l1 remove unnecessary orb rate limits 2018-07-05 12:16:44 -04:00
Beat Küng ec137489be px4flow: add documentation for i2c_frame and i2c_integral_frame 2018-07-05 15:23:47 +00:00
Beat Küng 3aa1721450 px4flow: refactor f and f_integral into a class attribute 2018-07-05 15:23:47 +00:00
alessandro 51ee9eaaf4 typo 2018-07-05 14:17:55 +02:00
Alessandro Simovic 11933ac239 rc_loss_alarm: removed unused var 2018-07-05 14:17:55 +02:00
Alessandro Simovic 155089c800 Addressed review comments from #9769 2018-07-05 14:17:55 +02:00
Alessandro Simovic df257c6555 Added parameters for enabling/disabling specific event tasks 2018-07-05 14:17:55 +02:00
Alessandro Simovic 1982957bef Added/moved namespaces in events module 2018-07-05 14:17:55 +02:00
Alessandro Simovic c684275018 moved rc_loss_alarm into the event module 2018-07-05 14:17:55 +02:00
Alessandro Simovic 9a4b26cd32 rc_loss_alarm: addressing review comments (#9769) 2018-07-05 14:17:55 +02:00
Alessandro Simovic 701d87912e rc_loss_alarm: replaced hard with soft tabs 2018-07-05 14:17:55 +02:00
Alessandro Simovic 6fa80d2034 rc_loss_alarm: require RC be seen at least once 2018-07-05 14:17:55 +02:00
Alessandro Simovic 96a0594078 rc_loss_alarm: formatting 2018-07-05 14:17:55 +02:00
Alessandro Simovic 0f2c710237 rc_loss_alarm: hiding all but default constructor 2018-07-05 14:17:55 +02:00
Alessandro Simovic d2b9197587 rc_loss_alarm: sorting function definitions 2018-07-05 14:17:55 +02:00
Alessandro Simovic c8ff5f09d4 rc_loss_alarm: Added some custom commands 2018-07-05 14:17:55 +02:00
Alessandro Simovic c0db004294 rc_loss_alarm: Added basic functionality 2018-07-05 14:17:55 +02:00
Daniel Agar 278e4cef84 uORB fix ORB_COMMUNICATOR defined sections
- keep portions of internal add/remove helpers
2018-07-05 07:03:27 +00:00
Bram Strack van Schijndel 05fc506a56 [df_ms5607_wrapper] convert to mbar, fix error_count, device_id 2018-07-05 08:07:54 +02:00
Daniel Agar 41953ab582 EKF angle constants in degrees for readability (#465)
* EKF angle constants in degrees for readability

* EKF make FILTER_UPDATE_PERIOD_MS static constexpr and add FILTER_UPDATE_PERIOD_S

* EKF controlOpticalFlowFusion() use constants and update comments

* EKF controlMagFusion() use angle in degrees

* EKF move earth spin rate to geo and update usage

* EKF: Fix numerical constant error and clean up comments

Comments do not need to contain numerical values when the code makes these clear.
2018-07-05 08:55:22 +10:00
Daniel Agar cebdc3d829 ekf run output predictor immediately with new IMU data (#471)
* EKF collect_imu take const imu sample and populate buffer

* EKF calculateOutputStates cleanup

* EKF add calculate_quaternion output predictor method

* EKF: update documentation

* EKF: remove unnecessary getter function

* EKF calculateOutputStates only apply dt correction to bias

* EKF pytest assert attitude validity, not update() return

* EKF: correct documentation

* EKF: Do not make attitude validity dependent on yaw alignment status

Yaw alignment could fail in flight due to temporary loss of data and yet the quaternions would still usable for stabilisation even though the absolute earth yaw angle wrt true north was uncertain.
2018-07-05 07:59:35 +10:00
DanielePettenuzzo 5cb6753572 i2c.h: include board_config 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 84f937a098 airspeed sensor: use bus_option array from i2c.h instead of one in each driver 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 6cb17839ee distance sensors: remove bus_option array and add it to i2c.h header 2018-07-03 17:33:18 +02:00
DanielePettenuzzo e15d390f65 rc.sensors: fix 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 0cc5a41bb8 rc.sensors: start all i2c distance sensor with -a flag 2018-07-03 17:33:18 +02:00
DanielePettenuzzo c13d69a610 distance sensor drivers: change all open and close to px4_open and px4_close 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 8f4e9228bf mb12xx driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
DanielePettenuzzo fed6c9ae34 srf02 driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 5b259a008a vl53lxx driver: add -b, -a and -R flags to choose i2c busses and sensor rotation and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 040662ff04 sf1xx driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 7d281b2619 teraranger driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
Roman 9d1fa8cee2 esc_calibration: adjust timeout when waiting for user to connect battery
to 20 seconds

Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman 5d87eed41c esc_calibration: use hrt_elapsed_time instead of manually calculating the diff
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman 73577df994 esc_calibration: use batter status connected flag instead of checking voltage
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman beb8c3e152 esc_calibration: use predefined literals
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman 8b629454de esc_calibration: increase safety and initialise all data
- do not do calibration if not very sure that battery is not connected
- initialise all structs and variables

Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman e1117d175b ROMFS: updated deltaquad autoconfig params
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 08:53:30 +02:00
Hamish Willee 4a45d79f52 Delete STM32F4Discovery support/link 2018-07-03 07:21:46 +02:00
Lorenz Meier c8ce120c92 PX4 Flow: modernize output and replace warnx() with PX4_INFO/WARN 2018-07-02 21:44:29 +00:00
Hamish Willee 7402d8223b Fix up references to pixhawk.org 2018-07-02 13:11:15 +02:00
Roman 863cd52714 ROMFS: fixed some naming inconsistencies for the HITL VTOL model
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-02 13:09:35 +02:00
Roman 220068acb6 ROMFS: use more appropriate autostart ID for standard vtol hitl
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-02 13:09:35 +02:00
Roman d70e90f174 ROMFS: remove unnecessary params from hitl vtol config
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-02 13:09:35 +02:00
Roman b37ff23708 ROMFS: indicate that the hitl vtol config is for the gazebo standard vtol model
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-02 13:09:35 +02:00
Roman 1dea998be5 ROMFS: clean up quad x tailsitter mixer files
- use mixer for the simulation to the sitl mixer dir
- do not use virtual elevator in the mixer for the real vehicle

Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-02 13:09:35 +02:00