Commit Graph

336 Commits

Author SHA1 Message Date
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
Mark Charlebois 83df879f90 Linux: fixes for compilation with gcc-4.8 on IFC6410
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:15:12 -07:00
Mark Charlebois 5f3496353c Linux: added support for sdlog2
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:15:12 -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
Lorenz Meier 02ce3d070d sdlog2: Fix another typo 2015-04-18 11:48:44 +02:00
Lorenz Meier e284691b07 sdlog2: Fix typo 2015-04-18 11:41:53 +02:00
Roman Bapst e097affd7a log multirotor attitude controller status 2015-04-18 11:26:19 +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
Mohammed Kabir 2f164ca345 sdlog2 : field for timesync offset 2015-04-14 13:14:15 +05:30
tumbili a530f16518 log quaternion setpoint 2015-04-04 10:21:46 +02:00
Hessel van der Molen e2499bbb23 fixed missing float fields in IMU sdlog2 format 2015-03-27 10:31:12 -07:00
Lorenz Meier 4adb5ba276 sdlog2: Log all temperatures 2015-03-25 22:59:08 -07:00
Simon Wilks 39d3b903e7 Revert the MainS to MainState to keep LogMuncher happy. 2015-03-23 21:13:07 +01:00
Mark Whitehorn 1cc8b6eefc add cpu load to STAT log message 2015-03-17 16:35:51 -06:00
Lorenz Meier 2017c74e52 sdlog2: Be less verbose 2015-02-15 19:52:02 +01:00
tumbili f4f4c72f05 fixed attitude logging 2015-02-15 17:52:28 +01:00
tumbili da5d5a5712 log velocity - and acceleration/thrust setpoint 2015-02-07 17:45:06 +01:00
Thomas Gubler 84ff3c671d Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
Conflicts:
	src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
Lorenz Meier 455f6abfcf Support topic groups in sdlog2 2015-01-29 16:33:54 +01:00
Thomas Gubler 14aa5f9441 add topic header includes 2015-01-25 15:00:35 +01:00