582 Commits

Author SHA1 Message Date
Lorenz Meier
4de6012f12 Commander: Only indicate green led if home position is valid 2015-10-07 15:13:13 +02:00
Lorenz Meier
c414c7ef63 Always set RC in mode 2015-10-06 11:48:35 +02:00
Lorenz Meier
aa40f1fd97 Commander: More detailed status 2015-09-27 18:57:51 +02:00
Lorenz Meier
996a6ee437 Commander: Do not lock in user on a single boot assignment failure 2015-09-23 18:36:29 +02:00
Lorenz Meier
6ef94e0dfb Merged master into cmake-2 2015-09-20 10:33:39 +02:00
Lorenz Meier
12a1ffd27b Commander: POSIX adjustments 2015-09-11 21:48:36 +02:00
Lorenz Meier
d532e372ac Merge branch 'master' into ekf_voting 2015-09-05 17:41:21 +02:00
Lorenz Meier
be92c1189b Fix handling of RC mode selection 2015-09-04 19:57:44 +02:00
Lorenz Meier
d93337017d Commander: Do not emit status message if RC becomes available first time 2015-09-04 14:57:51 +02:00
Lorenz Meier
1cdcf8b5dd Commander: Update to new sensors combined topic 2015-08-30 11:37:27 +02:00
Lorenz Meier
9ef9185d1d Commander: Fix commandline handling 2015-08-26 16:17:07 +02:00
Mark Charlebois
3a47434749 Fixes for qurt HIL build
Workaround required Eigen downgrade to 3.2. Hexagon toolchain does
not support C++11 features of newest version of Eigen.

Running make qurt_fixup will downgrade and patch Eigen for qurt.
Running make restore will revert the patch and do a git submodule update
to restore the expected Eigen version.

Added a "restore" target to undo qurt_fixup

Before doing a qurt build run:

    make qurt_fixup

That will downgrade Eigen to 3.2 and apply the require patch.
To build another target after downgrading:

    make restore

Them make the desired target (other than qurt).

Fixed type used in orb_priority to be consistent with the code
(int* was used in declaration but int32_t* used in code)

Removed unused class member variable in sensors.cpp

Added cmake fix for unit tests. The location of px4_log.c changed.

Fixed the qurt drv_hrt.c implementation to use us instead of ms for time resolution

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with
duplicate files. It was moved out of common because it is not used by qurt.

Changed PX4_DEBUG to PX4_WARN when checking for the error condition for store_poll_waiter in vdev.cpp

Updated the px4_log.h file to make calls to the qurt_log functions.
The qurt_log function is defined in the platforms/qurt layer.

Added an option to control starting the commander module in HIL mode.

Moved the flight specific drivers to the configuration file instead of adding them
to the common tool chain file because HIL mode does not need them.

Added the uorb Subscriber and Publisher classes

Call PX4_ISFINITE macro instead of isfinite().

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with duplicate files.
It was moved out of common because it is not used by qurt.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-25 21:59:01 -07:00
Simon Wilks
2c69d2d5d6 Make sure we allow multirotor attitude control for VTOLs when transitioning from FW to MC mode. 2015-08-23 21:00:01 +02:00
Andreas Antener
5536360c49 use vehicle_status instead of vtol_status 2015-08-23 20:02:39 +02:00
Andreas Antener
f93e600b8c consider transition state in posctl 2015-08-23 20:02:39 +02:00
Lorenz Meier
d8690d7de3 commander: Adjust to uORB mission changes 2015-08-20 11:07:26 +02:00
Andreas Antener
1da703a13d implemented MAVLink command for VTOL transitions, pulled switch up for each type 2015-08-18 11:44:01 +02:00
Lorenz Meier
133f5a38a9 Commander: Do not spam console when not connected 2015-08-13 23:27:16 +02:00
tumbili
04f55ce784 vtol fixes:
- mc pos control: publish attitude setpoint when vtol is in trans mode
- fw att control: do not publish attitude setpoint when in transition mode
- introduce flag in_transition_mode in vehicle status message for vtol
- improve tiltrotor code based on flight testing
2015-08-12 20:33:17 +02:00
Simon Wilks
c448f955e0 Position control needs to be deactivated during the transition otherwise it will fight itself. 2015-08-12 20:33:16 +02:00
Lorenz Meier
8cd6f3529c Merge pull request #2555 from PX4/uorb_msg
uORB message support
2015-08-12 17:31:44 +02:00
Lorenz Meier
ea2975c2a9 Merged beta into master 2015-08-11 11:03:01 +02:00
Lorenz Meier
134c1d991a Commander: Time out if not starting successfully 2015-08-11 09:24:13 +02:00
Lorenz Meier
3ff8afb6ba Commander update for telemetry status 2015-08-10 15:35:19 +02:00
Lorenz Meier
aa61d3b2d6 Merged beta into master 2015-08-08 11:33:42 +02:00
Lorenz Meier
0cae5f224c Commander: Trigger preflight check on every reconnect, but not when armed. Make RC regained and other messages non-critical. Implement param reset method. 2015-08-08 00:08:37 +02:00
Lorenz Meier
ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier
fb9dcfc4a1 commander: populate prearmed field 2015-07-22 17:16:34 +02:00
Lorenz Meier
7277d390c4 Merge branch 'beta' 2015-07-12 15:52:02 +02:00
Lorenz Meier
fc5b8ee12d Commander: Use new params for home set thresholds 2015-07-10 09:50:56 +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
95eaebb28d Merge branch 'release_v1.0.0' 2015-07-04 10:47:18 +02:00
Lorenz Meier
b27b864cf0 Commander: Only copy global position is valid. This is because the app assumed that it only gets published once valid. 2015-07-04 10:46:19 +02:00
Andreas Antener
88d200e3a4 set altitude control flag for velocity control 2015-07-03 14:36:55 +02:00
Mark Charlebois
28dd9759a6 POSIX: fixes for use of open vs px4_open, etc
Fixes for the posix build when virtual devices are used.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 23:51:12 +02:00
Lorenz Meier
454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier
82f3d4e877 commander: Fix mavlink output 2015-06-22 09:58:01 +02:00
Mohammed Kabir
6a818ae053 commander : ignore handling camera_trigger command 2015-06-16 15:47:55 +05:30
Lorenz Meier
b11e133318 Evaluate warning field from mission result 2015-06-15 17:28:05 +02:00
Lorenz Meier
a4b2389460 Commander: Support new mission status 2015-06-15 17:28:05 +02:00
Lorenz Meier
82352a64aa commander: Remove unused param handles 2015-06-14 19:36:29 +02:00
Lorenz Meier
b6d9a97aaa Merge pull request #2349 from PX4/auto_takeoff_fix
FW: Auto takeoff fix
2015-06-14 10:45:10 +02:00
Lorenz Meier
c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
Lorenz Meier
f9f34078d1 commander: Ensure RTL can be triggered in all modes 2015-06-13 00:16:25 +02:00
Lorenz Meier
3f77455dd8 commander: Condition HIL arming check properly 2015-06-12 15:58:21 +02:00
Lorenz Meier
f2b81ce69a commander: Only update home position if not armed already 2015-06-11 17:03:12 +02:00
Mark Whitehorn
7e48c66c22 add is_hil_setup() 2015-06-10 12:13:49 -06:00
Mark Whitehorn
71da3976ab add HIL autostart ID range macros and remove warnx 2015-06-10 12:13:49 -06:00
Mark Whitehorn
e224441ac1 special treatment and warning message for HIL platform arming 2015-06-10 12:13:49 -06:00
Lorenz Meier
900c81e67c commander: Compile fix for home init on arming via CMD 2015-06-08 17:18:25 +02:00