Commit Graph

22132 Commits

Author SHA1 Message Date
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
Daniel Agar
f608abc6b0 README add uavcan and aero labels (#7026) 2017-04-11 21:21:07 -04:00
Daniel Agar
06c4a0d195 README link to github labels 2017-04-11 20:31:04 +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
ChristophTobler
232f428f6e add ll40ls for Aerofc 2017-04-10 20:20:36 +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
Daniel Agar
8b4877a6eb fw_pos_control_l1 delete unused terrain helper 2017-04-10 09:41:01 +02:00
Mark Whitehorn
7e3d07207c Update README.md 2017-04-10 09:37:49 +02:00
James Goppert
955749ed6f Add iris_rplidar model (#6558)
* Whitespace cleanup and add config for rplidar.

* Add rplidar target.

* Disable gps for rplidar.
2017-04-10 03:06:21 -04:00
Mark Charlebois
36f3befec8 Updated to latest dspal and cmake_hexagon
DriverFramework has to be updated to update dspal to the
ATLFlight version of dspal.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-04-10 08:49:29 +02:00
Daniel Agar
c5e0bf1c2f uORB combine VTOL FW and MC virtual topics (#7008) 2017-04-09 13:17:20 -04:00
Lorenz Meier
19f0b0be3a Navigator: Altitude acceptance to switch to new waypoints should be more accurace than horizontal distance by default 2017-04-09 17:25:38 +02:00
Lorenz Meier
3b743fbbe9 MC position control: Smoother takeoff
This patch ramps up the throttle to hover throttle instead of a fixed value and limits the vertical takeoff speed to the value set in the parameter. This should ensure smoother, slower takeoffs, in particular in autonomous flight modes.
2017-04-09 17:22:58 +02:00
Lorenz Meier
61cd89efc1 Land detector: Since multicopters take off and land slower than 0.7 m/s, setting the default detection threshold to 0.5 m/s is a much safer default 2017-04-09 17:22:58 +02:00
Dennis Mannhart
4ff3fb4dee mc_pos_control: if takeoff setpoint in auto mode, then do not enter ground contact 2017-04-09 17:19:28 +02:00
Lorenz Meier
08cf97c687 Commander: indicate failsafe reasons more clearly 2017-04-09 12:40:34 +02:00
James Goppert
10ebac2026 Fix build when px4 is a submodule (#7006)
* Fix build when px4 is a submodule

* Check if submodule directory exists.

* Fix submodule directory reading
2017-04-08 23:47:38 -04:00
David Sidrane
3435936189 Force the patches to be applied in order again!
While the list was sorted, this change serialize the application
   of the patches.

   Moved the disply to the actual application of the patch not
   the configuration step.
2017-04-08 07:59:21 +02:00
Lorenz Meier
f74d6e443e Navigator: Initialize RTL state properly 2017-04-08 07:58:37 +02:00
Daniel Agar
8c9affddc8 travis-ci generate and upload parameters.md 2017-04-07 22:06:23 +02:00
Kevin Lopez Alvarez
cff20ee51e FMUv4pro : updates (#6983)
* FMUv4pro : allow power monitoring for hipower rail

* FMUv4pro : init temperare calibration EEPROM CS

* FMUv4pro : workaround for safety switch

* FMUv4pro : remove useless and conflicting defines

* FMUv4pro : disable internal pull-up for OC sensing

/FAULT won't achieve VinputLow with internal pull-up resistor so it must
be turned off for both /VDD_5V_PERIPH_OC and /VDD_5V_HIPOWER_OC.
Replaced by external pull-up.

* FMUv4pro : correct safety switch handling

RC02 has a hardware pull-down on this signal

* Revert "FMUv4pro : workaround for safety switch"

This reverts commit 9528ae29b68700fa7c6604c1ac2756c7dac2819c.
2017-04-07 06:14:04 -10:00
Matthias Grob
854511b14b cmake: NuttX make shell script call explicit (#6996) 2017-04-07 11:33:19 -04:00
sirPerna
94ef3db407 autostart external airspeed sensor on i2c port 2 2017-04-07 07:34:39 +02:00
David Sidrane
6ef2ae2999 Reduce USART1 tx buffer by 8 bytes to fix aligment issue
The recent changes to the timers increased memory by 8 bytes.
   and should have ONLY added 8 bytes
   was  20000dc0	40	20000E00
   is:  20000dc8	40	20000E08
   s/b  20000E08       1f3      next symbol

   But for some unknown reason the linker skipped to the next alignment
   of 256 and wasted 246 bytes.

   20000F00     1f3     next symbol

   Even with .align 8 in the .S file and . = ALIGN(4); in the linker
   script I could not move the allocation back only up to the next
   512 alighment.

   So this is a hack to shift things back 8 bytes.
2017-04-07 07:30:30 +02:00
David Sidrane
f8d955d5a7 Fixed typo in comment 2017-04-06 17:07:28 +02:00
David Sidrane
6541af9297 add-set-ex-to-nsh Reorder patch 2017-04-06 17:07:28 +02:00
David Sidrane
cc04dfd27b Added set [{+|-}{e|x|xe|ex}] [<name> <value>] to nsh (#6985)
* NSH Added support for set [{+|-}{e|x|xe|ex}] [<name> <value>]

   Set the 'exit on error control' and/or 'print a trace' of
   commands when parsing scripts in NSH.
   The settinngs are in effect from the point of exection,
   until they are changed again, or in the case of the init
   script, the settings are returned to the default settings
   when it exits.

   Included child scripts will run with the parents settings
   and changes made in the child script will effect the parent
   on return.

   Use 'set -e' to enable and 'set +e' to disable (ignore) the exit
   condition on commands. The default is -e. Errors cause script to
   exit.

   Use 'set -x' to enable and 'set +x' to disable (silence) printing
   a trace of the script commands as they are ececuted. The default
   is +x. No printing of a trace of script commands as they are
   executed.

  Print expanded variables if -x

* Added comments only on how to use the set +e and and set -x

* Spelling NSH_PFALG_* -> NSH_PFLAG_*
2017-04-06 03:42:16 -10:00
Daniel Agar
392a9fbb19 geotagging.py remove unused imports 2017-04-06 14:43:22 +02:00
Daniel Agar
6677022622 geotagging.py pep8 formatting 2017-04-06 14:43:22 +02:00
Daniel Agar
7be2eb06a2 geotagging.py handle mismatch of triggers and images
- print simple progress with time mismatch warning
2017-04-06 14:43:22 +02:00
Daniel Agar
c2be4df9b7 geo_tag_images.py remove unused imports 2017-04-06 14:43:22 +02:00
Daniel Agar
833a7e3677 geo_tag_images pep8 formatting 2017-04-06 14:43:22 +02:00
Daniel Agar
83d7764e9e geo_tag_images.py fix to work with PX4 logs 2017-04-06 14:43:22 +02:00
Hamish Willee
33b4ec450d Update parameter script to include increment, enum value, bitmask, module information 2017-04-06 14:04:26 +02:00
David Sidrane
8e217b0287 bugfix:drv_io_timer properly initialize non-contiguous timer channels
This fixes the issue with initializing channels 5,6 without
  channels 1-4.

  The code assumed all timers actions were in order to be
  initialized. This is not the case. This commit fixes that
  bad assumption by not stopping the configuration on the
  first action entry with a base == 0, but processing all
  entries with non-zero base.
2017-04-06 12:20:45 +02:00