910 Commits

Author SHA1 Message Date
Lorenz Meier
7fb22e77f6 Remove old file 2015-08-26 15:54:02 +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
32b9354783 Accel calibration: Show better error message if cal fails 2015-07-31 15:36:13 +02:00
Don Gagne
f820e733cc Meta data fixes 2015-07-22 09:01:44 -07:00
Lorenz Meier
fb9dcfc4a1 commander: populate prearmed field 2015-07-22 17:16:34 +02:00
Lorenz Meier
0d90cf19dd Mag calibration: Reduce time required to complete calibration significantly 2015-07-20 10:45:15 +02:00
Lorenz Meier
6d096401b5 Commander: Turn calibration warnings into critical (voice) output 2015-07-20 10:44:09 +02:00
Lorenz Meier
006dfbb14f Commander: Speed up airspeed calibration 2015-07-20 10:43:12 +02:00
Lorenz Meier
0d37de005b Merged beta to master 2015-07-17 23:42:23 +02:00
Lorenz Meier
ec21a71b36 Commander: increase mag cal timeout 2015-07-17 23:41:00 +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
4465c029f5 commander: Add new params for home initialization. 2015-07-10 09:50:36 +02:00
Lorenz Meier
d1f8edb346 Merged beta into master 2015-07-04 23:02:47 +02:00
Lorenz Meier
6e0aa90bb8 Commander: Low-pass battery throttle to better match battery dynamics 2015-07-04 18:58:12 +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
Lorenz Meier
1da72df72d Merge pull request #2527 from UAVenture/mc_offboard_vel_ctrl
Set altitude control flag for velocity control
2015-07-04 08:22:53 +02:00
Lorenz Meier
234aeb642b Commander: Compile fix 2015-07-03 23:57:38 +02:00
Lorenz Meier
f8f412fc61 Commander: Compile fix 2015-07-03 23:50:47 +02:00
Lorenz Meier
9e223f0c26 Commander: Fix dynamic battery scaling, proposed by @orangelynx. Fixes #2523. 2015-07-03 23:19:04 +02:00
Lorenz Meier
e23459e850 Commander: Fix dynamic battery scaling, proposed by @orangelynx. Fixes #2523. 2015-07-03 23:17:50 +02:00
Andreas Antener
88d200e3a4 set altitude control flag for velocity control 2015-07-03 14:36:55 +02:00
Lorenz Meier
b0a0e60c5f POSIX: Workaround for broken px4_read interface to accel 2015-07-01 19:54:17 -07: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
509ec90b76 Merge pull request #2406 from mcharleb/logging-v3
Improved logging with both compile and runtime level filtering
2015-07-01 23:31:50 +02:00
Lorenz Meier
cc3b4b3c35 commander: Fix param meta data 2015-06-30 06:59:54 +02:00
Lorenz Meier
dfae432f1a commander: Fix mag cal printing 2015-06-27 11:55:02 -07:00
Lorenz Meier
4cf9976ad8 Merge branch 'master_release' of github.com:PX4/Firmware into master_release 2015-06-30 15:43:53 +02:00
Lorenz Meier
50ba1f7365 merged release_v1.0.0 into master 2015-06-30 15:30:45 +02:00
Lorenz Meier
93580da922 commander: Restructure ifdef logic for POSIX build to keep NuttX and POSIX implementations aligned 2015-06-29 16:24:34 +02:00
Lorenz Meier
a97931bf20 Update orb advert type in commander, by @boosfelm 2015-06-29 15:46:59 +02:00
Lorenz Meier
454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier
c402d0c2f7 Commander: updated mag calibration routine, matlab script updates 2015-06-25 14:44:24 +02:00