Commit Graph

328 Commits

Author SHA1 Message Date
Lorenz Meier 803880a9f8 MAVLink: Fix current reporting 2016-04-23 14:24:36 +02:00
Lorenz Meier ff800a4c97 MAVLink app: Save stack for file name handliling, log only when armed 2016-04-22 10:28:13 +02:00
Lorenz Meier b046f93173 Better MAVLink app error reporting 2016-04-22 09:34:02 +02:00
Lorenz Meier cdeb7df43c MAVLink: More robust string operations 2016-04-17 20:03:48 +02:00
Lorenz Meier a663aa68af Send out ADS-B reports to GCS 2016-04-17 18:19:32 +02:00
Daniel Agar 56dbfef378 remove duplicate bat_msg.id 2016-04-11 18:01:48 +02:00
Daniel Agar c494e85095 fix sign compare to make travis-ci happy 2016-04-11 18:01:48 +02:00
Julian Oes a11a986df8 mavlink: removed leftover debug printf 2016-04-11 18:01:48 +02:00
Julian Oes 1f44fb1efd commander: internalize system status bools
Most condition bools in the commander are not used anywhere but in the
commander. It therefore makes sense to move them to a different internal
struct and remove them from the vehicle_status message.

Also, the land_detected should be used by all the modules instead of
getting it through the commander and system_status.
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 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
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
Lorenz Meier 391f366a03 MAVLink app: formatting 2016-03-24 14:21:49 +01:00
Julian Oes d3f710dbb5 mavlink: don't use the file logging on Snapdragon 2016-03-24 13:10:02 +01:00
Julian Oes de0e467150 mavlink: bring buffering for log messages back 2016-03-24 13:10:02 +01:00
Julian Oes aecdd4e32f mavlink: add logging of mavlink messages back
The logging into a text file was commented out in the recent changes but
is added back in with this commit.
2016-03-24 13:10:02 +01: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
Lorenz Meier 1fdf252e96 Remove duplicate LAND mode, clean up mode reporting across the board to ensure consistency 2016-03-13 15:39:35 +01:00
Lorenz Meier a516450868 MAVLink: Send vibration status message 2016-02-25 15:57:53 +01:00
Lorenz Meier cd583e054e MAVLink app: Use HDOP / PDOP 2016-02-25 13:45:34 +01:00
Lorenz Meier bafa9bb6bb MAVLink: Fall back in altitude indication to baro if estimate is not available 2016-01-17 16:30:02 +01:00
Lorenz Meier 5227dbe26a MAVLink: Send RC_CHANNELS_OVERRIDE 2016-01-04 12:35:23 +01:00
Lorenz Meier 948d9ee71e Report acceleration 2015-12-18 15:55:16 +00:00
Lorenz Meier 9714af3a8b Fix usage of PWM defines in mavlink app 2015-12-16 16:38:15 +00:00
Daniel Agar c0070a19a8 VFR_HUD should be indicated airspeed 2015-12-11 10:01:44 +01:00
edkoch 0a56ba8873 Added new telemetry stream to display vision pose updates 2015-12-09 20:34:43 +01:00
Lorenz Meier 4a1dd4f047 Merge pull request #3234 from UAVenture/altitude_message
WIP: Altitude message
2015-12-06 14:10:31 +01:00
Andreas Antener 2ceaab138f added timestamp for altitude message 2015-11-24 14:04:33 +01:00
Andreas Antener f5a844d4aa added field for pressure altitude to global position 2015-11-24 14:03:54 +01:00
Andreas Antener 8ddc7a27c7 implemented altitude message draft 2015-11-24 14:03:54 +01:00
Lorenz Meier ff77884c2c MAVLink app: Zero-initialize whole struct 2015-11-22 14:00:01 +01:00
Lorenz Meier 7579d7e901 Report takeoff state correctly 2015-11-21 22:39:38 +01:00
jgoppert 0106be3e89 Added local position estimator. 2015-10-24 20:34:33 +02:00
Lorenz Meier dda740b709 MAVLink app: Ensure to report battery status correctly according to MAVLink standards 2015-10-11 11:35:46 +02:00
Andreas Antener 46d093c060 implemented extended system state message 2015-10-07 11:51:35 +02:00
Lorenz Meier afb68cb0ab MAVLink: Switch to HOME_POSITION message 2015-09-27 18:06:53 +02:00
Lorenz Meier d532e372ac Merge branch 'master' into ekf_voting 2015-09-05 17:41:21 +02:00
Lorenz Meier f2a780dffd Manual control: Add switches 2015-09-04 14:57:51 +02:00
Lorenz Meier caacb4f777 MAVLink: Update to new sensors combined topic 2015-08-30 11:37:27 +02:00
Andreas Antener 9aca1701f4 code-style fixes 2015-08-18 11:44:01 +02:00
Andreas Antener 8fc52fea22 added vtol state to list of streams 2015-08-18 11:44:01 +02:00
Andreas Antener ea56edca22 implemented vtol state message 2015-08-18 11:44:01 +02:00
Lorenz Meier f105d65ab1 MAVLink: Only send trigger message when updated 2015-08-08 14:14:14 +02:00
Lorenz Meier bfa6c79cb5 MAVLink app: Fix camera trigger messaging 2015-08-08 11:44:04 +02:00
Andreas Antener 863fdccf92 fix current scaling for mavlink message 2015-08-04 11:59:12 +02:00
Lorenz Meier c020c6ed9d MAVLink: Fix name of RC channel to correct message name 2015-07-17 09:12:11 +02:00
Lorenz Meier d1f8edb346 Merged beta into master 2015-07-04 23:02:47 +02:00
Lorenz Meier a74cc5bf49 MAVLink app: Fix scaling of battery current 2015-07-04 19:07:08 +02:00
Lorenz Meier 30ac7a59c8 Merge pull request #2207 from mhkabir/cam_trig_new
Camera trigger WIP
2015-07-04 18:38:05 +02:00
Lorenz Meier bc5cf50f1a Merge pull request #2361 from TSC21/mocap_support_restruct
MOCAP support on firmware [new PR]
2015-07-01 14:52:32 +02:00