Commit Graph

355 Commits

Author SHA1 Message Date
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
tumbili cb96dc1074 do not close stdin/stdout for posix 2015-09-03 10:00:57 +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
TSC21 72e9390985 distance_sensor: minor changes 2015-05-24 16:03:01 +01:00
TSC21 93f8d7c4e8 distance_sensor: added distance_sensor to sdlog2 2015-05-23 15:03:32 +01:00
Lorenz Meier 8fd00f4d6d Merged release_v1.0.0 into master 2015-05-23 11:07:10 +02:00
Lorenz Meier 6d7e063148 Added GIT version which recompiles on each build 2015-05-23 09:59:46 +02:00
Lorenz Meier e5fad077df Merge master into linux 2015-05-18 23:28:57 +02:00
Lorenz Meier 937289a3ef Give user a choice which time source to pick 2015-05-18 10:32:41 +02:00
Lorenz Meier fa12a61765 sdlog2: Fix command handling / interpretation of command parameters 2015-05-17 23:23:26 +02:00
Mark Charlebois 36f5d47ed9 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/gyro_calibration.cpp
	src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
Lorenz Meier 6f94951050 Fix sdlog2 stopping on param write. Found by Severin Leuenberger 2015-05-13 15:46:35 +02: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
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
Roman Bapst 9eac4b995f fixed message ID 2015-04-28 12:15:42 +02:00
Lorenz Meier 6e060c01a7 SDLOG2: Optimize runtime efficiency 2015-04-26 14:33:56 +02:00
andrea-nisti c5ce8f39ae Order fixed for vision position quaternion
changed from [x y z w] to [w x y z]. In this way the notation is consistent and flightplot shows the real values.
2015-04-24 15:51:52 +02:00
Mark Charlebois 994065ef47 Linux: dont check stacksize in sdlog2
stacksize check in sdlog2 fails for x86_64

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:17:21 -07:00