28074 Commits

Author SHA1 Message Date
TSC21
dcdddacdb2 init.d-posix: vision: set the appropriate parameters 2018-11-21 12:21:16 +01:00
TSC21
adc81aaab5 position_estimator_inav: fix covariance check logic 2018-11-21 12:21:16 +01:00
TSC21
20b3adebf4 attitude_estimator_q_main: remove epsilon comparison; fix logic 2018-11-21 12:21:16 +01:00
Daniel Agar
8566b6b53e AV-X increase logger buffer 2018-11-21 09:13:40 +01:00
PX4 Build Bot
7d54913f80 Update submodule matrix to latest Wed Nov 21 00:38:27 UTC 2018
- matrix in PX4/Firmware (4005de7b9600db8a310d52f9bf7a47a0019868d8): 0d3bff5e00
    - matrix current upstream: 9c0acfba36
    - Changes: 0d3bff5e00...9c0acfba36

    9c0acfb 2018-11-20 Matthias Grob - Matrix: remove unsafe copyToRaw method
2018-11-20 20:35:15 -05:00
Daniel Agar
528b794841
Update submodule mavlink v2.0 to latest Wed Nov 21 00:38:04 UTC 2018
- mavlink v2.0 in PX4/Firmware (14b8108caabb99d1bad2daef31ac51fc061b3691): 408a7bedf3
    - mavlink v2.0 current upstream: 6203e2b643
    - Changes: 408a7bedf3...6203e2b643
2018-11-20 20:34:27 -05:00
PX4 Build Bot
68bd878877 Update submodule sitl_gazebo to latest Wed Nov 21 00:37:52 UTC 2018
- sitl_gazebo in PX4/Firmware (560a9b45edd67749141e7072fbc89c510b3ecfde): 3d80f63562
    - sitl_gazebo current upstream: 2adc86b5bf
    - Changes: 3d80f63562...2adc86b5bf

    2adc86b 2018-11-14 Elia Tarasov - add max value for wind and wind gust means
fb20a36 2018-11-14 Elia Tarasov - add normal gaussian distribution to wind gust force and direction
bd5ce12 2018-11-14 Elia Tarasov - add normal gaussian distribution to wind force and direction
913c094 2018-11-07 Jacob Schloss - reverse order of test
7d08ef5 2018-11-07 Jacob Schloss - fall back to only enabling up to c++14 on old cmake
0fd93b0 2018-11-07 Jacob Schloss - set CMAKE_CXX_STANDARD so cmake does not append a defualt language standard
2018-11-20 20:33:13 -05:00
Eric Babyak
560a9b45ed Fix for initializing Landing Target Estimator in SITL 2018-11-20 18:16:45 +01:00
Julian Oes
62188f6151 px_romfs_pruner.py: PEP8 and comments fixes 2018-11-20 15:16:54 +01:00
Julian Oes
177d14c8ea px_romfs_pruner.py: remove deprecation warning
The open flag `U` causes a deprecation warning starting with Python 3.4.
The option to open all kinds of newlines as `\n` has been replaced with
the argument `newline=None`. However, this argument is not available for
Python 2 unless we use `io.open` instead of `open`.
2018-11-20 15:16:54 +01:00
Beat Küng
1e17a86a39
collisionprevention: fix typo in param description & minor code style 2018-11-20 14:14:13 +01:00
baumanta
053494c535 use only one parameter and enable parameter change in flight. clean up code 2018-11-20 14:11:33 +01:00
baumanta
efa7e0ba77 clean up 2018-11-20 14:11:33 +01:00
baumanta
f5369db245 Put parameters inside library. Get rid of unnecessary activation logic 2018-11-20 14:11:33 +01:00
baumanta
dd45fa6541 change feature name from CollisionAvoidance to CollisionPrevention 2018-11-20 14:11:33 +01:00
baumanta
f611eddadd unadvertise publishers in the destructor 2018-11-20 14:11:33 +01:00
Matthias Grob
81ec6c5b1e ColisionAvoidance: move instantiation to FlightTask 2018-11-20 14:11:33 +01:00
Matthias Grob
7e276bc163 CollisionAvoidance: move activation logic to library 2018-11-20 14:11:33 +01:00
baumanta
27dc60a419 Improve comments 2018-11-20 14:11:33 +01:00
baumanta
ce7dc85450 Change wrong comment 2018-11-20 14:11:33 +01:00
baumanta
db514fe441 Add a collision avoidance library which uses range data 2018-11-20 14:11:33 +01:00
David Sidrane
1d12827408 Commander:Replace color based LED manipulators with logical ones. 2018-11-19 14:32:47 -05:00
David Sidrane
fbc143dc55 sitl:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on sitl
2018-11-19 14:32:47 -05:00
David Sidrane
05ea187b1d px4nucleoF767ZI-v1:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on px4nucleoF767ZI-v1
2018-11-19 14:32:47 -05:00
David Sidrane
b37675fa76 px4fmu-v5:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on px4fmu-v5
2018-11-19 14:32:47 -05:00
David Sidrane
26026b5d39 px4fmu-v4pro:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on px4fmu-v4pro
2018-11-19 14:32:47 -05:00
David Sidrane
735830a483 px4fmu-v4:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on px4fmu-v4
2018-11-19 14:32:47 -05:00
David Sidrane
90106c1fd2 px4fmu-v2:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on px4fmu-v2
2018-11-19 14:32:47 -05:00
David Sidrane
e40a0839e9 px4-stm32f4discovery:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on px4-stm32f4discovery
2018-11-19 14:32:47 -05:00
David Sidrane
03aae61395 px4-same70xplained-v1:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on px4-same70xplained-v1
2018-11-19 14:32:47 -05:00
David Sidrane
42a8a6ffac omnibus-f4sd:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on omnibus-f4sd
2018-11-19 14:32:47 -05:00
David Sidrane
1da0021be9 nxphlite-v3:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on nxphlite-v3
2018-11-19 14:32:47 -05:00
David Sidrane
a12f26aee0 mindpx-v2:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on mindpx-v2
2018-11-19 14:32:47 -05:00
David Sidrane
3c6539257f crazyflie:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on crazyflie
2018-11-19 14:32:47 -05:00
David Sidrane
e960978296 auav-x21:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on auav-x21
2018-11-19 14:32:47 -05:00
David Sidrane
aa30560d68 aerofc-v1:Added Logical BOARD specific LED mapping
Define the logical LED that are uses on aerofc-v1
2018-11-19 14:32:47 -05:00
David Sidrane
96ba6c1174 sitl led:Support logical LED operations in commander
add support for all the LEDS to support
   BOARD_HAS_CONTROL_STATUS_LEDS
2018-11-19 14:32:47 -05:00
David Sidrane
0a1dd24af6 omnibus-f4sd:led clean up code and prevent out of bounds indexing 2018-11-19 14:32:47 -05:00
David Sidrane
dc29820bd9 Document the LED colors used 2018-11-19 14:32:47 -05:00
David Sidrane
98394afcc7 board common:Define default CONTROL_STATUS LED mapping
This commit is the groundwork to fix the power LED
   blinking on V5

   Background:
   ----------
   Early boards only had an AMBER LED that was used to
   indicate a High Load condition.

   This change defines the new logical inteface
   the LED_<color> should not be used in application
   code moving forward, only the minipulator macros
   should be used.

       Logical usage             Legacy default
      ------------------------+-------------
       BOARD_OVERLOAD_LED     | LED_RED

   Later boards defined BOARD_HAS_CONTROL_STATUS_LEDS
   and added the use of a BLUE and GREEN LED that were
   used as follows:

   Logical usage             Legacy default
      ------------------------+-------------
       BOARD_ARMED_LED        | LED_BLUE
       BOARD_ARMED_STATE_LED  | LED_GREEN

   With this PR a board may now define _only_ a subset
   the leds and map them at the board level to the
   color LED it wants to use.

       Logical usage             Legacy default
      ------------------------+-------------
       BOARD_OVERLOAD_LED     | LED_RED
    when BOARD_HAS_CONTROL_STATUS_LEDS is defined
       BOARD_ARMED_LED        | LED_BLUE
       BOARD_ARMED_STATE_LED  | LED_GREEN

   If any of the BOARD_{OVERLOAD|ARMED|ARMED_STATE}_LED are not
   defined. The code output generates a null action for that
   LED.
2018-11-19 14:32:47 -05:00
Daniel Agar
bba475aca1 logger limit trajectory_setpoint rate 2018-11-19 09:59:22 -05:00
Daniel Agar
26bac9594f add simple SITL shutdown test 2018-11-16 16:43:19 -05:00
Daniel Agar
48ba88eaf0
pwm_out_sim add mixer saturation status publication (#10866) 2018-11-16 16:42:20 -05:00
Paul Riseborough
3ee596284d ecl: Magnetic declination use improvements
Fixes bugs causing learned or GEO lookup declination to not be used in some circumstances.

https://github.com/PX4/ecl/pull/518
https://github.com/PX4/ecl/pull/520
2018-11-16 10:25:59 -05:00
Matthias Grob
8090734fe1 appveyor: switch cache to the entire PX4 folder
to save the time running the installer for every build
which was necessary before because the folder exceedes
the maximum of 1GB cache of the appveyor free plan
2018-11-16 10:19:58 -05:00
Daniel Agar
30fe079844 qurt px4_layer fix style 2018-11-16 09:53:28 -05:00
Daniel Agar
4278dd8fb4 posix px4_layer fix style 2018-11-16 09:53:28 -05:00
TSC21
05d9932f6c logger: limit vehicle_*_odometry topics to 30hz on default logging 2018-11-16 09:44:32 +01:00
TSC21
2c111222cf logger: fix vision topics naming 2018-11-16 09:44:32 +01:00
dkang
4901f8a1dc
add execption check after malloc 2018-11-16 08:15:26 +01:00