Commit Graph

18197 Commits

Author SHA1 Message Date
Jake Dahl e0e411ea07 additional improvements 2018-10-16 09:45:28 +02:00
Jake Dahl ad567fa537 I should really compile before pushing, fixed a scoping error on int result 2018-10-16 09:45:28 +02:00
Jake Dahl 1e1268f84b missed a return of result 2018-10-16 09:45:28 +02:00
Jake Dahl b2482b0e43 made changes based on reviewer feedback. Also added a bool option for block_read and block_write PEC, as some devices may not use the PEC 2018-10-16 09:45:28 +02:00
Jake Dahl e5b2286756 added an SMBus base class 2018-10-16 09:45:28 +02:00
PX4 Build Bot 5f583bf587 Update submodule libuavcan to latest Mon Oct 15 20:37:29 EDT 2018
- libuavcan in PX4/Firmware (8958b42dada1e14f27c287a59b51ff26e90486a1): https://github.com/UAVCAN/libuavcan/commit/479d144ded9d5d16e234121ef9511b9ca9dfdac5
    - libuavcan current upstream: https://github.com/UAVCAN/libuavcan/commit/6174b8c10a2dbf47076ca7a7b5820a4c36c8a988
    - Changes: https://github.com/UAVCAN/libuavcan/compare/479d144ded9d5d16e234121ef9511b9ca9dfdac5...6174b8c10a2dbf47076ca7a7b5820a4c36c8a988

    6174b8c 2018-10-06 Pavel Kirienko - Link to the new forum
2018-10-15 21:08:08 -04:00
Mark Sauder ad8539bd15 Deprecate the tap_common directory, nuttx, driver, and makefile references to tap-v1. (#10629) 2018-10-15 11:53:29 -04:00
Zack Selgrath 919957eec6 batt_smbus_main: Rearranged bus options, added TODO
-Rearranged bus options to match other drivers
-Added TODO statement because driver cannot yet start on a specific external bus
2018-10-15 11:49:25 -04:00
Zack Selgrath c8632d9eee batt_smbus_main: Fixed bus arguments from shell
- Added two external I2C bus options corresponding to newer Pixhawk hardware (px4fmu-v5)
- Switched from getopt to px4_getopt
- Fixed bus checking loop exiting early
2018-10-15 11:49:25 -04:00
Hamish Willee 55b9f76a16 Fix jenkins build error in tune_control 2018-10-10 19:23:09 -04:00
Dennis Mannhart ff45ee67b4 FlightTasks: remove empty line 2018-10-10 10:30:48 -04:00
Dennis Mannhart c3ba2687ac FlightTask: if not in air, reActivate the task which will set the setpoints to current
vehicle state.
2018-10-10 10:30:48 -04:00
Dennis Mannhart 1f0d559d65 PositionControl: check and set _skip_controller flag at the end of the setpoint update 2018-10-10 10:29:46 -04:00
Dennis Mannhart 2f833a26d1 mc_pos_control: check if position-control setpoint update succeeded.
refactor use_obstacle_avoidance method
2018-10-10 10:29:46 -04:00
DanielePettenuzzo b83b588fc5 irlock driver: fix bus selection argument (-b) 2018-10-10 15:20:03 +02:00
Hamish Willee 988ce71ee0 Better rendering for tune control 2018-10-10 10:30:11 +02:00
Hamish Willee a98643cb16 Add tune control docs as options 2018-10-10 10:30:11 +02:00
Hamish Willee 629933d0c8 Fix up tune control docs 2018-10-10 10:30:11 +02:00
Dennis Mannhart 6212e9c752 FlightTaskManualAltitude: use stick inputs for the brake check 2018-10-09 12:05:52 -04:00
Martina 280cb34a77 FlightTaskAuto: replace NAV_ACC_RAD with acceptance radius from triplet 2018-10-09 12:01:45 -04:00
Martina 18f4144e5a mission_block: when creating a triplet from a mission item use the default
acceptance radius from the paramters and overwrite it if the mission item
has set acceptance radius
2018-10-09 12:01:45 -04:00
Daniel Agar 4731f8c735 ADIS16477 support filtering params and enable onboard filter 2018-10-09 10:37:12 -04:00
Daniel Agar f74b96e918 AV-X DSM RC fixes (disable single wire) 2018-10-09 10:37:12 -04:00
Beat Küng 431bcbe642 MPC_THR_HOVER: reduce minimum from 20% to 10% 2018-10-09 12:09:07 +02:00
Beat Küng 48f5f8faa5 mc pos control: add MPC_THR_CURVE param
The hover thrust param also changed the thrust scaling in Stabilized mode.
However if the hover thrust is very low (e.g. below 20%), the throttle
stick input becomes very distorted.
2018-10-09 12:09:07 +02:00
Beat Küng a9def8be93 MC land detector: remove LNDMC_THR_RANGE param
- no airframe changes the default
- it does not make much sense to be able to configure the 0.1 threshold
  but the 0.3 threshold for ground contact detection cannot be configured.
2018-10-09 12:09:07 +02:00
bresch d69cba5db9 FW trim - Fix typos in FW_DTRIM_R/P/Y_VMAX 2018-10-09 10:37:22 +02:00
TSC21 254a520e19 make the build stop in case of an error on the RTPS generation scripts 2018-10-08 10:58:45 +02:00
TSC21 3228e494bd radio_status: change 'fixed' field name to 'fix' so it does not clash with 'fixed' floating-point notation on the IDL generation 2018-10-08 10:58:45 +02:00
TSC21 840117fa2f Updated src/modules/micrortps_bridge/micro-CDR 2018-10-08 10:58:45 +02:00
TSC21 71d1b77bbe parse output from python script into readable cmake list to use; refactor RTPS scripts 2018-10-08 10:58:45 +02:00
Beat Küng 92a1594430 mavlink config: remove Iridium option
The user does not need to configure this, so we can hide it from the UI.
2018-10-08 08:24:44 +02:00
Simone Guscetti 62d71bf36c fmu-v5 manifest: Add some comments
Clarify which  componets is on which index for the item array
2018-10-05 07:54:44 -07:00
Simone Guscetti aa3a404fa0 fmu-v5 manifest: remove entry from list
At the moment it is only declared a component, PX4IO.
2018-10-05 07:54:44 -07:00
Simone Guscetti 0f47272628 board_common: fix typo 2018-10-05 07:54:44 -07:00
Beat Küng dae7c56109 ManualSmoothing{XY,Z}: remove unused include 2018-10-04 15:09:02 +02:00
Beat Küng e23382c6da FlightTaskManualAltitude: call FlightTaskManualStabilized::_updateHeadingSetpoints() directly
Instead of calling _updateSetpoints(), that also sets the thrust setpoint,
which is then overwritten again.
2018-10-04 15:09:02 +02:00
Beat Küng 206baa7432 Flight tasks: avoid using *= for scalar to vector assignment
It's confusing and there is a corner case where the result is incorrect:
*= 0 will not set the variable to 0 if it's already NAN.
2018-10-04 15:09:02 +02:00
Beat Küng bb756e0e12 FlightTaskAuto: remove unnecessary brackets in switch case statements 2018-10-04 15:09:02 +02:00
Beat Küng eb30b5b73e mc_pos_control_params: remove unused MPC_MANTHR_MAX params 2018-10-04 15:09:02 +02:00
Julian Oes 39e0a39224 uavcan: update submodule
This fixes the build with Python 3.7.
2018-10-04 13:46:17 +02:00
Daniele Pettenuzzo a2d1f6ddce ll40ls driver: support also lidar lite v3HP (#10578) 2018-10-04 00:54:27 -04:00
mcsauder 2d208b1524 Edited aerofc-v1 file comments to not reference tap-v1. 2018-10-03 15:47:04 -04:00
Bart Slinger c762a12bfa bebop2 shutdown motors on force_failsafe 2018-10-03 15:35:25 -04:00
Beat Küng 6c34407d57 version: rebase fixes & add bbblue 2018-10-03 10:30:10 +02:00
Beat Küng afc1be2296 px4_micro_hal: fix typo 2018-10-03 10:30:10 +02:00
Beat Küng 703a5376bb bebop board config: add a separate SOC_ARCH_ID 2018-10-03 10:30:10 +02:00
Beat Küng b9a99969a7 board_get_uuid: fix alignment issues
board_get_px4_guid() called board_get_uuid() with a 2 bytes offset into an
uint8_t array. This gives no guarantees on alignment, and board_get_uuid()
casts it to an uint32_t array, leading to potentially unaligned accesses.
2018-10-03 10:30:10 +02:00
Beat Küng f0f88a3662 ver command: show the git branch name for 'ver all' 2018-10-03 10:30:10 +02:00
David Sidrane a934d6e3f2 samv7:Fixed incorrect index populating px4_guid 2018-10-03 10:30:10 +02:00