David Sidrane
03bdf1e5f2
Allow allocation of changed paramaters to fail, then all param functions will return PARAM_INVALID or a count of 0
2015-06-03 22:49:57 +02:00
David Sidrane
bcb3529490
Added confitional definition
2015-06-03 22:49:57 +02:00
David Sidrane
9d055ef95b
Added ASSERT macro that mimic Nuttx but uses the system assert
2015-06-03 22:49:57 +02:00
David Sidrane
7950167bc5
Added assertion on allocation failure for parameter change storage, removed magic numbers
2015-06-03 22:49:57 +02:00
Lorenz Meier
cf2d66bd81
Merge pull request #2268 from mcharleb/hrt_queue-fixes
...
Hrt queue fixes
2015-06-03 21:48:04 +02:00
Mark Charlebois
f763c4cc0e
POSIX: fixed type used in USEC2TICKS
...
The macro was using a constant defined as a long instead on an
unsigned long. Made corresponsing changes to barosim.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-03 11:49:28 -07:00
Pavel Kirienko
1f1679c75d
LPC11C24 - removed useless libstdc++ stubs
2015-06-03 15:02:22 +03:00
Pavel Kirienko
107e0af4fd
LPC11C24 makefile fix
2015-06-03 14:57:42 +03:00
Pavel Kirienko
06f5489c1f
Merge branch 'dynamic_node_id_raft'
2015-06-03 02:38:00 +03:00
Pavel Kirienko
3d5f6f5d40
test_file_server
2015-06-03 02:20:36 +03:00
Pavel Kirienko
e54a1ed75e
Typo
2015-06-03 01:58:23 +03:00
Pavel Kirienko
250837965e
Minor fixes to BasicFileSeverBackend
2015-06-03 01:49:54 +03:00
Pavel Kirienko
ac3e70f6ba
Insignificant formatting fixes (uncrustify is not smart enough)
2015-06-03 01:32:10 +03:00
David Sidrane
82d9bf29be
Added Garbage collection closes #36
2015-06-02 11:03:11 -10:00
Mark Charlebois
122c52c731
POSIX: Fixes for ARMv7 build
...
uint64_t needs to use PRIu64 in printf.
Clang-3.5 found an error is variable types for a compare.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:39 +00:00
Mark Charlebois
325e063f18
POSIX: fixes for gcc
...
GCC complains about strict prototypes.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:39 +00:00
Mark Charlebois
af45954690
POSIX: hrt_work_lock.h to hrt_work.h
...
The header file now contains all hrt workqueue related prototypes.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:38 +00:00
Mark Charlebois
6fd612a218
POSIX: fixed function prototype
...
Function was changed to be void but prototype was not updated
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:38 +00:00
Mark Charlebois
b4152f3daa
POSIX: Fixed output for list_topics, list_devices, etc
...
Removed extra carriage returns in output strings
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:37 +00:00
Mark Charlebois
5e95b83eff
POSIX: Fixes for HRT implementation of simulated HW clock polling
...
There is a race condition for the accel and mag polling rates.
Whichever one gets set first, the other will be uninitialized.
Set the mag polling rate to 1ms if uninitilized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:34 +00:00
Mark Charlebois
cced8ed69e
POSIX: added hrt_queue for handling fast periodic events
...
The workqueues measure time in ticks which is typically 10ms.
Some interrupt events in Nuttx occur at about 1ms so a more
granular workqueue is needed for POSIX.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:33 +00:00
Lorenz Meier
9882b78383
Merge pull request #2248 from mcharleb/gyrosim-fix
...
Gyrosim: Fixed constant looping
2015-06-02 01:40:49 -07:00
Lorenz Meier
9ad9dd13d2
Merge pull request #2252 from UAVenture/param_meta_fix
...
Fix group for posctl_th
2015-06-02 01:36:25 -07:00
Lorenz Meier
00fc4b5f13
Merge pull request #2256 from mcharleb/fixes-for-gcc
...
Fixes for gcc 4.8
2015-06-02 01:35:20 -07:00
Lorenz Meier
e32c00be67
Merge pull request #2261 from PX4/navigator_port
...
Navigator port
2015-06-02 01:34:26 -07:00
Luis Rodrigues
f3b392513d
fixed timming issued in I2C whoami communication
2015-06-02 10:32:57 +02:00
Lorenz Meier
6a35887f54
Merge pull request #2260 from Terabee/master
...
fixed timming issued in I2C whoami communication
2015-06-02 01:32:47 -07:00
Lorenz Meier
c49f902635
Merge pull request #2263 from tumbili/linux_param_loading
...
use open/close instead of px4_open/px4_close for parameter file
2015-06-02 01:32:01 -07:00
Lorenz Meier
f54080bd43
Merge pull request #2226 from rmackay9/orig-precland6
...
Driver for the IR Lock vision sensor (derivative of the Pixy vision sensor)
2015-06-02 01:31:01 -07:00
Roman
7331ea32ef
make navigator work for posix
2015-06-01 23:40:20 +02:00
tumbili
f4a25097c1
use open/close instead of px4_open/px4_close for parameter file
2015-06-01 23:01:48 +02:00
David Sidrane
a39c8fef3a
Consistant use of NULL
2015-06-01 10:38:44 -10:00
Pavel Kirienko
0dc18f9623
Fixed STM32 NuttX driver
2015-06-01 16:45:12 +03:00
Pavel Kirienko
5442c0ac04
Revert "STM32 NuttX driver: Edge-triggered poll(), sort of fixes #35 "
...
This reverts commit 22787651e6 .
2015-06-01 16:36:02 +03:00
Pavel Kirienko
7518172f6e
POSIX tools - more autoformatting
2015-06-01 15:22:06 +03:00
Pavel Kirienko
e0ea51aa21
Fixed naming and CV-correctness
2015-06-01 15:17:58 +03:00
Pavel Kirienko
1c88bd7183
Using proper NULL in POSIX tools
2015-06-01 15:09:34 +03:00
Pavel Kirienko
2615fda63e
POSIX event tracer formatting
2015-06-01 15:04:46 +03:00
Pavel Kirienko
52529408d3
POSIX tools - visibility fix
2015-06-01 15:03:27 +03:00
Pavel Kirienko
49019bfcff
firmware_version_checker.hpp formatting
2015-06-01 14:58:21 +03:00
Pavel Kirienko
cc74cf46af
Basic file server backend formatting
2015-06-01 14:57:44 +03:00
Pavel Kirienko
52f809a620
firmware_version_checker.hpp formatting
2015-06-01 14:22:32 +03:00
Pavel Kirienko
22787651e6
STM32 NuttX driver: Edge-triggered poll(), sort of fixes #35
2015-06-01 13:58:20 +03:00
Roman
b688e3b97c
remove unnecessary parenthesis
2015-06-01 11:17:40 +02:00
Roman
9ff89ffe5c
use PX4_ISFINITE
2015-06-01 11:16:32 +02:00
Roman
64e8419ab0
remove suffix for double
2015-06-01 11:15:56 +02:00
Roman
6bc0d4d03b
add definition of MAX_RAND
2015-06-01 11:14:45 +02:00
Roman
e6ec33787f
build navigator and controllib for posix
2015-06-01 11:12:59 +02:00
Luis Rodrigues
70bfb42956
fixed timming issued in I2C whoami communication
2015-05-31 21:09:21 +02:00
Pavel Kirienko
28e82797c2
Optimized padding, added more sizeof() outputs
2015-05-31 08:12:46 +03:00