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
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Lorenz Meier
e87dc29811
sdlog2: Update with new topic changes
2015-05-27 15:21:32 -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
Roman Bapst
59cb0cc3b4
removed secondary attitude and log quaternion
2015-01-20 13:01:41 +01:00
tumbili
3a05b57169
log total airspeed for vtol
2015-01-18 18:00:14 +01:00
Johan Jansen
784fa9f469
sdlog2: Removed vehicle_land_detected topic from logging
2015-01-15 14:37:51 +01:00
Johan Jansen
6edb54ff77
sdlog2: Added land detector log message (removed from local pos)
2015-01-15 14:37:51 +01:00
Lorenz Meier
ae6198b0ba
sdlog2: Made sdlog writer performance available in log fiiles, reduced telemetry messages
2015-01-11 11:41:29 +01:00
Lorenz Meier
dc5a006285
Merge branch 'master' of github.com:PX4/Firmware
2015-01-04 20:57:50 +01:00
Lorenz Meier
0e1a532720
sdlog2: Use .px4log as file format. Fixes #1243
2015-01-04 20:57:25 +01:00
Ban Siesta
0265885a39
sdlog2: check every 20MiB if we're running out of space, moved the threshold to 50MiB
2015-01-04 19:13:27 +00:00
Ban Siesta
e8eff3061f
Revert "sdlog2: slow down the free space check a bit more"
...
This reverts commit 04c273bca6 .
2015-01-04 18:59:53 +00:00