1775 Commits

Author SHA1 Message Date
Julian Oes
fe85841a1d commander: remove counter
The counter variable in system status wasn't used anywhere.
2016-04-11 18:01:47 +02:00
Julian Oes
32c3135788 commander: move battery calculations to systemlib
The commander used to consume the battery_status topic and write the
contents after some calculations into the system state. Instead, the
calculations now happen in library calls in systemlib/battery.

This moves the battery fields out of the vehicle_status message into the
battery_status topic.

This brought quite some changes in all modules that need battery
information. The current state is compiling but untested.
2016-04-11 18:01:47 +02:00
Julian Oes
699b08c9fd commander: move battery warning
The battery warning is not consumed anywhere, therefore scrap it from
the vehicle_status message.
2016-04-11 18:01:47 +02:00
Julian Oes
8e9e9f8a8b vehicle_status: move vtol_vehicle_status enum
It makes more sense to have the VTOL status in its own message.
2016-04-11 18:01:47 +02:00
Julian Oes
74072dbe74 vehicle_status.msg: delete unused mavlink stuff
The MAV_TYPE enum was not in sync with the mavlink specs anymore. It
makes therefore sense to remove the duplication and include the correct
mavlink header file where it is needed.
Also, error counts which are not populated, can be scrapped.
2016-04-11 18:01:47 +02:00
Julian Oes
5f3a23a253 commander: remove circuit breakers from status msg
Since the circuit breaker bools are not actually used anywhere else than
in the commander, it is safe to remove them and replace them with local
bools.
2016-04-11 18:01:47 +02:00
sander
a713fd4197 Implemented VTOL_TAKEOFF and VTOL_LAND commands 2016-04-02 21:29:25 +01:00
CarlOlsson
c821f41631 added msg 2016-03-30 17:33:37 +02:00
Jimmy Johnson
26cb645ee0 follow me working 2016-03-27 12:10:57 +02:00
Jimmy Johnson
01e971b342 Tests 2016-03-27 12:10:57 +02:00
Jimmy Johnson
0797c7fc21 velocity smoothing 2016-03-27 12:10:57 +02:00
Jimmy Johnson
69351675b6 follow target mode working 2016-03-27 12:10:57 +02:00
Jimmy Johnson
bbc8eaefd7 Adding new follow target navigation and main states. New follow target
topic added. New follow fsm added to the navigator
2016-03-27 12:10:57 +02:00
Julian Oes
2d4179a35b mavlink: refactor mavlink_log
This moves the mavlink_log interface from ioctl to uORB and enables the
mavlink statusmessage output for Snapdragon. The API changes will lead
to changes in all modules that are using it.
2016-03-24 13:09:16 +01:00
Julian Oes
1b5210ca13 sensors/calibration: use params in DF wrappers
Instead of using a uORB topic with the calibration values published in
sensors and consumed by the DriverFramework driver wrappers, let's just
use the the params directly. This is quite a rough change and needs
definitely some cleanup and refactoring.
2016-03-24 13:08:31 +01:00
Julian Oes
f24b2a701f sensors: first part of a calibration refactor
This adds uORB messages to publish calibration data by sensors which is
then consumed by the sensors. Currently this is only used on Snapdragon
and guarded by QURT ifdefs.
2016-03-24 13:08:30 +01:00
Andreas Antener
6782bdaf69 prevent alternate flight control group (1) throttle from being active when safety is disabled 2016-03-20 11:19:23 +01:00
Nicolas
6ac641956a added posix and qurt apps to enable remote execution of shell commands on qurt side from posix shell
commands are sent via muOrb to qurt, where they are executed and printed (i.e. visibile on mini-dm)
2016-03-18 17:23:51 +01:00
Lorenz Meier
cc5afdd6b5 Add field for desired cruising speed 2016-03-13 18:07:47 +01:00
Paul Riseborough
c0404e8460 msg: add missing GPS status data to ekf2 replay 2016-03-13 17:47:56 +01:00
Paul Riseborough
686b000503 msg: Add optical flow and range finder data to ekf2 replay 2016-03-13 17:47:56 +01:00
Paul Riseborough
c9954c8ddc msg: Add ekf2 height above ground fusion data 2016-03-13 17:47:56 +01:00
bugobliterator
01ee608117 sdlog: setup flow innovation logging 2016-03-13 17:47:56 +01:00
Lorenz Meier
f472ac577a Cleanup for manual control messages 2016-03-13 15:39:12 +01:00
Lorenz Meier
4e36973cee Manual control: Prep single channel flight mode selection 2016-03-05 20:41:02 +01:00
Lorenz Meier
c161248e71 Fix reposition vehicle command 2016-02-27 11:55:20 +01:00
tumbili
e0a489a749 added ekf2 replay message 2016-02-27 11:51:05 +01:00
Lorenz Meier
e9d778fd24 Vehicle command: Add reposition 2016-02-27 11:22:57 +01:00
Lorenz Meier
159da5442e Mag msg: Remove unused field 2016-02-26 09:24:00 +01:00
Lorenz Meier
29d417beb7 Messages: Add vibration levels and onboard / offboard sensors 2016-02-25 15:57:37 +01:00
Lorenz Meier
9b5c9b0c8a Add HDOP / VDOP fields 2016-02-25 13:45:34 +01:00
Angus Peart
6ac26c680d batt_smbus: read button status from the smart battery
This is a cherry-pick of commit 8bd17a4b0cd9c1432cb57a9a80a215692f532370
in 3drobotics/PX4Firmware-solo

Conflicts:
	src/drivers/batt_smbus/batt_smbus.cpp
	src/drivers/drv_irlock.h
	src/lib/ecl
2016-02-18 21:47:09 +01:00
Lorenz Meier
3f9fc625f9 Airspeed: Add confidence estimate 2016-02-18 18:48:50 +01:00
Andreas Antener
eb5b8a32ee transition alignment will force heading now and go to RTL if it cannot reach it in time, handle mission failure correctly, reset after mission update, issue message with actual problem 2016-02-15 23:29:38 +01:00
Roman
be0f680863 orb topic messages:
-added flag to enable weathervane yaw control for vtol
-added comment to keep virtual topics and original topic identical
2016-02-15 09:48:37 +01:00
sander
d5eae460c0 VTOL transition failsafe RTL 2016-02-10 16:30:57 +01:00
Andreas Antener
e60cd46ad0 removed duplicate and unused flag vtol_in_transition 2016-02-08 11:09:12 +01:00
Paul Riseborough
bfd182d12e msg: Add GPS check status to estimator_status uORB topic 2016-01-31 22:12:11 +01:00
Roman
67eed88767 added message for ekf2 innovations message 2016-01-22 14:24:36 +01:00
Lorenz Meier
85c49ff642 Commander: Do not save params on already saved param update 2016-01-22 11:33:40 +01:00
Mark Whitehorn
8cb472af31 add RC kill switch 2016-01-18 11:36:11 +01:00
Lorenz Meier
c0bc721778 Add missing define for DSM 2016-01-14 18:48:42 +01:00
Lorenz Meier
5bd4495a78 Added input_rc SUMD defines 2016-01-14 17:55:55 +01:00
Lorenz Meier
c7767dfe7e RC: Add constants for FMU input 2016-01-14 17:55:55 +01:00
Stefan
9197b85cfe Update rc_parameter_map.msg
spelling mistakes
2016-01-11 08:37:43 +01:00
Stefan
caf0121f95 Update manual_control_setpoint.msg
spelling mistakes
2016-01-11 08:37:43 +01:00
Stefan
fb702b7c48 Update input_rc.msg
spelling mistakes
2016-01-11 08:37:43 +01:00
Lorenz Meier
e1125ce9d3 Add digicam commands 2016-01-11 08:19:00 +01:00
Lorenz Meier
61ff954d26 uORB msg spec: Clarify local position yaw 2016-01-01 11:38:56 +01:00
Paul Riseborough
9264cec807 msg: Improve vehicle_gps_position documentation
Clean up formatting, improve consistency of descriptions and ensure units are defined.
2016-01-01 13:40:31 +11:00