376 Commits

Author SHA1 Message Date
Mark Charlebois
6db77dc8bb Experimental virtual file support
QuRT does not have a filesystem, so creating a virtual filesystem
that could be implemented as an in-memory file or a remote file
over fastRPC.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 22:12:45 -07:00
Mark Charlebois
35e6822d95 Added missing px4_ prefixes
NuttX build required missing px4_ prefix for systemreset and task_spawn_cmd

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 16:25:45 -07:00
Mark Charlebois
db52227409 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07:00
Mark Charlebois
0c1c58c418 Fixed overzealous px4_ prefixing
Some files had px4_px4_ prefixed functions.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 15:32:04 -07:00
Mark Charlebois
eed2479dfc Added px4_ prefix to task_spawn_cmd
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 14:20:08 -07:00
Lorenz Meier
6c859245e2 Merge pull request #2013 from PX4/attitude_estimator_q
attitude_estimator_q added
2015-05-05 20:29:51 +02:00
Mark Charlebois
1a8bd15d98 Minor cleanup of mixer changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-03 11:20:07 -07:00
tumbili
8a873df9d0 ported mixer app 2015-05-03 17:30:31 +02:00
Mark Charlebois
190814bc97 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/drivers/rgbled/rgbled.cpp
	src/modules/commander/PreflightCheck.cpp
	src/modules/commander/airspeed_calibration.cpp
	src/modules/commander/calibration_routines.cpp
	src/modules/commander/gyro_calibration.cpp
	src/modules/commander/mag_calibration.cpp
	src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Mark Charlebois
5b91f172e3 topic_listener: moved generated file to Build dir
Moved the generated topic_listener.cpp to the Build tree so it is
cleaned when make clean is called.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-27 09:52:28 -07:00
Lorenz Meier
6755c0de01 param cmd: Show used and normal list indices 2015-04-27 09:04:07 +02:00
Mark Charlebois
8e589adb24 topic_listener: added missing build deps
The posix build would complain that toipc_listener.cpp did not exist
and there was no rule to create it.

The required rule was added to src/systemcmds/topic_listener/module.mk

The script generate_listener.py is run from the Build tree and needs to
access $(PX4_BASE)/msgs so $(PX4_BASE) is now passed as an argument to
generate_listener.py

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-26 20:02:58 -07:00
tumbili
3af6e9d76e added autogenerated code for topic listener tool 2015-04-26 22:17:16 +02:00
Mark Charlebois
8737d77947 QuRT and POSIX changes - part 2
Second staged group of changes for QuRT and related POSIX changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:01:36 -07:00
Mark Charlebois
e3f137ce23 Fixed gcc 4.8 warnings
Disabled gcc warnings that are tripped by Eigen.

Removed signal code that is not needed in Linux port and was
causing gcc warnings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:16:26 -07:00
Mark Charlebois
977036faf9 Linux: changed param to nit use errx or exit
Thread based implementaton can't call errx or exit

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:16:26 -07:00
Mark Charlebois
9758112e31 Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Johan Jansen
a6c57afabd Make: Remove deprecated preflight check 2015-04-20 09:14:13 +02:00
Daniel Agar
207b57869d only define GIT_VERSION where it's used
-when the git revision is passed to every file as a define it causes
unnecessary ccache cache misses
2015-04-18 01:25:54 -04:00
Lorenz Meier
3ee9b441c6 Add STM32F4 discovery config. 2015-04-16 22:51:08 +02:00
Anton Babushkin
3b89a2533f test_mathlib fixed 2015-04-12 17:13:30 +02:00
Roman Bapst
555e96a37a fixed publication of mixer limit flags 2015-04-10 20:26:38 +02:00
Lorenz Meier
1219ef8d43 Eigen: Disable tests 2015-04-04 12:39:36 +02:00
Lorenz Meier
de29e43ee6 Eigen: Fix logical compare warning 2015-04-04 12:36:27 +02:00
Lorenz Meier
bbec741383 Eigen: Simplify tests 2015-04-04 12:07:22 +02:00
Lorenz Meier
e5ac953bab Eigen: Attempt to fix unit test 2015-04-04 11:44:15 +02:00
Lorenz Meier
8075ff5e0b Eigen: Re-enable tests 2015-04-03 17:01:47 +02:00
Lorenz Meier
4c6ddf9372 Param command: Add functionality to view active params 2015-03-28 13:07:01 -07:00
Lorenz Meier
fe12bffefa param subsystem: Only send the instantiated parameters via telemetry 2015-03-28 13:07:01 -07:00
Lorenz Meier
23655675d3 PWM command: Fix code style 2015-03-28 19:54:00 +01:00
Lorenz Meier
32e790110e Tests: Fix code style on system tests 2015-03-28 19:51:15 +01:00
Daniel Agar
8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Lorenz Meier
ecec2d76d9 Allow a bit more flexibility of PWM range 2015-03-20 21:57:54 +01:00
Lorenz Meier
6b494ee0f0 Remove boardinfo ccommand 2015-03-20 09:43:45 +01:00
Lorenz Meier
b80908d956 Disable eigen test until fixed 2015-03-20 00:05:32 +01:00
Daniel Agar
c2abb0f82a fix code style if trivial one line difference 2015-03-19 23:49:36 +01:00
Lorenz Meier
fb040f9117 Merge pull request #1931 from Zefz/eigen-tests
Added test_eigen to verify correctness of eigen calculations
2015-03-19 23:45:55 +01:00
orlando3d
e668882621 Turn on PWM output for PPM loopback test 2015-03-19 09:39:44 -08:00
Johan Jansen
c0c3e153ec Eigen: Add verify macro to check if math operations are correct 2015-03-17 14:51:18 +01:00
Johan Jansen
3451a4686a test_eigen: Make TEST_OP macro more readable 2015-03-17 14:08:20 +01:00
Johan Jansen
008a36003f Eigen: Add general purpose Eigen compatability header for PX4 2015-03-17 13:58:03 +01:00
Johan Jansen
0be2530037 tests: Added test_eigen to verify correctness of eigen calculations 2015-03-17 13:27:50 +01:00
Roman Bapst
af56e58540 added quaternion rotation method test 2015-03-06 15:56:54 +01:00
Andrew Tridgell
8240e90d26 bl_update: fixed stat() check 2015-02-26 08:22:23 +01:00
Lorenz Meier
6e07c8c9e4 mathlib tests: Fix typo 2015-02-23 23:56:22 +01:00
Lorenz Meier
9d8651c10c mathlib test: Print all test types which are actually performed 2015-02-23 23:27:51 +01:00
Lorenz Meier
71a5351deb mathlib test: Code style fixes 2015-02-23 23:24:38 +01:00
tumbili
41377709e6 added test for quaternion methods 2015-02-23 22:18:51 +01:00
Lorenz Meier
3532a09a15 PWM command: Fix min/max/disarmed/failsafe commands to also read the current settings first before modifying them. 2015-02-23 19:50:51 +01:00
Lorenz Meier
653b3e71be PWM command: Do not modify disarmed PWM values 2015-02-23 19:50:42 +01:00