Commit Graph

370 Commits

Author SHA1 Message Date
Mark Charlebois c28ae649a3 Fixes for parameters.xml dependencies
Moved definitions of parameters into *params.c in each module.
This is used by the cmake file as a pattern for dependencies when
generating the parameters.xml file.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-10 01:15:22 -07:00
Daniel Agar 4151522902 only enforce frame size for nuttx 2015-10-06 23:37:33 -04:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
Lorenz Meier 83602ad7d6 Merge branch 'master' of github.com:PX4/Firmware into cmake-2 2015-10-06 10:24:35 +02:00
Nate Weibley 132bd6a631 Fix ordering of TECS energy labels in sdlog format, copy fields as laid out in struct 2015-10-05 10:35:38 -04:00
Lorenz Meier f984b566de sdlog2: Fix compile warnings 2015-10-03 15:40:24 +02:00
Lorenz Meier 84b4e30fbd sdlog2: Remove copying of deprecated file 2015-09-20 16:42:03 +02:00
Lorenz Meier 8f14850aa2 sdlog2: Fix compile warning on OS X 2015-09-20 15:21:58 +02:00
Lorenz Meier d2459a1c8d Merge branch 'cmake-2' into cmake-2-pthread 2015-09-20 13:19:34 +02:00
Lorenz Meier 673fdd8002 sdlog2: Fix stack size 2015-09-20 13:13:02 +02:00
Lorenz Meier c1c235edb2 Merge branch 'cmake-2' into cmake-2-pthread 2015-09-20 10:34:03 +02:00
Lorenz Meier 6ef94e0dfb Merged master into cmake-2 2015-09-20 10:33:39 +02:00
Lorenz Meier 5f2ae6ad67 SDLOG2: Add missing POSIX header 2015-09-20 10:25:55 +02:00
Lorenz Meier d5f110cc92 sdlog2: POSIX adjustments 2015-09-11 21:49:19 +02:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier d532e372ac Merge branch 'master' into ekf_voting 2015-09-05 17:41:21 +02:00
tumbili cb96dc1074 do not close stdin/stdout for posix 2015-09-03 10:00:57 +02:00
Lorenz Meier ad14b471e3 sdlog2: Update to new sensors combined topic 2015-08-30 11:37:27 +02:00
Simon Wilks 28d0ad4854 Don't try to convert gps time to seconds a second time round and if requested only use GPS time when a 3D fix is present. 2015-08-26 12:17:14 +02:00
Lorenz Meier 295e4be8c3 Merge branch 'beta' 2015-08-23 14:06:37 +02:00
tumbili 3ccb35f338 fix 2015-08-23 14:06:25 +02:00
Lorenz Meier c41f32c17c Merge beta 2015-08-22 20:49:54 +02:00
Lorenz Meier c264d6bb99 SDLOG2: Store load / mem use post-flight 2015-08-22 15:27:05 +02:00
Lorenz Meier 85007d8952 Merge branch 'beta' into beta_merge4 2015-08-22 14:09:20 +02:00
tumbili 6cdceb1829 fix tecs status logging 2015-08-22 14:08:58 +02:00
Roman Bapst 4fa8394031 Merge pull request #2692 from PX4/logging_fix
logging fix: do not use same ID for two messages
2015-08-14 09:00:02 +02:00
tumbili 1dab361c2d logging fix: do not use same ID for two messages 2015-08-13 18:51:55 +02:00
Lorenz Meier cbada5198d sdlog2: Do not use permission flags on NuttX 2015-08-13 12:25:18 +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 c8ca147b4d sdlog2: Waiting for full boot 2015-08-11 09:24:39 +02:00
Lorenz Meier b3c1d56926 sdlog2 update for generated topics 2015-08-10 15:36:24 +02:00
Lorenz Meier ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier fb8236e6b9 sdlog: Default to require GPS for time stamping 2015-07-19 16:00:45 +02:00
Lorenz Meier 95eaebb28d Merge branch 'release_v1.0.0' 2015-07-04 10:47:18 +02:00
Lorenz Meier f411b7ed21 Merge branch 'getopt-cleanup-v2' 2015-07-02 00:26:57 +02:00
Lorenz Meier bc5cf50f1a Merge pull request #2361 from TSC21/mocap_support_restruct
MOCAP support on firmware [new PR]
2015-07-01 14:52:32 +02:00
Youssef Demitri 66a637dcc7 added covariances to estimator_status and logging 2015-06-24 15:28:09 +02:00
Lorenz Meier 3e55e32098 sdlog2: Fix mavlink output 2015-06-22 09:59:09 +02:00
Mark Charlebois f7fe6a037d Converted getopt use to px4_getopt
In the posix and qurt builds, getopt is not thread safe so px4_getopt
should be used instead.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-19 11:39:08 -07:00
Lorenz Meier a94a8c5f51 sdlog2: Flow: Remove unused field 2015-06-18 08:56:36 +02:00
Mark Charlebois 872a26e6da Fixed passed ot open() for O_CREAT
In nuttx the mode parameter to open is not required but in Linux,
and per the POSIX spec, mode is required if the O_CREAT flag is
passed.

The mode flags are different for NuttX and Linux so a new set of
PX4 defines was added:

PX4_O_MODE_777 - read, write, execute for user, group and other
PX4_O_MODE_666 - read, and write for user, group and other
PX4_O_MODE_600 - read, and write for user

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-14 11:26:40 +02:00
TSC21 dccd4df7bc mocap_support: added support for mocap data on firmware 2015-06-13 17:03:31 +01:00
Mark Charlebois 4d1ae6269b POSIX: Added PX4_ROOTFSDIR to file paths
Set a default path relative to current dir for the posix target.

Running make posixrun will create the required directoroes and then run
mainapp from its build location.

PX4_ROOTFSDIR is set to nothing for nuttx.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 21:36:13 -07:00
Lorenz Meier e87dc29811 sdlog2: Update with new topic changes 2015-05-27 15:21:32 -07:00
Lorenz Meier 4565f57468 Merged release_v1.0.0 into master 2015-05-27 15:28:41 -07:00
Mark Charlebois a734fc96d1 extensive orb_advert_t fixes
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.

The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.

Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:41:33 -07:00
James Goppert 57f5db544c Distance sensor log precision fix. 2015-05-27 00:01:24 -04:00
James Goppert 6f309ba625 Distance sensor log fix. 2015-05-26 20:03:33 -04:00
James Goppert 0b703096e7 Fixed distance sensor log error. 2015-05-26 02:48:24 -04:00