Hamish Willee
4ade24869f
parameters: move XML injection to the group level ( #15403 )
...
So that they are also in the markdown and json output.
2020-07-24 13:45:53 +02:00
Matthias Grob
400d97e60c
math: add unit tests for everything in Functions.hpp
2020-07-24 11:31:15 +02:00
Matthias Grob
0b391fdcfc
mc_att_control: add gradual3 function to cover hover thrust rescaling
2020-07-24 11:31:15 +02:00
Daniel Agar
aa7735c1c0
pwm_out: limit actuator control callbacks to primary groups
...
- add backup schedule at minimum PWM rate
- fixes #15043
2020-07-23 09:45:04 -04:00
Daniel Agar
0586079a84
mixer_module: add subscription option to limit additional actuator_control callbacks
...
- optionally only register callbacks for primary control groups (if used)
2020-07-23 09:45:04 -04:00
Daniel Agar
9426c68a13
cmake: only allow gold linker for posix builds
...
- the gold linker doesn't currently work for NuttX builds
- NuttX skip --print-memory-usage if using the GOLD linker
- fixes #15400
2020-07-23 09:41:35 -04:00
Mirko Denecke
7ac66bae4f
hex io firmware remove double definition of GPIO_HEATER_OFF
2020-07-23 09:41:05 -04:00
Mirko Denecke
b7389119b3
px4 io firmware remove double definition of GPIO_HEATER_OFF
2020-07-23 09:41:05 -04:00
Julian Oes
26021b01cb
Tools: abort SITL start if gzserver fails
...
Sometimes gzserver seems to not start or not start fast enough. In this
case, instead of stalling forever, it would be nice to abort.
2020-07-23 07:42:09 +02:00
Mirko Denecke
01e9599e93
HEX Cube Yellow: enable platform-specific IO firmware with inverted heater pin.
2020-07-22 10:50:47 -04:00
Mirko Denecke
44e2c326e0
HEX Cube Orange: enable platform-specific IO firmware with inverted heater pin.
2020-07-22 10:50:47 -04:00
Mirko Denecke
57968c6e27
Add platform-specific IO firmware for HEX autopilots.
2020-07-22 10:50:47 -04:00
Mirko Denecke
2581badabd
Add ifdef to invert heater pin for px4 IO firmware.
2020-07-22 10:50:47 -04:00
xdwgood
f014d0de8e
Correctly set the FW_ARSP_MODE parameter value
2020-07-22 10:43:46 -04:00
Lorenz Meier
3b1be7dcd3
Revert "mavlink: GLOBAL_POSITION_INT send without lat/lon availability"
...
This reverts commit ad14796b5f .
2020-07-22 10:34:18 -04:00
Daniel Agar
e4f65f81f7
vtol_att_control: limit excessive scheduling
...
- this is to prevent vtol_att_control running at absurdly high rates (kilohertz) from every single actuator controls publication from both the multicopter and fixed wing controllers
- I don't really like this solution, but it works for now until there are larger VTOL architectural changes in place
2020-07-21 11:40:04 -04:00
Matthias Grob
5c5005fa58
ROMFS: remove remaining RC_FLT_CUTOFF
...
The parameter was removed in #14896 and I forgot to remove it from
all the configurations.
2020-07-21 11:28:18 -04:00
Matthias Grob
aad7e88af2
setup scripts: install dmidecode before using it
...
On normal desktop distributions dmidecode is preinstalled
and I was assuming it's part of the core tools. Thanks to a hint
https://github.com/PX4/Firmware/pull/15241#issuecomment-659395458
I found out it's not and am installing the package before using it.
2020-07-21 10:22:52 -04:00
Daniel Agar
b8b19f6166
cdev: posix remove std::map usage
...
- this is to make things a little easier for platforms like QuRT (voxl snapdragon) where there are libstdc++ complications
2020-07-21 10:17:55 -04:00
Daniel Agar
81f57bccb6
px4io: servorail_status -> px4io_status and log all flags
2020-07-21 09:56:13 -04:00
Julian Oes
962b865301
Makefile: fix mavsdk_tests invocation
...
The config file was missing and a speed factor of 20 is much more
realistic.
2020-07-21 13:52:47 +02:00
Matthias Grob
9ba2539e60
FlightTaskOrbit: reset approach if radius gets changed
2020-07-21 10:27:05 +02:00
Matthias Grob
e9498064ef
StraightLine: allow resetting reached flag
2020-07-21 10:27:05 +02:00
Matthias Grob
5823101f07
FlightTaskOrbit: reset reached when new parameters are set
...
such that they get applied to the straight line trajectory class
and the drone starts approaching the new orbit.
2020-07-21 10:27:05 +02:00
Matthias Grob
8e4509c0a9
FlightTaskOrbit: simplify tangential yaw_setpoint and pi wrap
2020-07-21 09:44:21 +02:00
Matthias Grob
4d0aadbcd0
FlightTaskOrbit: set initial heading for every new command
2020-07-21 09:44:21 +02:00
Matthias Grob
abf6f4fa0a
FlightTaskOrbit: move start_to_circle to more local scope & const reference parameters
2020-07-21 09:44:21 +02:00
Matthias Grob
b8b46f8493
FlightTaskOrbit: use yaw setpoint from Altitude task with RC yaw mode
2020-07-21 09:44:21 +02:00
Matthias Grob
1b7349339e
FlightTaskOrbit: move line break causing comments before
2020-07-21 09:44:21 +02:00
xdwgood
7ecccf01c2
tailsitter.cpp:ensure input quaternions are exactly normalized
2020-07-21 08:21:41 +02:00
Daniel Agar
730af406a6
ROMFS: remove unnecessary parameter zero padding
2020-07-21 08:11:22 +02:00
Jan-Hendrik Ewers
0b50f85096
Update gazebo_sitl_multiple_run.sh ( #15382 )
...
If `make px4_sitl_default` is run, and not `make px4_sitl_default gazebo` then each model instance will throw the following errors:
```
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_gps_plugin.so: libgazebo_gps_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_multirotor_base_plugin.so: libgazebo_multirotor_base_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_groundtruth_plugin.so: libgazebo_groundtruth_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_magnetometer_plugin.so: libgazebo_magnetometer_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_barometer_plugin.so: libgazebo_barometer_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_mavlink_interface.so: libgazebo_mavlink_interface.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_imu_plugin.so: libgazebo_imu_plugin.so: cannot open shared object file: No such file or directory
```
2020-07-21 09:36:15 +09:00
Daniel Agar
2adc23fd97
sensors/vehicle_imu: initially schedule conservatively
...
- this lowers the load immediately at boot while still allowing each VehicleIMU instance to properly measure the actual accel/gyro data rates
- for lockstep builds this is ignored and VehicleIMU initially runs with every new sensor_accel/sensor_gyro publication
2020-07-20 10:05:11 -04:00
Matthias Grob
ed7732eaec
rc_loss_alarm: remove unimplemented declaration
2020-07-20 09:36:47 -04:00
Matthias Grob
987826f1d4
mixer_module/tap_esc: fix usage of constrain() on input
...
I changed the input constraint in #15349 but screwed up the usage
because I was convinced it's püass by reference. I'll double check
for sure next time.
2020-07-20 09:23:42 +02:00
PX4 BuildBot
650b601206
Update submodule matrix to latest Sun Jul 19 12:40:00 UTC 2020
...
- matrix in PX4/Firmware (20d5e7acd6d7be141de802ad155592e7be4c9f77): https://github.com/PX4/Matrix/commit/9a30828a0a1d79e87fd09653bb9f936d7ca0ba17
- matrix current upstream: https://github.com/PX4/Matrix/commit/0fd99c59f1740a7aa2ead03168705b4211bf29e8
- Changes: https://github.com/PX4/Matrix/compare/9a30828a0a1d79e87fd09653bb9f936d7ca0ba17...0fd99c59f1740a7aa2ead03168705b4211bf29e8
0fd99c5 2020-07-14 Matthias Grob - Switch operator() to return a const reference
8a59b46 2020-07-17 kamilritz - Quaternion: Use template type instead of single hardcoded type
2020-07-19 12:25:55 -04:00
Daniel Agar
459abcd035
uORB: print individual bits of fields
...
- applies to messages with names containing "flags" or "bits" and unsigned fixed width integer type (uint8, uint16, uint32)
2020-07-19 12:25:15 -04:00
rolandash
b8f3b97bad
Enable PMW3901 on MindPX/MindRacer. ( #15375 )
...
* enable pmw3901 on MindPX/MindRacer.
* remove useless line.
2020-07-19 16:09:57 +01:00
PX4 BuildBot
11614f789d
Update submodule sitl_gazebo to latest Sun Jul 19 12:39:36 UTC 2020
...
- sitl_gazebo in PX4/Firmware (f4d7052bec ): https://github.com/PX4/sitl_gazebo/commit/629e5f5c239d88421edab12b4a7e2e3c3ea7e8fc
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/ce1eca2bd0bedf9305d09b622454fa21962d50ba
- Changes: https://github.com/PX4/sitl_gazebo/compare/629e5f5c239d88421edab12b4a7e2e3c3ea7e8fc...ce1eca2bd0bedf9305d09b622454fa21962d50ba
ce1eca2 2020-07-19 Daniel Leonard Robinson - New vehicle type: Airship (#490 )
df186d2 2020-07-18 TSC21 - use 'EnableC++XX' and remove duplicated compiler sets
60e5d4e 2020-07-18 TSC21 - remove the check for the 'px4' binary (it's never found since it's built in parallel with sitl_gazebo)
a3b5c5e 2020-07-19 JaeyoungLim - Fix moment calculation (#545 )
07820ee 2020-07-19 JaeyoungLim - Fix gimbal imu sensors intefering with each other (#549 )
2020-07-19 15:46:53 +01:00
PX4 BuildBot
fb2ebc9379
Update submodule nuttx to latest Sun Jul 19 12:39:45 UTC 2020
...
- nuttx in PX4/Firmware (2624730b02 ): https://github.com/PX4/NuttX/commit/61742342ec979867dbe4b85c89a6821656090ee2
- nuttx current upstream: https://github.com/PX4/NuttX/commit/dc10293feb724d50f6a0a64a068b47cb8cdae631
- Changes: https://github.com/PX4/NuttX/compare/61742342ec979867dbe4b85c89a6821656090ee2...dc10293feb724d50f6a0a64a068b47cb8cdae631
dc10293feb 2020-05-25 Claudio Micheli - [BACKPORT] stm32l4: extend CAN ioctrl with NART/ABOM. Add RTR to CAN header
5735f765e2 2020-05-25 Claudio Micheli - [BACKPORT] stm32: extend CAN ioctrl with NART/ABOM. Add RTR to CAN header
4dc9ae05f5 2020-05-25 Claudio Micheli - [BACKPORT] stm32f7: Add the option to include RTR in CAN header
bdd9e786e1 2020-04-21 Beat Küng - [BACKPORT] stm32f7: add CANIOC_SET_NART and CANIOC_SET_ABOM ioctl's to can driver
2020-07-19 06:47:11 -07:00
Nuno Marques
f4d7052bec
Update submodule mavlink v2.0 to latest Sat Jul 18 12:39:32 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (b54dea0ccd ): https://github.com/mavlink/c_library_v2/commit/f608801c1bdfbc1ddf71a243444d27dd7b45f8c6
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/f90ef7c95aeaf953f7b0f6766929fa56d37e6ec7
- Changes: https://github.com/mavlink/c_library_v2/compare/f608801c1bdfbc1ddf71a243444d27dd7b45f8c6...f90ef7c95aeaf953f7b0f6766929fa56d37e6ec7
2020-07-18 14:29:02 -04:00
Daniel Agar
3dd7d0c292
boards: fmu-v5 debug variant disable unnecessary modules to save flash
...
- partially sync with fmu-v5 stackcheck build
2020-07-18 13:41:26 -04:00
Daniel Agar
b54dea0ccd
wq:attitude_ctrl: small stack increase to silence warning
2020-07-17 19:51:48 -04:00
Daniel Agar
42493b3d59
logger: add full commander and safety logging by default
...
- increase battery_status rate to be useful
2020-07-17 17:27:15 -04:00
Daniel Agar
94a5a97dcc
drivers/safety_button: only publish safety at 1 Hz or immeidately on change
2020-07-17 17:27:15 -04:00
Daniel Agar
c6aafed9d0
px4io: only publish safety at 1 Hz or immeidately on change
2020-07-17 17:27:15 -04:00
Daniel Agar
bdb4251fa4
fw_pos_control_l1: if using air data (baro) copy every cycle
...
- vehicle_air_data won't necessary have an update every iteration and these adjusted throttle values aren't stored
- this only would have worked in the past because the vast majority of systems were using the ms5611 barometer with a publication rate that's faster than the controller
2020-07-17 17:14:45 -04:00
Daniel Agar
e3d31a881e
boards: NuttX disable posix message queues
2020-07-17 17:00:21 -04:00
Julian Oes
9723b26d72
workflows: OSX.sh is now called macos.sh
2020-07-17 14:58:31 -04:00
Julian Oes
7c49afa716
setup: only install homebrew if not already there
2020-07-17 14:58:31 -04:00