Julian Oes
ea35923d3a
navigator: bugfix to prevent NaN setpoints
...
The asinf function is NaN outside of -1 to 1. Therefore, it probably
makes sense to constrain the input to prevent NaN setpoints further down
the line.
2019-10-09 08:36:34 -06:00
Matthias Grob
ca711fecc7
Commander: improve message for RC override event
2019-10-09 15:34:46 +02:00
mcsauder
f9a5c91f8c
Deprecate vehicle_attitude_sub from MulticopterLandDetector as it is no longer utilized.
2019-10-09 09:48:17 +02:00
Lasse
5ac0a3043b
Clarify Documentation of THR_MDL_FAC
...
The documentation of the thrust model parameter `THR_MDL_FAC` did not
mention both thrust and "PWM" being relative values. Also the use of the
term PWM could be misleading, since the model is applicable to CAN ESCs
as well.
This commit rephrases the user documentation string and a few source
code comments, but no logic changes are made.
Closes PX4/Firmware#13105
2019-10-09 08:06:51 +02:00
Matthias Grob
c1faea8d32
Commander: add const qualifiers for clarity
2019-10-09 08:03:07 +02:00
Matthias Grob
63f2c009c7
PreflightCheck: refactor failureDetectorCheck return value
2019-10-09 08:03:07 +02:00
Matthias Grob
8e0ee88e0a
PreflightCheck: add const qualifiers to parameters
...
to help readability
2019-10-09 08:03:07 +02:00
Matthias Grob
c570dc9315
PreflightCheck: remove goto from imu consistency check
2019-10-09 08:03:07 +02:00
mcsauder
6066300757
Set a default signal_quality value in the MavlinkReciever::handle_message_distance_sensor() method.
2019-10-08 21:19:47 +01:00
mcsauder
5ccba5541d
Added missing fields and a TODO with commented field to the MavlinkReciever::handle_message_distance_sensor().
2019-10-08 21:19:47 +01:00
dusan19
8c4d32ff4b
navigator: when setting pos_sp_triplet yaw, also set the yaw valid flag to true
2019-10-07 20:53:40 -04:00
Julian Oes
741f6787a7
mavlink: disable sending RC override
...
This was added to enable a Pixhawk to be used as an RC input for e.g.
SITL. As far as we're aware of that's not really used. However, sending
this can cause issues if multiple Pixhawks are in the same network.
Also, is uses up some of the MAVLink bandwidth.
Therefore, it's probably best to remove that feature for now.
2019-10-07 09:59:17 -04:00
TSC21
9a4a02a255
uorb_rtps_message_ids.yaml: fix typo
2019-10-07 12:58:15 +01:00
Julian Oes
5e663b9321
Remove eigen leftovers
...
It looks like we're not using Eigen for a while now.
2019-10-07 12:04:50 +02:00
BazookaJoe1900
02e861b16e
enable silent compare of parameter ( #12850 )
...
Remove false errors after comparing parameters that doesn't exists.
as described in #12832
2019-10-07 09:50:11 +02:00
Matthias Grob
05446c0875
ubuntu.sh: correct output during ccache installation ( #13106 )
2019-10-07 09:14:00 +02:00
Daniel Agar
941a3258b6
Update submodule mavlink v2.0 to latest Sun Oct 6 12:38:38 UTC 2019 ( #13100 )
...
- mavlink v2.0 in PX4/Firmware (91badceb27 ): d4a4a4314b
- mavlink v2.0 current upstream: 31cc5bb39e
- Changes: d4a4a4314b...31cc5bb39e
2019-10-06 10:41:21 -04:00
TSC21
91badceb27
Update submodule sitl_gazebo to latest Sun Oct 06 11:02:54 GMT 2019
2019-10-06 11:40:02 +01:00
Nuno Marques
5a8aa04970
CI: bump container tags to 2019-10-04 ( #13095 )
...
* bump container tags to 2019-10-04
* docker_run: update container name and tag
* generate_microRTPS_bridge.py: force FastRTPSGen to version 1.0 if the result of 'fastrtpsgen -version' command is not a number
* CI: temporarly disable avoidance and safe landing tests
* CI: try to revive tiltrotor test
2019-10-06 01:21:04 -04:00
Matthias Grob
c8f3f07ff7
matrix: pull explicit constructors
2019-10-05 11:46:07 -04:00
TSC21
474c406147
CI: microRTPS: deploy templates to px4_ros_com
2019-10-04 16:56:03 +01:00
TSC21
e7b0384f05
fix FastRTPSGen version verification
2019-10-04 16:56:03 +01:00
TSC21
9c00f3de02
microRTPS bridge: CMake: add verbosity regarding the FastRTPSGen version
2019-10-04 16:56:03 +01:00
TSC21
5c0f01a8b8
microRTPS bridge: try/catch FastRTPSGen errors
2019-10-04 16:56:03 +01:00
TSC21
2677e12024
microRTPS bridge: templates: Publisher.cpp.em: close 'if' statement
2019-10-04 16:56:03 +01:00
TSC21
8846092c59
readd console output removal
2019-10-04 16:56:03 +01:00
TSC21
1970ef875f
micrortps bridge: clean templates; add backwards compatibility; add ROS2 compatibility
2019-10-04 16:56:03 +01:00
TSC21
278d2fd21f
first push on supporting ROS2 Dashing and IDL 4.2
2019-10-04 16:56:03 +01:00
Daniel Agar
f885d2274a
Revert "vtol_att_control: update parameter strings to class enum"
...
This reverts commit 5351f886ec .
2019-10-03 11:28:51 -04:00
Daniel Agar
a5895e5a99
Revert "commander: update parameter strings to class enum"
...
This reverts commit c322f1d156 .
2019-10-03 11:28:44 -04:00
PX4 Build Bot
5f040fe24c
Update submodule ecl to latest Wed Oct 2 20:37:33 EDT 2019
...
- ecl in PX4/Firmware (4d0ac1a400cc007af392c99bbfa809d59d3e7ecd): b78429aa60
- ecl current upstream: f005e0ea8f
- Changes: b78429aa60...f005e0ea8f
f005e0e 2019-09-27 kamilritz - Remove deprecated ev_innov_gate param
2019-10-03 00:26:16 -04:00
PX4 Build Bot
cee8c31649
Update submodule matrix to latest Wed Oct 2 20:37:38 EDT 2019
...
- matrix in PX4/Firmware (cb369cb6a75cae71035d72a3bacecce3e109f971): c34e8dc98f
- matrix current upstream: 973999a4d3
- Changes: c34e8dc98f...973999a4d3
973999a 2019-09-23 Matthias Grob - Fix some template type conversions and style
2019-10-03 00:25:18 -04:00
Mark Sauder
3ce58f7102
sensors: organize vars in voted_sensors_update.h
2019-10-02 19:54:38 -04:00
Daniel Agar
e3bbac0447
land_detector: move to same WQ as estimator
...
- the primary data sources of the land detector run from the same WQ so
don't lose anything by serializing these modules
2019-10-02 19:44:46 -04:00
Daniel Agar
c639444ef9
intel aerofc-v1 disable sih module to save flash
2019-10-02 19:44:46 -04:00
Daniel Agar
315141873e
NuttX boards reduce CONFIG_MAX_TASKS 64 -> 32 (default)
2019-10-02 19:44:46 -04:00
Daniel Agar
7baf474940
mc_pos_control: move to WQ
2019-10-02 19:44:46 -04:00
Daniel Agar
3c623af903
ekf2: move to WQ with uORB callback scheduling
2019-10-02 19:44:46 -04:00
Daniel Agar
5351f886ec
vtol_att_control: update parameter strings to class enum
2019-10-02 19:43:32 -04:00
Daniel Agar
c322f1d156
commander: update parameter strings to class enum
2019-10-02 19:43:32 -04:00
Mark Sauder
508ffa1b39
land_detector: Remove recently added vehicle_attitude.timestamp check from MulticopterLandDetector::_get_maybe_landed_state(). ( #13072 )
...
PR #12681 added a check to the MulticopterLandDetector::_get_maybe_landed_state() method for a valid vehicle_attitude.timstamp value to finish work in PR #9756 . It was discovered that the addition of that check leaves it possible to fly in acro mode without a valid attitude and auto-disarm can engage, allowing the multicopter to fall out of the sky.
2019-10-02 16:31:06 -04:00
Daniel Agar
d537f3ec6b
vscode: restore editor.smoothScrolling to default
2019-10-02 16:24:53 -04:00
mcsauder
2644742b37
Deprecate RoverLandDetector virtual methods that are redundant.
2019-10-02 16:02:30 -04:00
Jacob Dahl
5842c0c2fb
UAVCAN: add battery support (uavcan::equipment::power::BatteryInfo)
2019-10-02 13:08:43 -04:00
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
2019-10-02 12:23:17 -04:00
garfieldG
cc1d86bc0b
@value will be printed with Whitespace in start of line for serial_config parameters
2019-10-02 10:34:10 +02:00
Daniel Agar
0fe271b7f5
CollisionPrevention add more distance_sensor orientations
2019-10-01 21:05:37 -04:00
Daniel Agar
5126e6ea61
cmake: use gold linker if available
2019-10-01 20:44:07 -04:00
Daniel Agar
3687677095
cmake: show sitl_gazebo build output and improve rebuild
2019-10-01 14:22:30 -04:00
Daniel Agar
27f459c14e
px4io: move to uORB::Publication<>
2019-10-01 12:24:27 -04:00