Oleg Kalachev
942cdb1fa5
Add COEX Clover 4 airframe
2019-11-11 22:45:52 -05:00
Oleg Kalachev
17a84a691f
mavlink_receiver: simplify and fix statustext.severity handling
2019-11-11 17:12:37 -05:00
Daniel Agar
668984b6b0
boards: start adc in rc.board_sensors
2019-11-11 17:08:24 -05:00
bazooka joe
f06a6ba898
set TC_ as 'system' parameters
2019-11-11 15:13:01 -05:00
Daniel Agar
1c4e854f93
cmake don't build param "c" files and remove param defines
...
- these aren't actual source code
2019-11-11 10:25:42 -05:00
xdwgood
f984c4e450
ROMS: delete caipirinha_vtol.main.mix and instead use vtol_tailsitter_duo.main.mix
2019-11-11 10:40:20 +01:00
Pandacoolcool
ec0244906f
fix yaw control error
2019-11-11 10:40:20 +01:00
Pandacoolcool
5c7da88265
remove unuse param
2019-11-11 10:40:20 +01:00
PX4 BuildBot
4dfe3e199e
Update submodule matrix to latest Sat Nov 9 00:39:54 UTC 2019
...
- matrix in PX4/Firmware (c475bb84b7274d041065fc3fd673127ae2438f4d): https://github.com/PX4/Matrix/commit/9f464839510a2779b9418ffbc2303a31f155e851
- matrix current upstream: https://github.com/PX4/Matrix/commit/93d42947b612733d2bd05e66ae093ada3e35ba12
- Changes: https://github.com/PX4/Matrix/compare/9f464839510a2779b9418ffbc2303a31f155e851...93d42947b612733d2bd05e66ae093ada3e35ba12
93d4294 2019-11-08 kritz - Add test for setting Quaternion to Identity (#104 )
2019-11-09 00:51:44 -05:00
Peter van der Perk
991399f105
Added syncronization to t_send worker thread
...
Which avoids possible deadlocks
2019-11-08 18:58:38 +01:00
PX4 BuildBot
f0d22d3962
Update submodule sitl_gazebo to latest Fri Nov 8 12:40:23 UTC 2019
...
- sitl_gazebo in PX4/Firmware (0527f278cb ): https://github.com/PX4/sitl_gazebo/commit/169d48217df89922e9fae72ef34fa46ce2e209dd
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/036bcee25f178cef9350107b4283f05e334adc1b
- Changes: https://github.com/PX4/sitl_gazebo/compare/169d48217df89922e9fae72ef34fa46ce2e209dd...036bcee25f178cef9350107b4283f05e334adc1b
036bcee 2019-11-06 Jaeyoung-Lim - Add element to set home position from sdf
2019-11-08 11:50:46 -05:00
Daniel Agar
fa5a825401
Update submodule mavlink v2.0 to latest Fri Nov 8 12:40:28 UTC 2019
...
- mavlink v2.0 in PX4/Firmware (b7469f0f6d50a32bc57bbfe6ce0a7101ea5dbad2): https://github.com/mavlink/c_library_v2/commit/7c0ec61677d378320c2ee33a2e8db842d6fb4bc2
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/8d10911ec19dd8b9de628eb6c75c224a403aacc5
- Changes: https://github.com/mavlink/c_library_v2/compare/7c0ec61677d378320c2ee33a2e8db842d6fb4bc2...8d10911ec19dd8b9de628eb6c75c224a403aacc5
2019-11-08 10:22:34 -05:00
Daniel Agar
1fc85da4b0
Update submodule GPSDrivers to latest Fri Nov 8 12:40:32 UTC 2019
...
- GPSDrivers in PX4/Firmware (085bdd14b41ac3977d612a1cae27f111de7fe4fb): https://github.com/PX4/GpsDrivers/commit/011959b4dabc6edbc1b22f5e0fa42a62d137e993
- GPSDrivers current upstream: https://github.com/PX4/GpsDrivers/commit/085a85c48aafff6e388f8ce8d15c1371f8556a35
- Changes: https://github.com/PX4/GpsDrivers/compare/011959b4dabc6edbc1b22f5e0fa42a62d137e993...085a85c48aafff6e388f8ce8d15c1371f8556a35
085a85c 2019-10-15 Andreas Antener - sbf: invalidating gps position when invalid data is received We have encountered a case where do-not-use values were being reported in velocity fields without a corresponding error code or fix-type 0. This adds a check for known invalid data and sets the appropriate flags.
2019-11-08 09:43:53 -05:00
Beat Küng
073298bc8e
batt_smbus: fix incorrect CLI description
2019-11-08 13:52:23 +01:00
LP
0527f278cb
Update create.py to support Python3.x
...
file() -> open()
dict_obj_A.keys() + dict_obj_B.keys() -> list(dict_obj_A.keys()) + list(dict_obj_B.keys())
2019-11-08 10:10:17 +01:00
Jacob Dahl
b943bd72ab
commander: Added a parameter to control the timeout period for disarming after the kill switch is engaged. ( #13325 )
2019-11-07 10:03:59 -05:00
Daniel Agar
1896c758d0
[SQUASH ME] trivial style fix
2019-11-07 15:57:29 +01:00
Mike Wiatt
3595941554
Reposition landing gear check so that it is not overwritten by setpoint operations.
2019-11-07 15:57:29 +01:00
Daniel Agar
7fe257c0c0
Jenkins SITL tests always upload to logs.px4.io
2019-11-07 08:55:51 -05:00
Tanja Baumann
b60a955501
ColPrev: No direction change if no obstacle ( #13398 )
...
* only change direction if in other bin
2019-11-07 14:21:12 +01:00
Beat Küng
a5af1c8afc
batt_smbus: add missing PRINT_MODULE_USAGE_DEFAULT_COMMANDS()
2019-11-07 10:56:27 +01:00
Beat Küng
f94236dcc9
batt_smbus: fix getopt arguments (-A does not have an argument)
2019-11-07 10:56:27 +01:00
Beat Küng
ce1ae3fcb7
batt_smbus: exit/continue correctly when no device is on the bus
2019-11-07 10:56:27 +01:00
Beat Küng
72e62a62cb
batt_smbus: make bus_options const and rename to smbus_bus_options
...
as it is a global name.
2019-11-07 10:56:27 +01:00
Beat Küng
adad11f247
batt_smbus: remove unused defines
2019-11-07 10:56:27 +01:00
Beat Küng
b487920cf4
fix batt_smbus: add bound checks when accessing argv
2019-11-07 10:56:27 +01:00
Beat Küng
60f55a4fa1
fix batt_smbus: check if module running for custom_command
2019-11-07 10:56:27 +01:00
Beat Küng
f63b55b219
fix batt_smbus: do not block the work queue while suspended
2019-11-07 10:56:27 +01:00
Beat Küng
3f3304fefc
batt_smbus: variable init cleanup + remove unused declarations
2019-11-07 10:56:27 +01:00
Beat Küng
32359168d6
smbus: fix invalid memory access in read_word()
...
read_word() expected 3 bytes (uint16_t + PEC byte), but was passed an
address to an uint16_t value.
write_word() is changed to be type-safe as well.
2019-11-07 10:56:27 +01:00
Beat Küng
e772ddf012
motor_test: remove note about supported drivers
...
This is now supported by all main output drivers.
2019-11-07 10:40:03 +01:00
Beat Küng
6622f04feb
uavcan drivers: update code style
...
Pure refactoring, just running 'make format'.
2019-11-07 10:40:03 +01:00
Beat Küng
6049a95073
uavcan drivers: remove unused code for other OSs/bare metal
2019-11-07 10:40:03 +01:00
Beat Küng
5dff065ec5
uavcan: move to work queue and use MixingOutput
...
Main UAVCAN protocol handling and ESC updates run on the same thread/wq as
before. There are 2 WorkItems for separate scheduling of the 2, so that
ESC updates run in sync with actuator_control updates. UAVCAN is scheduled
at a fixed rate of 3ms (previously the poll timeout) and on each UAVCAN
bus event.
This leads to roughly the same behavior as before. CPU & RAM usage are
pretty much the same (tested on Pixhawk 4).
Testing done: Motors still work (with feedback), param changes and a
UAVCAN optical flow sensor.
2019-11-07 10:40:03 +01:00
Beat Küng
b7a480b45b
refactor uavcan: add stm32 and kinetis drivers directly
2019-11-07 10:40:03 +01:00
Beat Küng
6854b14dd6
esc_report: remove unused fields to reduce message size
...
esc_setpoint in UAVCAN was just wrong, this is what it really is:
uint7 power_rating_pct # Instant demand factor in percent
(percent of maximum power); range 0% to 127%.
2019-11-07 10:40:03 +01:00
Beat Küng
0db0981b1b
uavcan: remove actuator_direct (no publisher)
2019-11-07 10:40:03 +01:00
Daniel Agar
06f20ad892
sensors: ensure angular velocity publication on selected sensor update
2019-11-07 09:53:44 +01:00
Julian Oes
60343cc168
mavlink: warning for actuator offboard & lockstep
...
Currently actuator offboard control interferes with SITL lockstep.
Therefore, the least we can do is to warn a user and inform them how to
workaround the issue.
2019-11-06 12:30:30 -05:00
Daniel Agar
02271a471d
vscode extensions update cmake-tools (now from microsoft)
2019-11-05 21:13:36 -05:00
JaeyoungLim
b999581d2f
Rover: Handle velocity frames correctly for offboard velocity control
2019-11-05 16:29:04 -05:00
Daniel Agar
d263811eef
Jenkins move raspi and bebop builds to regular armhf toolchain
2019-11-05 15:56:24 -05:00
Daniel Agar
5ec74af421
ADIS IMU drivers cleanup and standardize main
2019-11-05 11:58:43 -05:00
Matthias Grob
1a79f75f94
Commander: start pulling arming related parts into separate folder
...
* PreFlightCheck: remove unused reportFailures flag
* Commander: pull all pre flight checks together on the PreFlightCheck class
* PreFlightCheck: separate checks into their own files
2019-11-05 11:25:59 -05:00
Peter van der Perk
08a27492b4
Introduced condition variable in ROS2 subscriber to solve 500ms latency spikes
2019-11-05 15:09:44 +00:00
Julian Oes
ef475fa9d8
mixer_module: fix poll error in SITL lockstep
...
This fixes the case where the mixer_module would subscribe and use its
own test_motor publication which was created only to make sure the
topic is advertised and subsequent updates will work properly.
This happened in SITL lockstep because the timestamp would be 0 at the
very beginning, and hence elapsed time would be 0 as well.
This lead to an actuator publication which would then get lockstep out
of sync causing poll errors on the Gazebo side.
2019-11-05 09:33:14 -05:00
Matthias Grob
b6de83117e
PositionControl: fix attitude setpoint timestamp
...
The plot of the attitude setpoint in the log did not show any values
because the message timestamp that the position control module sets
was overwritten by the PositionControl attitude generation.
2019-11-05 13:05:16 +01:00
Matthias Grob
c6cc9f0902
mc_pos_control: fix cutting thrust when landed
...
by applying it directly to the attitude setpoint which is the output of
the position controller.
The problem was that before the input to the attitude setpoint generation
was adjusted to generate a level attitude with zero thrust keeping the
heading. I refactored the PositionControl class in #13262 to directly
generate the attitude setpoint output. So here I'm adjusting the attitude
setpoint to do the exact same thing as before but without interleaving
with the PositionControl logic.
2019-11-05 13:05:16 +01:00
Beat Küng
a203475489
BlockingList: fix unsafe getLockGuard() API
...
getLockGuard relies on copy elision to work correctly, which the compiler
is not required to do (only with C++17).
If no copy elision happens, the mutex ends up being unlocked twice, and the
CS is executed with the mutex unlocked.
The patch also ensures that the same pattern cannot be used again.
2019-11-05 12:14:20 +01:00
Julian Oes
4ff4f5c77f
commander: fix capitalization of mavlink messages
2019-11-05 10:40:30 +01:00