18812 Commits

Author SHA1 Message Date
DanielePettenuzzo
3e9acee83e add camera capture support for av_x board (not timer capture but gpio capture) 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
b12b4e1222 fixes after rebase 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
15abb159a8 camera_capture: change topic namings to make logging, mavlink streaming and geotagging easier 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
faf535b040 camera_capture: remove trig_buffer and replace it with public structure 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
0ee66c5434 camera_capture: clean trigger modes and change fmu to 4pwm2cap 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
50f8c7349c fmu: add mode_4pwm2cap 2019-02-10 18:07:44 -05:00
David Sidrane
a153148ef5 camera_capture:Use IOCTL to set capture mode. 2019-02-10 18:07:44 -05:00
David Sidrane
928e0140ee fmu:Add MODE_4PWM1CAP, MODE_5PWM, MODE_5PWM1CAP
This extends the  Capture support for FMU
   CHAN 5 and 6.
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
4876bb2582 camera feedback: fix camera_trigger subscription 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
96961c6f9c camera trigger and camera capture publish on two different topics and camera feedback module uses CAM_CAP_FBACK param to choose between the two. 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
6b65eb2225 camera feedback: remove CAM_FBACK_MODE param. CAM_CAP_FBACK from camera capture driver will be used instead. 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
011a7f26f4 fix camera_trigger publish and reduce time in capture interrupt routine 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
3f99204de2 camera_trigger.msg: add feedback field to understand if message camera from trigger or capture driver 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
38c8a6ff74 camera_capture: add cycle for cycle_trampoline 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
ea9d6899ae clean up camera capture driver 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
42e2bd47c4 add camera capture mode and edge params 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
d49752141d rename camera capture feedback param and move it from camera_feedback module to camera capture driver 2019-02-10 18:07:44 -05:00
DanielePettenuzzo
42afc88285 add camera trigger feedback (input capture when camera actually takes the photo) 2019-02-10 18:07:44 -05:00
bresch
5229882470 Camera Capture - Use falling edge only 2019-02-10 18:07:44 -05:00
bresch
7906bff914 Camera Capture - add "status" to camera_capture usage help message 2019-02-10 18:07:44 -05:00
Mohammed Kabir
94bb02a9c7 Add camera_capture driver 2019-02-10 18:07:44 -05:00
mcsauder
2fa70fca80 Added audio tune signals for unit tests passing and failing. 2019-02-10 17:47:16 -05:00
mcsauder
0032df3e87 Update the test_tone() unit test to use orb_advertise() and orb_publish() instead of IOCTL() and alphabetize tests_main.h. 2019-02-10 17:47:16 -05:00
mcsauder
6dc840ac6a Break test_tone and test_ppm out of the test_hrt.cpp file into their own respective files. 2019-02-10 17:47:16 -05:00
Daniel Agar
7c3999e00e
update mavlink and sitl_gazebo to latest with odometry velocity covariance 2019-02-10 16:32:59 -05:00
Roman
e49549a433 uavcan: use px4 timestamp for the esc status message
- there is a timeshift between the esc and px4 time so until there is some
kind of offset estimation we are better off using px4 time since the logging
system uses that as reference

Signed-off-by: Roman <bapstroman@gmail.com>
2019-02-10 09:22:59 -05:00
PX4 Build Bot
795e13ca59 Update submodule ecl to latest Sat Feb 9 00:38:44 UTC 2019
- ecl in PX4/Firmware (65377def832e82bd667ff6e0d00155c95b51b12e): 54ab8191e3
    - ecl current upstream: 1378ec1797
    - Changes: 54ab8191e3...1378ec1797

    1378ec1 2019-02-07 Daniel Agar - EKF mag_fusion avoid unnecessary double promotion
2019-02-08 21:05:20 -05:00
David Sidrane
c6edf41a74 test time: Fixed bad assumption about RAND_MAX (#11414)
usleep range was up to 2147 Seconds

   Per open group: The rand() function shall compute a
   sequence of pseudo-random integers in the range
   [0, {RAND_MAX}]  with a period of at least 2^32

   {RAND_MAX} Maximum value returned by rand();
   at least 32767.

   /* Maximum value returned by rand().  Must be a minimum of 32767. */

   #define RAND_MAX INT_MAX

  and

  #define INT_MAX     2147483647
2019-02-08 14:39:18 -05:00
Daniel Agar
2217faf812
mathlib Limits constexpr helpers don't use references (#11411)
- fixes #11408
 - cleanup Limits.hpp
2019-02-08 14:10:09 -05:00
Beat Küng
ab6ab97aa2 px4_module: document that the subcategory is optional 2019-02-08 09:29:46 +01:00
Beat Küng
4452669614 module documentation: add support for subcategories 2019-02-08 09:29:46 +01:00
Beat Küng
d8b013355c PRINT_MODULE_USAGE_PARAM_{INT,FLOAT}: add support to ignore the default value 2019-02-08 09:29:46 +01:00
Daniel Agar
7f3b170024 mc_att_control: landing gear publish correct message 2019-02-07 11:57:35 +01:00
Daniel Agar
07fbd2202a EKF2 use simplified ecl/EKF setIMUData 2019-02-06 20:20:51 -05:00
Daniel Agar
ddc9522712 EKF2 always use IMU timestamp as now 2019-02-06 20:20:51 -05:00
PX4 Build Bot
4c4ee67954 Update submodule ecl to latest Thu Feb 7 00:38:05 UTC 2019
- ecl in PX4/Firmware (9580dea9c2ab12d9fd6eaa1a3232c7c80639bef4): dd58e69549
    - ecl current upstream: 54ab8191e3
    - Changes: dd58e69549...54ab8191e3

    54ab819 2019-02-06 Carl Olsson - EKF: add method to get the terrain variance
c5554ca 2019-02-03 Daniel Agar - EKF tests update SWIG usage and use latest containers
2019-02-06 20:15:02 -05:00
Daniel Agar
537318cbb5 navigator delete unused mission_yaw_mode 2019-02-06 18:59:11 -05:00
Daniel Agar
83e76ece1c navigator mission block fix get_time_inside() and cleanup helpers 2019-02-06 18:59:11 -05:00
Daniel Agar
3665bc59b8 navigator initialize all mission items safely 2019-02-06 18:59:11 -05:00
Daniel Agar
26185f7c07 navigator orb subscribe/unsubscribe in constructor/destructor 2019-02-06 18:59:11 -05:00
Daniel Agar
1a4d31140e
create example vehicle type build configs for fmu-v2 and fmu-v5 (#10963)
- update navigator precision landing to build without multicopter
2019-02-05 19:53:54 -05:00
Daniel Agar
87b17bed58 px4io depend on NuttX submodules 2019-02-05 14:47:58 -05:00
Julian Oes
b17c0a11ab mavlink: improve comments about message forwarding (#11323)
This removes the confusing ugly magic number of 233 introduced as part
of https://github.com/PX4/Firmware/pull/7670.

Also, the convoluted if is cleaned up using 3 separate bools with some
comments to explain what's going on.

This should not change anything function-wise except that the flight
controller could now potentially also use system ID 233 and not break
forwarding.
2019-02-05 10:33:49 -05:00
Hamish Willee
87993e7335 Indicate version in which SYS_COMPANION deprecated (#11327) 2019-02-05 10:16:28 -05:00
Julien Lecoeur
34717f7005 Merge pull request #11288 from PX4/pr-tiltrotor_noairspeed_transition_check
tiltrotor: fix transition check when airspeed is invalid
2019-02-05 10:09:48 -05:00
Matthias Grob
664674c36b simulator_mavlink: zero initializer instead of memset
Needed a clear scope inside a case for irlock_reports.
2019-02-05 10:09:15 -05:00
Matthias Grob
73f4706597 simulator_mavlink: consistent system call scope operator 2019-02-05 10:09:15 -05:00
bastien
1990338a3f gps: Support for Emlid Reach
Support Emlid Reach in ERB format,
including autodetect

Reported-by: Bastien Auneau <bastien.auneau@while-true.fr>
2019-02-04 09:10:11 -05:00
Paul Riseborough
9692ef1ae9 commander: remove duplicate check 2019-02-04 10:32:19 +01:00
Daniel Agar
248320b328 PreflightCheck trivial astyle fix 2019-02-04 10:32:19 +01:00