632 Commits

Author SHA1 Message Date
James Goppert
6966331a88 Working on param xml gen. Haven't updated qurt config yet. 2015-09-10 17:44:27 -04:00
James Goppert
1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Mark Charlebois
6c28ef83bf Fixes for posix-arm toolchain file
Removed incorrect nuttx checks (there should be no nuttx dependency).
Removed unsupported ARM targets. The posix build has not been tested on
CortexM targets.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-04 16:21:19 -07:00
Mark Charlebois
bb281f03f3 Added DSPAL as a git submodule of PX4
The DSPAL headers are required to build for qurt. When we move to
a cmake build system, the DSPAL headers can be conditionally included.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-04 11:35:55 -07:00
Mark Charlebois
54bae34a2c Build fixes for qurt after rebase on PX4 master
Removed the re-definitions of the usage method in the posix/main.cpp file.
Added qurt_external_hook interface to call externally linked module.
Fixed code format to comply with PX4 style.
Added usage information to main app and handled cases for unknown arguments.
Fixed the orb_priority interface to use int32_t instead of int.
Fixes to get hil working with led changes.
Added the config_eagle_adsp.mk file and update the make files to to use new
include/lib paths

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-04 11:09:29 -07:00
Lorenz Meier
b2b7ed8dd5 Merge pull request #2785 from mcharleb/posix_daemon_mode
Add daemon mode to posix build
2015-08-31 17:49:59 +02:00
Daniel Agar
c708a6355e remove unused GIT_DESC 2015-08-29 19:50:47 -04:00
Daniel Agar
aa137f4e95 remove -Wlogical-op for Eigen 2015-08-29 19:43:10 -04:00
Daniel Agar
bb696b756b reduce make verbosity 2015-08-29 19:32:02 -04:00
Mark Charlebois
d94aa84657 Add daemon mode to posix build
In order to use upstart to run PX4 it needs to run in daemon mode.
Added ability to test if a task is running in order to gracefully
shut down muorb.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-28 16:06:36 -07: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
devbharat
20d71870ec Minor changes to get fixed wing control apps running for posix 2015-08-23 14:39:25 +02:00
Lorenz Meier
53d4c5473f Merge beta in master 2015-08-23 11:21:38 +02:00
Lorenz Meier
5c5ba1a85f Fix path for examples 2015-08-23 10:39:49 +02:00
Lorenz Meier
e8f4aa4de8 Include eigen dir as include dir 2015-08-19 20:33:36 +02:00
Simon Wilks
4eef65f313 Enable ms5611 driver and fix build errors. 2015-08-18 23:01:52 +02:00
Andrew Tridgell
210bb9e996 px4fmu-v2: added mpu9250 driver to the build 2015-08-17 09:17:14 +02:00
Lorenz Meier
5369d23bc6 POSIX: Bump toolchain version to C++11 2015-08-14 18:37:00 +01:00
Lorenz Meier
bfb7b28c88 Renamed hil to pwm_out_sim 2015-08-12 19:23:54 +02:00
Lorenz Meier
49a190b32a Renamed hil to pwm_out_sim 2015-08-12 19:23:43 +02:00
Lorenz Meier
464cc4e1b4 Renamed hil to pwm_out_sim 2015-08-12 19:23:36 +02:00
Lorenz Meier
27ed06f3e5 Renamed hil to pwm_out_sim 2015-08-12 19:23:29 +02:00
Mark Charlebois
41722c2b51 Added missing include path for qurt
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-11 12:17:28 -07:00
Lorenz Meier
9d9ebdd92f Move trigger to drivers in makefile 2015-08-08 11:34:00 +02:00
Lorenz Meier
aa61d3b2d6 Merged beta into master 2015-08-08 11:33:42 +02:00
Lorenz Meier
7d07fc98ba Fix boot script handling 2015-08-07 17:46:23 +02:00
Lorenz Meier
f4d5149a84 Fix airframe generation by adding missing slash (Windows) 2015-08-07 15:49:23 +02:00
luft27
6f57cb2ac0 fixed: path to init.d not ending with slash 2015-08-07 16:31:13 +03:00
Mark Charlebois
009f528266 Fixes for posix-arm and qurt builds
Ifdefed out deadcode in position_estimator_inav_main.c as the
deadcode does not compile for qurt.

Added fixes to get a successful build for posix-arm and qurt targets.
Removed CLOCK_REALTIME def from px4_time.h for qurt and removed unused
variables in att_est_q and mc_att_control.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-05 18:34:46 -07:00
Lorenz Meier
ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier
d26cb08b3b Firmware makefile: Generate autostart listing automatically 2015-07-31 12:10:56 +02:00
Mark Charlebois
b046caa97b QuRT: build configuration changes
Added DSPAL header paths to toolchain_hexagon.mk.

Made changes to build configuraion for QuRT to support HIL testing.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-30 16:48:10 -07:00
Lorenz Meier
07830ffaff Build system: Enable airframe XML generation and checking 2015-07-29 19:44:35 +02:00
Mark Charlebois
a96db1580f Platform cleanup - remove duplicate files
The POSIX and QURT platforms contain several duplicate files.
These files have been factored out into platforms/posix/work_queue.
The config files have been updated to include the
platforms/posix/work_queue module.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-28 20:08:50 -07: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
devbharat
68e3c477ed Tested mc_att_control_m and mc_pos_control_m in jmavsim.OK. 2015-07-16 18:00:22 +02:00
Lorenz Meier
5a2ed4a476 Remove unused estimator 2015-07-14 10:46:44 +02:00
Lorenz Meier
7277d390c4 Merge branch 'beta' 2015-07-12 15:52:02 +02:00
Lorenz Meier
396db730a6 FMUv1: Enable PX4 FLOW driver 2015-07-09 23:58:11 +02:00
Lorenz Meier
2314ebe4c2 POSIX Makefile: Fix CLANG 3.5 2015-07-05 16:16:09 +02:00
Lorenz Meier
01fc570351 POSIX: Fix build for non-trace builds 2015-07-05 14:01:17 +02:00
Lorenz Meier
a4a73ff53e POSIX: Be less verbose on CXX builds, add option to provide log verbosity level on commandline 2015-07-05 11:02:19 +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
ecaa25ba1a FMUv2: Retire attitude only EKF 2015-07-03 14:55:53 +02:00
Lorenz Meier
9451d22850 Aerocore: Retire attitude-only EKF 2015-07-03 14:54:25 +02:00
Mark Charlebois
31e4b4e17b SITL: fixed formatting of config_posix_sitl.mk
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 21:09:00 -07:00
Lorenz Meier
f411b7ed21 Merge branch 'getopt-cleanup-v2' 2015-07-02 00:26:57 +02:00
Lorenz Meier
13e585f9fb Merge pull request #2500 from mcharleb/systemcmds-tests-posix
Systemcmds tests posix
2015-07-01 23:25:54 +02:00