Commit Graph

307 Commits

Author SHA1 Message Date
mswingtra 68e726ce37 px4_param_def to QGC fix 2015-08-28 11:18:52 +02:00
Lorenz Meier 17287ddd2c POSIX: Fix start script path 2015-08-28 10:48:38 +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
Lorenz Meier 21d1b4ba2e Merged beta into master 2015-08-22 14:06:01 +02:00
Simon Wilks 4eef65f313 Enable ms5611 driver and fix build errors. 2015-08-18 23:01:52 +02:00
Andreas Antener 9ad5dfc928 moving astyle options into astyle options file, adding sublime settings for astyle formatter plugin 2015-08-18 11:40:01 +02:00
Pavel Kirienko 05b6a48d1b Merge branch 'beta' into beta_uavacan 2015-08-13 22:06:26 +03:00
Lorenz Meier ce90c40413 Merged beta to master 2015-08-07 14:41:19 +02:00
Lorenz Meier 08c1123c49 Airframes meta scanner: Do not require particular file ending 2015-08-07 14:40:18 +02:00
Lorenz Meier ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier 50a9e41dbd Fix RC out 2015-07-31 12:17:31 +02:00
Lorenz Meier fde0c65d77 Airframe generator: Also generate autostart listing 2015-07-31 12:10:31 +02:00
Lorenz Meier ac0e645ab6 XML out: Fix mapping of image file names 2015-07-31 11:28:10 +02:00
Lorenz Meier 844c37e7ea Remove static airframe xml file 2015-07-31 11:27:43 +02:00
Lorenz Meier a0b792792f Airframe config parser: Move to combined elif statement 2015-07-29 21:22:41 +02:00
Lorenz Meier 02c439c557 XML output: Inject image paths for GCS presentation 2015-07-29 19:43:37 +02:00
Lorenz Meier 315d2ef87c Add airframe main parser 2015-07-29 19:13:50 +02:00
Lorenz Meier 68aa8fed9e Add airframe config parser 2015-07-29 19:13:28 +02:00
Lorenz Meier 08c50cac5e Add airframe icons 2015-07-29 00:04:11 +02:00
Lorenz Meier 6dff0b5ebf Add airframe icons 2015-07-29 00:04:04 +02:00
Lorenz Meier d6290d8f5d Airframe Configs: Add version field 2015-07-28 23:59:06 +02:00
Lorenz Meier 040787297b Airframe Configs: Add version field 2015-07-28 23:58:50 +02:00
Lorenz Meier 4471b18117 Build system: Add support for airframes config file 2015-07-28 23:57:51 +02:00
Lorenz Meier 455c449a02 Build system: Add support for airframes config file 2015-07-28 23:45:30 +02:00
Don Gagne 55ce4d7b91 Check for duplicates 2015-07-22 09:59:23 -07:00
Don Gagne ad7612220d Validate meta data 2015-07-22 09:01:31 -07:00
Lorenz Meier 1ecbb73394 Merge branch 'beta' 2015-07-12 20:13:20 +02:00
Lorenz Meier 9efc37a3ad Fix topic generation logic for different board targets 2015-07-12 20:13:05 +02:00
Lorenz Meier 3873fe1c00 Merge branch 'beta' 2015-07-12 17:23:20 +02:00
Lorenz Meier 3c3abc078f Topic generation: Fix compile error 2015-07-12 17:23:11 +02:00
Lorenz Meier 2909793094 Merge branch 'beta' 2015-07-12 17:13:46 +02:00
Lorenz Meier 17471eab65 Topic generation: Accept non-existing output directory 2015-07-12 17:13:31 +02:00
Lorenz Meier 7277d390c4 Merge branch 'beta' 2015-07-12 15:52:02 +02:00
Lorenz Meier 9b6259c64f Header generator: Only get active for no output files or when output older than input 2015-07-12 15:51:20 +02:00
David Sidrane 67f1fbf844 Need recusive submodule checkout 2015-07-09 11:34:18 -10:00
Lorenz Meier 936749632b POSIX: Add GDB init 2015-07-05 15:08:40 +02:00
Lorenz Meier 52687cb8e1 Rename make sitlrun to make sitl_quad 2015-07-04 07:25:08 -07:00
Lorenz Meier 39fd3c1d4f Update vehicle config mixer URLs 2015-07-02 22:29:19 +02:00
Lorenz Meier 10eb5de5ce Add vehicle config list for downstream config tools 2015-07-02 22:23:23 +02:00
Mark Charlebois 851a020461 Eagle: posix-arm and qurt changes to support Eagle HW platform
The Eagle HW platform contains both a Krait (ARMv4hf compatible) cpu
cluster and a Hexagon DSP running QuRT.

These changes support the PX4 build for Eagle.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 09:48:50 -07: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
Lorenz Meier e28e4cb84c Matlab mag: Update to real scaling, resulting fits confirm results 2015-06-25 14:44:23 +02:00
Lorenz Meier a4a6e69521 Matlab tools: Add ellipsoid fit 2015-06-25 14:44:23 +02:00
Lorenz Meier baca229b95 Tools: Add Matlab script to plot mag data 2015-06-25 14:44:23 +02:00
Mark Charlebois 834e3c0587 SITL: updated README and rc.S
Changed rc.S to rcS.

Updated README.md to explain the require directory structure and
where to run mainapp from for SITL to work correctly.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 15:48:12 -07:00
Mark Charlebois 729653ba71 SITL: changed posix_default to posix_sitl
The SITL build is now the default posix build.

The linker script for posix was moved to makefiles/posix.
The rc.S file was moved to posix-configs/SITL/init/
The POSIXTEST board definition is now SITL

To run the SITL test run:

make sitlrun

This replaces the make posixrun target.

The build directory is now Build/posix_sitl.build/

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 09:51:07 -07:00
Mark Charlebois c9be962f4c POSIX: Modified posix_run.sh to create rootfs dirs
The default rootfs is now in:

Build/posix_default.build/rootfs/

The subdirs fs/microsd and eeprom are now created if they do not exist.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 21:44:21 -07:00
Mark Charlebois 0c43803ec7 POSIX: Fixed syntax error in posix_apps.py
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 21:03:45 -07:00
Mark Charlebois aaac4708a5 Merge branch 'bringup-m1' of https://github.com/mcharleb/Firmware into bringup-m2
Conflicts:
	Tools/posix_apps.py

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 20:38:47 -07:00