572 Commits

Author SHA1 Message Date
Philipp Oettershagen
da2fbf60b5 distance sensors: Improve variable naming / description 2018-07-16 21:59:04 +10:00
Philipp Oettershagen
35bde5c9fc LL40LS: Implement driver-specific filtering based on the datasheet and experiments 2018-07-16 21:59:04 +10:00
Beat Küng
43c2970fb9 vehicle_gps_position: add heading field 2018-07-16 12:18:37 +02:00
Beat Küng
5ae1c658a9 Revert "Add heading to true north to GPS report"
This reverts commit 89e49166fa97b6739f764788af4c463413526b6e.
2018-07-16 12:18:37 +02:00
Daniel Agar
50ae8c9c6f airspeed.msg update incorrect comments 2018-07-16 01:09:19 -04:00
Daniel Agar
3b580514ae delete unused airspeed.true_airspeed_unfiltered_m_s 2018-07-16 01:09:19 -04:00
Lorenz Meier
89e49166fa Add heading to true north to GPS report
This is used by multi-antenna RTK systems.
2018-07-15 20:34:31 +02:00
Daniel Agar
c199ca5193 msg generated print support boolean 2018-07-15 20:33:16 +02:00
Nuno Marques
83fd5a5fd1 Update micro-CDR to latest and fix API usage (#9651)
* uorb_microcdr: msg.cpp.template: update API for how the buffer length is obtained
* micrortps_bridge: CMakeLists: temporarily deactivate check endianness option
2018-07-12 18:04:15 -04:00
Martina
e7cf2c5675 remove unused trajectory_bezier message 2018-07-12 16:36:11 -04:00
Martina
00bc70a49c trajectory_waypoint: refactor to contain information about one of the 5
points of the trajectory
2018-07-12 16:36:11 -04:00
Martina
c15f2e45d6 add vehicle_trajectory_waypoint message 2018-07-12 16:36:11 -04:00
Martina
f3a7886fbf trajectory_bezier: remove yaw_speed define 2018-07-12 16:36:11 -04:00
Martina
c9fcc6b7d5 trajectory_waypoint: add comment to explain the use of the two topics
trajectory_waypoint and trajectory_waypoint_desired
2018-07-12 16:36:11 -04:00
Martina
35cf00dd5e trajectory message: change sp to wp 2018-07-12 16:36:11 -04:00
Martina
c84e651edd trajectory_waypoint: add defines for point size and number of points 2018-07-12 16:36:11 -04:00
Martina
6e7f1d249e bezier: fix index description 2018-07-12 16:36:11 -04:00
Martina
e59a29197e replace obstacle_avoidance message with trajectory_waypoint and trajectory_bezier 2018-07-12 16:36:11 -04:00
ChristophTobler
82e0547f6e add first draft of the avoidance msg 2018-07-12 16:36:11 -04:00
Thomas Stastny
8a7919bcb6 fw att+pos ctrl: use enum for flaps configs 2018-07-11 08:08:13 +02:00
Thomas Stastny
0c3399433d fw att+pos ctrl: add takeoff flaps setting 2018-07-11 08:08:13 +02:00
Alessandro Simovic
c0db004294 rc_loss_alarm: Added basic functionality 2018-07-05 14:17:55 +02:00
Philipp Oettershagen
7a82c777b2 LandDetector FW: Fix param min/max values and descriptions as well as some variable names which were wrong/outdated (#9708) 2018-06-20 16:13:33 -04:00
Paul Riseborough
4a0b41bbc0
ekf2: Enable use of flow sensors not fitted with gyros (#9703)
* ecl: Update to version allowing use of flow sensors without gyros

* msg: Update description for optical_flow

Adds advice for publishing gyro rate integral message when no rate gyro is fitted.
2018-06-20 10:28:58 +10:00
TSC21
518daa4a8d fastrtps: clean up and fix template for client/agent code 2018-06-11 22:54:58 +02:00
Daniel Agar
a6883c3a0d uORB generated header use full name in C define 2018-06-11 22:53:38 +02:00
Mohammed Kabir
8299f571c8 msg : add height limits to local position 2018-06-09 13:38:04 +02:00
Mohammed Kabir
230d6c5aa2 msg : add sensor limits to optical flow message 2018-06-09 13:38:04 +02:00
Paul Riseborough
e5d428bd65 msg: add definitions for estimator status control mode bit positions 2018-06-09 13:38:04 +02:00
Philipp Oettershagen
e4d863b95f Subsystem_info status flags & checks: Separate the functionality to a) set the health flags inside commander and b) to publish them from external modules 2018-06-06 18:54:24 +02:00
Philipp Oettershagen
075009be2f Subsystem_info status flags & checks: 1) Set health flags in commander directly instead of publishing via uORB 2) move publish_subsystem_info into lib/ folder" 2018-06-06 18:54:24 +02:00
Philipp Oettershagen
f5847a4a7b Subsystem_info status flags & checks: Switch back to uORB for inter-process communication, handle GPS checks completely inside ekf2, add distance_sensor checks 2018-06-06 18:54:24 +02:00
Philipp Oettershagen
6f1f414b49 Subsystem_info status flags & checks : Initial commit, updating the health flags in a centralized way mostly in commander and the votedSensorsUpdate function. 2018-06-06 18:54:24 +02:00
acfloria
d8cf012641 IridiumSBD: Add iridiumsbd_status uorb message 2018-05-27 12:11:35 -04:00
Florian Achermann
84578748f4 Navigator Mission RTL (#8749)
* Add return to land to mission

This method uses the planned mission for rtl. If a landing sequence
is present it will continue the mission and land. If not it will
fly back the mission and loiter/land at the home position.
2018-05-27 12:07:06 -04:00
Mohammed Kabir
8d6e209888 msg : add ping message 2018-05-15 18:57:34 +02:00
David Riseborough
a32333994f The single line UART setup was replaced with a locked down configuration.
As per issue #9428, this code change locks down the termios configuration
for the UART to non-canonical, binary tx/rx, 8 bits, 1 stop bit, no parity.
2018-05-11 17:11:40 +02:00
Daniel Agar
1b5396436e
Update submodule genmsg to latest Fri May 4 20:26:30 CDT 2018 (#9416)
- genmsg in PX4/Firmware (3ed093ba593601be8ab344d3d68633436c0f93d3): 3cea1fe528
    - genmsg current upstream: a189fc7855
    - Changes: 3cea1fe528...a189fc7855

    a189fc7 2018-05-01 Dirk Thomas - 0.5.11
c641725 2018-05-01 Dirk Thomas - update changelog
2018-05-05 16:48:09 -04:00
Mohammed Kabir
39bb65ffd7 mavlink : add advanced timesync algorithm 2018-05-03 09:59:16 +02:00
Daniel Agar
ea3acb7121 cmake remove circular linking and reorganize
- px4_add_module now requires MAIN
 - px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Daniel Agar
082126610d commander status flags delete condition_system_prearm_error_reported
- this flag often results in hiding useful information, or adding
   useless information to the mavlink console
2018-04-16 20:43:33 -04:00
Daniel Agar
2a58c7a28c EKF2 and replay add all consumed messages to ekf2_timestamps and refactor 2018-04-11 23:26:58 -04:00
Daniel Agar
3b5b12e1d1 move baro and magnetometer data out of sensor_combined 2018-04-11 23:26:58 -04:00
Daniel Agar
5dc23def2a move pressure altitude from baros to sensors module 2018-04-11 23:26:58 -04:00
acfloria
17a157b9da Adopt high latency switching to new MAV_CMD design 2018-04-11 15:15:28 +02:00
acfloria
78950f2b39 Fix format and remove ets driver from fmu-v2 build 2018-04-11 15:15:28 +02:00
acfloria
634697946a Add switch logic for high latency telemetry in commander
Switch to the high latency telemetry, if available, if every low latency link is lost. Switch back if any low latency link is regained. Only indicate that all links are lost if all high and low latency links are lost. Allow different timeouts for high and low latency links.
2018-04-11 15:15:28 +02:00
acfloria
631f314e89 En-/disable transmitting from a mavlink instance using a uORB message
Allow enabling/disabling transmitting data from all mavlink instances
with a specific mode/type. When disabled the instance can still receive
data. The uORB message used is the vehicle_command and uses the following
parameter:
param1: Specifies the mode/type of the instances to enable/disable transmitting
param2: Boolean to indicate if transmitting should be enabled or disabled
2018-04-11 15:15:28 +02:00
Matthias Grob
f135e6dda0 FlightTasks: switch field name from thr to thrust + some code spacing 2018-04-05 07:30:12 +02:00
Dennis Mannhart
85a263c7bd vehicle local position setpoint: use array for thrust setpoint 2018-04-05 07:30:12 +02:00