14330 Commits

Author SHA1 Message Date
davidaroyer
2322a4d232 DF_MS5611_Wrapper: convert baro pressure to mbar
Temperature compensation in sensors.cpp calculates Baro Altitude
assuming baro pressure is stored as mbar.
2017-04-14 10:01:58 +02:00
Sander Smeets
128f726cd9 Add paramter to enable rc stick override 2017-04-14 10:01:36 +02:00
David Sidrane
ff3994da1b mpu6500 Fixed 'test' function causes register checking to find a false faults
Added hold off of testing for register faults from the duration
      of the test.
2017-04-14 09:58:14 +02:00
David Sidrane
c3c5be3881 mpu9250 Fixed 'test' function causes register checking to find a false faults
Diisabled interrupts in reset to make command to reset atomic.

      Added hold off of testing for register faults from the duration
      of the test.
2017-04-14 09:58:14 +02:00
David Sidrane
15460ade77 Fixed 'test' function causes register checking to find a false faults
Added hold off of testing for register faults from the duration
  of the test.
2017-04-14 09:58:14 +02:00
Julian Oes
bb168287da gps: just use termios on QURT
QURT has added support for termios calls a while back that we can now
use.
2017-04-14 09:56:42 +02:00
Daniel Agar
a41001354a FW landingslope delete unused (#7046) 2017-04-13 18:18:57 -04:00
ChristophTobler
12505177b6 add killswitch to snapdragon pwm driver 2017-04-14 00:16:50 +02:00
Nate Weibley
9eb0e62787 Support calibration of fast+slow gyros #6998 2017-04-13 20:22:35 +02:00
Mohammed Kabir
5fc20bea5d camera_trigger : add support for resetting trigger sequence 2017-04-13 20:21:40 +02:00
Mohammed Kabir
7fcb3b4f93 camera_trigger : add support for sending ACKs for trigger commands 2017-04-13 20:21:40 +02:00
Mohammed Kabir
2c0d1c013a camera_trigger : digicam control command should only shoot once 2017-04-13 20:21:40 +02:00
Mohammed Kabir
e4896a5972 camera_trigger : remove unnecessary constrains for constant values 2017-04-13 20:21:40 +02:00
Mohammed Kabir
ae35bf524d camera_trigger : enforce a minimum activation time in PWM modes 2017-04-13 20:21:40 +02:00
Mohammed Kabir
24f57b00a6 camera_trigger : consolidate camera power control and fix camelCase 2017-04-13 20:21:40 +02:00
Mohammed Kabir
164e200d8e camera_trigger : consolidate handling of pins 2017-04-13 20:21:40 +02:00
Mohammed Kabir
0a5ada9e02 stm32 : formatting 2017-04-13 20:21:40 +02:00
Mohammed Kabir
f9862ec5a8 camera_trigger : add default mode for generic PWM triggering 2017-04-13 20:21:40 +02:00
Mohammed Kabir
9be7ad5805 camera_trigger : clean up iterators 2017-04-13 20:21:40 +02:00
Mohammed Kabir
c97226b9da camera_trigger : add generic pwm interface for servo-like trigger systems (e.g IR trigger) 2017-04-13 20:21:40 +02:00
Mohammed Kabir
c06d1a9dbe camera_trigger : rename Seagull MAP2 interface 2017-04-13 20:21:40 +02:00
Mohammed Kabir
3dee42b5ca stm32 : deconflict pwm_get_rate_group from all other timer modes 2017-04-13 20:21:40 +02:00
Mohammed Kabir
3b3e2b275e px4fmu : consolidate usage of output mode 2017-04-13 20:21:40 +02:00
Mohammed Kabir
6d3c16a35b camera_trigger : cleanup pwm interface 2017-04-13 20:21:40 +02:00
Mohammed Kabir
ea890ecdd3 camera_trigger : clean up console output 2017-04-13 20:21:40 +02:00
Mohammed Kabir
704de4f88f stm32 : deinit trigger pins properly 2017-04-13 20:21:40 +02:00
Mohammed Kabir
82a1bd83bc stm32 : add new interface for PWM-based camera_trigger 2017-04-13 20:21:40 +02:00
Mohammed Kabir
2b838f5704 camera_trigger : rename relay to gpio 2017-04-13 20:21:40 +02:00
Daniel Agar
827725fbe0 cmake remove -Weffc++ (#7044)
- closes #7040
2017-04-13 13:30:22 -04:00
Jon Watson
3fda79ef8b set battery warning for MAVLink battery status (#6890) 2017-04-13 12:37:19 -04:00
Dennis Mannhart
340773096d landdetector: exit landing state if manual.z is larger than threshold 2017-04-13 16:59:23 +02:00
Mohamed Abdelkader Zahana
239370d72c use 1E7 instead 10000000.0f 2017-04-13 11:18:10 +02:00
Mohamed Abdelkader Zahana
a9ec1a35bc divide lat/lon received from HIL_STATE_QUATERNION msg by 1E7 2017-04-13 11:18:10 +02:00
Daniel Agar
2f6249af2f cmake add better logs_symlink dependencies 2017-04-12 19:26:06 +02:00
Matthias Grob
2955a2c317 simulator: typo in initial output message 2017-04-12 18:58:37 +02:00
Lorenz Meier
39dc983c6f DriverFramework: Update to new version and new dspal submodule / location 2017-04-11 06:49:29 +02:00
davidaroyer
1302b6a796 inav: check for updated baro in baro_offset calculation 2017-04-11 06:24:41 +02:00
Beat Küng
24380ae88c logger: add SDLOG_DIRS_MAX param to limit the max number of log directories
Disabled by default, so that logs are not deleted unexpectedly.
2017-04-10 23:37:09 +02:00
Beat Küng
685f114d29 sitl_target.cmake: create a symlink to the log directory in the build dir
Allowing for easier access to SITL logs.
2017-04-10 23:37:09 +02:00
Beat Küng
7f0db95f87 logger: reduce CPU load by ~1.5%
Reduces CPU load from ~6.9% to 5.3% (tested on Pixracer & Pixhawk). The
method is only used once, so it does not increase flash usage.
2017-04-10 23:37:09 +02:00
Beat Küng
75bd4f1121 logger: implement a logrotate
Remove old log directories on startup if free space falls below a threshold.
The threshold is 300MB or 10% of the disk capacity if that's smaller.
2017-04-10 23:37:09 +02:00
Lorenz Meier
85b074f8d8 Navigator: Fix RTL state sequence 2017-04-10 23:34:35 +02:00
Daniel Agar
83cf4fb16e cmake multi_tables.py dependency 2017-04-10 23:31:56 +02:00
Lorenz Meier
5fd7f2fa6f Navigator: Clean up of mission block init 2017-04-10 23:18:40 +02:00
Dennis Mannhart
8687d414bf mc_pos_control: new variable that defines speed in manual controlled mode 2017-04-10 21:34:00 +02:00
Daniel Agar
0b8e88f476 fw_pos_control_l1 remove unnecessary ground_speed 2017-04-10 09:41:01 +02:00
Daniel Agar
dc30498c80 fw_pos_control_l1 control_position split position_setpoint_triplet 2017-04-10 09:41:01 +02:00
Daniel Agar
0b0c552dee fw_pos_control_l1 remove unused ground_speed arg 2017-04-10 09:41:01 +02:00
Daniel Agar
af7b2cd22f fw_pos_control_l1 cleanup init and uorb helpers 2017-04-10 09:41:01 +02:00
Daniel Agar
474ce2851e fw_pos_control_l1 using math constrain, max, min, radians 2017-04-10 09:41:01 +02:00