Angel
46662072d1
Missed conversion to radians in AutoMapper and AutoMapper2
2019-06-25 14:01:35 +02:00
Daniel Agar
6d9bf18ca6
Revert "VTOL: add parameter to prevent flight if roll direction was not checked"
...
This reverts commit 5f06c6a1aa .
2019-06-25 09:26:20 +02:00
Matthias Grob
5002b13bda
mc_att_control: Increase default rate integral gain
...
@bkueang and me realized that on every frame we tune the integral gain for
the roll and pitch rate controller is much too low. Usually it needs to be
increased to 0.3 or even 0.4 to have better "locked in" flight performance
and 0.2 seems like a good compromise for a safe default.
2019-06-24 18:26:27 +02:00
Beat Küng
ea31f34d09
mc rate controller: add I term reduction factor
...
Reduce the I gain for high rate errors to reduce bounce-back effects after
flips. Up to 200 degrees the gain is almost not reduced (<25%), so this
will only take noticeable effects for large errors (setpoint changes),
where we actually want to have an effect.
This allows to increase the MC_*RATE_I parameters w/o negative effects
when doing flips (i.e. bounce-back after flips).
The 400 degrees limit and the x^2 are empirical.
The better the rate tracking in general (high P gain), the less this is
required (because of the lower tracking error). At the same time it also
does not harm, as the i_factor will always be close to 1.
2019-06-22 13:23:19 +02:00
JaeyoungLim
4c4bcc5fdb
Mavlink: Fill in thrust field correctly for offboard rates setpoints on fixed wing ( #12311 )
...
* Fill in thrust field for rates sp
2019-06-20 17:17:32 +02:00
PX4 Build Bot
4831a4b0cf
Update submodule ecl to latest Tue Jun 18 20:37:33 EDT 2019
...
- ecl in PX4/Firmware (4673dd0a0c9b90fcab84a26e75812a5c7172d1af): https://github.com/PX4/ecl/commit/0f49eb34a08e499a26d749ed981429047f2100ff
- ecl current upstream: https://github.com/PX4/ecl/commit/a036cf82cc92ef6572ea7ee960cfff4d305c01fa
- Changes: https://github.com/PX4/ecl/compare/0f49eb34a08e499a26d749ed981429047f2100ff...a036cf82cc92ef6572ea7ee960cfff4d305c01fa
a036cf8 2019-06-14 Paul Riseborough - EKF: Remove use of of quaternion self product operator and fix delta rotation sign
0e946f2 2019-06-14 Paul Riseborough - EKF: Remove use of quaternion self product operator and fix delta rotation sign error
ad7f7af 2019-05-21 CarlOlsson - ekf: correct quaternion multiplication order
d6351bd 2019-05-21 CarlOlsson - EKF: update comment
7612fa4 2019-05-30 Paul Riseborough - EKF: Don't start using GPS for height until all validity checks have passed
cef2ba5 2019-05-08 Roman - implemented Kahan summation algorithm for adding process noise to delta angle- and delta velocity bias variance
2019-06-19 11:38:49 +10:00
SalimTerryLi
e0f3fc8d00
Mavlink receiver SET_ATTITUDE_TARGET fill the correct throttle field by checking its frametype in offboard mode ( #12149 )
2019-06-18 02:06:41 +02:00
alessandro
2deab6c607
commander: refactored state-machine strings
...
- Follow-up changes to https://github.com/PX4/Firmware/pull/11796
2019-06-17 20:09:05 +02:00
Daniel Agar
136962d125
uORB Subscription callbacks with WorkItem scheduling on publication ( #12207 )
2019-06-17 16:26:06 +02:00
Beat Küng
beaba44e5b
mc mixer: prioritize roll/pitch over yaw for full airmode
...
Improves roll/pitch tracking in situations of large yaw demands.
2019-06-17 13:17:18 +02:00
mcsauder
8811c8315c
Modify the update_params() comment to better reflect what is taking place in mavlink_receiver.h.
2019-06-17 09:41:30 +02:00
mcsauder
742c22d099
Rename _param_sub to _param_update_sub and initialize. Re-define and re-implement the update_params() method and only call if parameters have been updated.
2019-06-17 09:41:30 +02:00
mcsauder
c92b8b03cd
Move variable initialization from constructor to declarations in MavlinkReceiver class, alphabetize var lists. Added update_params() method to ensure that parameters subscribed to are updated routinely.
2019-06-17 09:41:30 +02:00
Patrick Brünn
b402c9697d
hardfault_log: fix NULL terminator truncation
...
building "make omnibus_f4sd_default" with gcc 8.2.1 failes with:
hardfault_log.c:315:7: error: 'strncat' specified bound 30 equals destination size
gcc8 introduced -Wstringop-truncation, which will warn about NULL terminator
truncation.
This patch fixes two similar issues:
- strncpy() makes no sense if we want to copy without NULL terminator
- strncat() needs space to append the NULL terminator
fixes #12283
2019-06-17 08:15:34 +02:00
Daniel Agar
7c4bf6ddae
Mavlink ODOMETRY (331) support MAV_FRAME_BODY_FLU
2019-06-16 13:23:57 -04:00
Mark Sauder
f1c66749e3
vl53lxx: migrate variable initialization from constructor list to declaration uniform initialization ( #11896 )
...
* Format whitespace
* Alphabetize/group/order variables and methods.
* Deprecate IOCTL usage and simplify a few methods.
2019-06-15 23:18:46 -04:00
David Sidrane
f96c47ae1b
stm32f7 bootloader update support ( #11394 )
...
* micro_hal: F7 add flash
* micro_hal: F7 non up_progmem functions
* bl_update: Add F7 Support
2019-06-15 21:46:46 -04:00
JaeyoungLim
d7d0bd2764
Mavlink: Enable gimbal control using SET_ACTUATOR_CONTROL_TARGET while controlling the vehicle offboard ( #12146 )
...
* Stop ignoring setpoints when actuator setpoints are for the gimbal
2019-06-15 21:35:41 -04:00
Daniel Agar
106ee280c5
land_detector initiate cycle immediately
...
- fixes #12190
2019-06-15 21:30:09 -04:00
Kabir Mohammed
ce784d1ef0
Sensordots Mappydot+ driver ( #12147 )
...
* Add MappyDot+ driver capable of utilizing multiple sensors on a single i2c bus.
2019-06-15 21:13:51 -04:00
Mark Sauder
eaa3d4a24f
tfmini: migrate driver class member variable initialization to declarations ( #11893 )
...
* format whitespace
* alphabetize/group/order var/method declarations
* added a default port to start the tfmini driver without requiring arguments.
2019-06-15 21:01:36 -04:00
Daniel Agar
4e360064d9
commander refactor and cleanup offboard control mode
2019-06-15 20:45:26 -04:00
Daniel Agar
648e7de249
drivers/px4io move to uORB::Subscription
2019-06-15 20:14:10 -04:00
Daniel Agar
1657b5030a
wind_estimator always copy attitude and local position data
2019-06-15 19:42:48 -04:00
Daniel Agar
5f20d3cf3b
Jenkins HIL increase boot timeout for stackcheck build
...
- px4_fmu-v5_stackcheck remove extra drivers (to try and get the system
usuable)
2019-06-15 16:59:04 -04:00
Daniel Agar
4910bed45b
mavlink send_statustext_critical() remove redundant print
2019-06-15 10:14:41 -04:00
bresch
83d90410ff
Jerk-limited auto mode - use MPC_ACC_HOR instead of MPC_ACC_HOR_MAX
...
as written in the parameter desctiption
2019-06-14 09:56:56 +02:00
Daniel Agar
a4a130fe53
tests free test containers in IntrusiveQueue and List
2019-06-13 10:47:27 -04:00
Daniel Agar
aee8f13289
List fix remove() and update testing
2019-06-13 10:47:27 -04:00
Daniel Agar
1623de8bd0
IntrusiveQueue add remove method, iterators, and update test
2019-06-13 10:47:27 -04:00
Timothy Scott
c4bb6b53e8
Changed soft stop check
2019-06-13 10:04:26 +02:00
Timothy Scott
21760a5856
Changed constant name to UNMANNED_GROUND_VEHICLE
2019-06-13 10:04:26 +02:00
Timothy Scott
714c90b9db
Updated code style to fix confusing if conditions
2019-06-13 10:04:26 +02:00
Timothy Scott
a134da6e12
Removed is_rotor_wing, replaced with vehicle_type
2019-06-13 10:04:26 +02:00
Timothy Scott
2ca40bfc65
Changed navigator to properly separate xy and z distance to waypoint
2019-06-13 10:04:26 +02:00
Daniel Agar
6816f2a4ce
commander force offboard control update when first entering mode
...
- fixes #12241
2019-06-12 20:25:05 -04:00
Matthias Grob
048cca7bc4
vtol_att_control: apply multicopter takeoff hotfix also for vtol ( #12250 )
...
Please see reference:
https://github.com/PX4/Firmware/issues/12171
2019-06-12 13:59:29 -04:00
Mark Sauder
ae6fed4f29
Migrate remaining variable initializations from constructor list to declarations in mavlink_main.cpp/h.
2019-06-12 12:53:09 -04:00
Martina Rivizzigno
7a586d2b60
ObstacleAvoidance: hysteresis on failsafe
2019-06-12 16:42:02 +02:00
Daniel Agar
79d4c09d59
uORB::Publication simplify and cleanup
...
- base class is now template
- drop linked list
- virtualization no longer required
2019-06-12 08:48:19 -04:00
PX4 Build Bot
57fc6eb4b8
Update submodule devices to latest Tue Jun 11 20:38:48 EDT 2019
...
- devices in PX4/Firmware (96e8e25a85a334872f2e46786d7c2f546ed846df): https://github.com/PX4/GpsDrivers/commit/a4999f111d13bcb209754823a3c503fa659a0d15
- devices current upstream: https://github.com/PX4/GpsDrivers/commit/69e38ecc846df03f0bb71aa136bcc830dd3316a9
- Changes: https://github.com/PX4/GpsDrivers/compare/a4999f111d13bcb209754823a3c503fa659a0d15...69e38ecc846df03f0bb71aa136bcc830dd3316a9
69e38ec 2019-06-06 Andreas Antener - sbf: report vertical velocity DOWN (converted from UP)
c803bad 2019-06-05 Andreas Daniel Antener - SBF Updates (#43 )
2019-06-12 08:01:31 +02:00
Bharat Tak
1ebf5d04d9
logger: add Ulog sync bytes at 1Hz and tagged log message definition ( #12144 )
2019-06-11 11:00:54 +02:00
PX4 Build Bot
736a1c4778
Update submodule ecl to latest Mon Jun 10 12:38:13 UTC 2019
...
- ecl in PX4/Firmware (e80050ce8c261e9b5c1cf7e1e8c62f32db08099f): https://github.com/PX4/ecl/commit/54ac147ae8930f1c280a0bd5c25fa90eaf4c6e0d
- ecl current upstream: https://github.com/PX4/ecl/commit/0f49eb34a08e499a26d749ed981429047f2100ff
- Changes: https://github.com/PX4/ecl/compare/54ac147ae8930f1c280a0bd5c25fa90eaf4c6e0d...0f49eb34a08e499a26d749ed981429047f2100ff
0f49eb3 2019-05-24 RomanBapst - fixed method which calculates validity of terrain estimate
cd34ab8 2019-05-24 Daniel Agar - mathlib delete floorf in favor of math.h
340d85a 2019-05-27 Robert de Vries - EKF: fix variable names in estimator_interface.h
90b4c7c 2019-05-24 Matthias Grob - mathlib: fix floorf indentation
710c529 2019-05-23 Sebastian Verling - fixed calculation of magentic table values by using floor instead of int casting
2019-06-10 10:42:37 -07:00
Daniel Agar
32a89a1834
rename empy templates (*.template) to proper file extension (.em)
2019-06-10 10:42:00 -07:00
Daniel Agar
8a0beb83db
templates/module move print_usage() to bottom of file
2019-06-08 03:23:50 -07:00
Daniel Agar
910e938943
tune_control move usage() to bottom of file
2019-06-08 03:23:50 -07:00
Daniel Agar
cfa58dfc36
led_control move usage() to bottom of file
2019-06-08 03:23:50 -07:00
Daniel Agar
c223de8a50
vmount move usage() to bottom of file and format
2019-06-08 03:23:50 -07:00
Daniel Agar
933dd1357e
navigator move print_usage() to bottom of file
2019-06-08 03:23:50 -07:00
Daniel Agar
d9c5fb0500
mc_att_control move print_usage() to bottom of file and format
2019-06-08 03:23:50 -07:00