Commit Graph

17311 Commits

Author SHA1 Message Date
David Sidrane ec73e73934 px4fmu-v5:Support board_supports_single_wire query by UxART 2018-07-17 08:53:29 +02:00
David Sidrane ab49b42f1c board_common:Extend board_supports_single_wire API to use UxART_BASE 2018-07-17 08:53:29 +02:00
David Sidrane b6d01c36af px4fmu-v5:Support RX TX swap 2018-07-17 08:53:29 +02:00
David Sidrane 8076b103bc px4fmu-v5:Provide RC_UXART_BASE to use board_common UxART based INVERT_RC_INPUT 2018-07-17 08:53:29 +02:00
David Sidrane 7dfd26cd8f nxphlite-v3:Provide RC_UXART_BASE to use board_common UxART based INVERT_RC_INPUT 2018-07-17 08:53:29 +02:00
David Sidrane f48481fcbd fmu:Use extended rc_io_invert API with UxART 2018-07-17 08:53:29 +02:00
David Sidrane c291566c3e fmu:Remove gpio config on GPIO_SBUS_INV it is done in board_init 2018-07-17 08:53:29 +02:00
David Sidrane 8cc358dff8 px4fmu-v5:extend board_rc_input to pass UxART 2018-07-17 08:53:29 +02:00
David Sidrane bf36d272bf nxphlite-v3:extend board_rc_input to pass UxART 2018-07-17 08:53:29 +02:00
David Sidrane 70a453f148 px4nucleoF767ZI-v1:Provide board_common INVERT_RC_INPUT with GPIO based invert 2018-07-17 08:53:29 +02:00
David Sidrane 28a669a637 px4fmu-v4pro:Provide board_common INVERT_RC_INPUT with GPIO based invert 2018-07-17 08:53:29 +02:00
David Sidrane 05b9b5e533 px4fmu-v4:Provide board_common INVERT_RC_INPUT with GPIO based invert 2018-07-17 08:53:29 +02:00
David Sidrane 407fe692d8 mindpx-v2:Provide board_common INVERT_RC_INPUT with GPIO based invert 2018-07-17 08:53:29 +02:00
David Sidrane 9fc37606fd tap-v1:Use board_common default nop INVERT_RC_INPUT 2018-07-17 08:53:29 +02:00
David Sidrane 3debee9563 aerofc-v1:Use board_common default nop INVERT_RC_INPUT 2018-07-17 08:53:29 +02:00
David Sidrane b08a0d50f8 aerocore2:Use board_common default nop INVERT_RC_INPUT 2018-07-17 08:53:29 +02:00
David Sidrane c57928343c Create INVERT_RC_INPUT default usages 2018-07-17 08:53:29 +02:00
David Sidrane cba7410e49 fmu:Use board_supports_single_wire when calling sbus_config 2018-07-17 08:53:29 +02:00
David Sidrane 7ea592016e px4fmu-v5:Use board_supports_single_wire
This is a stubbed out version that will rely on the hardware
   manifest moving forward.
2018-07-17 08:53:29 +02:00
David Sidrane 13a972cfe6 px4fmu-v5:Add place holder for hardware manifest 2018-07-17 08:53:29 +02:00
David Sidrane d986c14591 board_common:add board_supports_single_wire API 2018-07-17 08:53:29 +02:00
Paul Riseborough 4e3f7bdcc6 ekf2: Move range min/max checks to inside the ecl library 2018-07-16 21:59:04 +10:00
Philipp Oettershagen da2fbf60b5 distance sensors: Improve variable naming / description 2018-07-16 21:59:04 +10:00
Philipp Oettershagen 35bde5c9fc LL40LS: Implement driver-specific filtering based on the datasheet and experiments 2018-07-16 21:59:04 +10:00
Beat Küng e1f2360560 gps: remove unused field _baudrate_changed & _mode_changed 2018-07-16 12:18:37 +02:00
Beat Küng 4d71686ac6 gps: add GPS_YAW_OFFSET param & properly initialize _baudrate 2018-07-16 12:18:37 +02:00
Beat Küng a947ad2506 gps: remove unused code & fix _mode_auto initialization 2018-07-16 12:18:37 +02:00
Beat Küng 43c2970fb9 vehicle_gps_position: add heading field 2018-07-16 12:18:37 +02:00
Beat Küng a8463a5226 gpssim: cleanup (remove unused fields) 2018-07-16 12:18:37 +02:00
Daniel Agar 3b580514ae delete unused airspeed.true_airspeed_unfiltered_m_s 2018-07-16 01:09:19 -04:00
Daniel Agar 9a4de09325 sensors remove airspeed negative check 2018-07-16 01:09:19 -04:00
Philipp Oettershagen 79f172eb92 Navigator: Fix fixed-wing first order altitude hold (#9850)
i.e. the altitude reference oscillations caused by it in LOITER mode
2018-07-15 23:54:08 -04:00
Daniel Agar effeae93cc GPS initialize all class members in definition 2018-07-15 20:34:31 +02:00
Daniel Agar 94dd6abd9f GPS organize status print 2018-07-15 20:34:31 +02:00
Lorenz Meier ff626a19f6 GPS driver: Initialize heading field for all drivers, reduce UBX hold-off time for config reset. 2018-07-15 20:34:31 +02:00
Lorenz Meier e2333d7d5c GPS driver: Keep stack to required size for app boot 2018-07-15 20:34:31 +02:00
Lorenz Meier b3b83afa6a GPS: Update device driver 2018-07-15 20:34:31 +02:00
Lorenz Meier 5dd981a7be GPS driver: Initialize baud rate and improve output 2018-07-15 20:34:31 +02:00
Lorenz Meier 16dd82ab60 Update GPS driver submodule 2018-07-15 20:34:31 +02:00
Lorenz Meier 493a84638d GPS driver: Add RTCM parsing 2018-07-15 20:34:31 +02:00
Lorenz Meier 2931b85f0e GPS: Add support for RTK GPS units
This includes the Trimble MB-TWO and similar devices. Tested including GPX streams.
2018-07-15 20:34:31 +02:00
Daniel Agar 0c0b761c87 mavlink update POSITION_TARGET_GLOBAL_INT publish
- publish continuously in position control mode when there's a valid
   setpoint
 - optionally fill in the velocity and acceleration setpoints when
   available
 - fixes #9841
2018-07-13 15:30:25 +02:00
Daniel Agar 1ea63e4955 mavlink MOUNT_ORIENTATION use math::degrees 2018-07-13 15:30:06 +02:00
Daniel Agar f26c3ac014 mavlink properly wrap heading fields
- fixes #9867
2018-07-13 15:30:06 +02:00
Beat Küng 5e3e486527 px4_posix.h: avoid defining PX4_F_RDONLY as O_RDONLY
- There is an assumption un uORB that PX4_F_RDONLY is not 0.
- But O_RDONLY is 0 on Linux. orb_exists passes 0 to px4_open, which in
  uORB::DeviceNode::open leads to an unnecessary allocation of
  SubscriberData()
- PX4_F_RDONLY is only used in combination with px4_open, never with open()

However even if it was wrong/unexpected, it did not cause any problems,
just the unnecessary allocation.
2018-07-13 11:30:23 +02:00
Daniel Agar 8537863848 delete sdlog2 2018-07-13 09:02:59 +02:00
Nuno Marques 83fd5a5fd1 Update micro-CDR to latest and fix API usage (#9651)
* uorb_microcdr: msg.cpp.template: update API for how the buffer length is obtained
* micrortps_bridge: CMakeLists: temporarily deactivate check endianness option
2018-07-12 18:04:15 -04:00
Martina 84d22fe0c6 logger: trajectory_waypoint -> vehicle_trajectory_waypoint 2018-07-12 16:36:11 -04:00
Martina e7cf2c5675 remove unused trajectory_bezier message 2018-07-12 16:36:11 -04:00
Martina 5cd0da95cc mc_pos_control_params: add type boolean to MPC_OBS_AVOID parameter 2018-07-12 16:36:11 -04:00