Pavel Kirienko
5527faca5d
Raft server: more internals
2015-05-01 18:19:11 +03:00
Pavel Kirienko
3dcb3c0b57
Basic interface of allocation server
2015-05-01 18:06:46 +03:00
Pavel Kirienko
1017935ba9
Dynamic allocation master - added definitions of Raft types
2015-05-01 10:11:31 +03:00
Mark Charlebois
ebdf178ba3
Removed annoying "I2C SIM transfer_4" message
...
The debug message made it difficult to use the shell for the
posix build. Commented out the debug line.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-30 16:24:43 -07:00
Mark Charlebois
6acdc2ae3f
POSIX: workaround for poll notification
...
Sensor combined topic notification wasnot working because
the calls to hrt_called() and hrt_call_after() in
ORBDevNode::appears_updated() are not working correctly.
This commit ifdefs out those calls, and the poling seems
to work correctly. This is a workaround until the issue is
resolved.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-30 13:17:16 -07:00
Mark Charlebois
5557ecf3d7
POSIX: Added airspeed simulator
...
This seems to be a dependency for the system to start up.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-30 13:16:03 -07:00
Mark Charlebois
2f8cad6c00
Fixed bad update of poll to px4_poll change
...
I updated poll to px4_poll but forgot to change
struct pollfd to px4_pollfd_struct_t.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-30 09:12:39 -07:00
Mark Charlebois
b7120f1b9f
Fixed call to poll to be px4_poll
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-30 09:02:04 -07:00
Pavel Kirienko
2f718b66b1
Readjusted DDTID
2015-04-30 15:30:15 +03:00
Pavel Kirienko
6b07222650
Checking priorities in Publisher's unit test
2015-04-30 15:19:51 +03:00
Pavel Kirienko
65ec6fce2e
Unit tests now check frame priorities
2015-04-30 15:16:21 +03:00
Pavel Kirienko
ffe7ad6ae1
pyuavcan Parser unit test removed - it doesn't work anyway
2015-04-30 14:47:33 +03:00
Pavel Kirienko
2407157c9c
Passing priority value of received transfers to application
2015-04-30 14:35:00 +03:00
Pavel Kirienko
20feaba1de
Using transfer priorities in protocol:: classes
2015-04-30 14:19:52 +03:00
Pavel Kirienko
2bfadc46b4
Priority support in Publisher
2015-04-30 13:57:11 +03:00
Pavel Kirienko
6b19bf09e2
Support for priority in TransferSender
2015-04-30 12:30:13 +03:00
Pavel Kirienko
5c0314e187
Dedicated error code for transfers of excessive length
2015-04-30 12:04:55 +03:00
Pavel Kirienko
0ea4e5e4e0
pyuavcan: DSDL length validation
2015-04-30 11:50:01 +03:00
Pavel Kirienko
898fe67225
Fixed message definitions; added a compile-time check for maximum serialized message length
2015-04-30 11:24:06 +03:00
Pavel Kirienko
ecd7d8a8a5
CATS test for services
2015-04-30 11:05:59 +03:00
Pavel Kirienko
b8c5613522
Passing all tests now
2015-04-30 10:55:52 +03:00
Mark Charlebois
93a3eeb569
Simulator: Added Roman's sensors combined topic
...
Simulator can work as before with -s flag or with Roman's additions to
publish the sensors combined topic using -p flag.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-29 23:45:54 -07:00
Pavel Kirienko
2843c0a35e
Basic support for frame prioritization; tests are failing
2015-04-30 08:26:25 +03:00
Mark Charlebois
a209fdc8ef
Added missing lock() unlock() to MuORB
...
The commented out lock and unlock were determined to be needed and added back.
The unit test for VDev was updated. It showed the race between the poll and a
write that only does a poll_notify().
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-29 17:04:30 -07:00
Mark Charlebois
b408983d4c
mavlink: added back MODULE_COMMAND
...
The MODULE_COMMAND was inadvertently removed during merge of master
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-28 17:27:14 -07:00
Pavel Kirienko
eafcfa1733
Support for different DTID limits depending on data type kind; tests are failing now!
2015-04-29 03:08:07 +03:00
Pavel Kirienko
feb534a45f
Temporary fix of the DSDL parser
2015-04-29 01:27:48 +03:00
Mark Charlebois
c622636601
Nuttx: fixed include of systemlib/err.h
...
The new px4_debug.h included "err.h" instead of
"systemlib/err.h" for NuttX.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-28 12:49:04 -07:00
Mark Charlebois
523a4aa785
Clang warning fix
...
Clang build fails due to -Werr and warning on use of
if (!condition != other_condition && some_condition)
Clang wants to be clear that the initial '!' wasn't
intended for the whole expression.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-28 12:29:50 -07:00
Mark Charlebois
2446dfec16
Fixups after merge from master
...
MuORB was missing the orb_exists() function added to uORB.cpp
gyro_calibration.cpp still had some merge conflicts that had not been resolved.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-28 12:28:10 -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
Lorenz Meier
2a46e0f0b6
Merge pull request #2100 from PX4/fix_log_message_ID
...
fixed message ID
2015-04-28 16:38:20 +02:00
Pavel Kirienko
cf7d231ef1
Readjusted default DTID values
2015-04-28 16:29:01 +03:00
Roman Bapst
c3111ecadf
added option for esc calibration
2015-04-28 15:15:46 +02:00
Roman Bapst
dd0ed9b446
added esc calibration option
2015-04-28 15:15:46 +02:00
Roman Bapst
be03f98d64
added esc calibration routines
2015-04-28 15:15:46 +02:00
Roman Bapst
9eac4b995f
fixed message ID
2015-04-28 12:15:42 +02:00
Pavel Kirienko
c159f9f7df
First step in changing the CAN frame format - introduced various transfer lengths per transfer type
2015-04-28 11:27:01 +03:00
Mark Charlebois
c832f4c55c
Small fixes for debug macros
...
Fixed print format for __LINE__ to %d
Fixed if/else that breaks with the debug macro expansion. The if/else
needs to use braces to allow macro expansion.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 22:28:39 -07:00
Mark Charlebois
0bf690d36a
Used new debug macros for sim.cpp
...
sim.cpp was causing the posix shell to have continuous debug output.
Used debug macros to suppress output
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 22:15:18 -07:00
Mark Charlebois
09718fa324
Revamped debug macros
...
Created px4_debug,h to define:
PX4_DBG
PX4_INFO
PX4_WARN
PX4_ERR
These enable OS specific mappings to be made, filtering, etc.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 21:58:54 -07:00
Mark Charlebois
6ab25ae890
QuRT: workaround for __sync_bool_compare_and_swap
...
The Hexagon compiler version does not support __sync_bool_compare_and_swap.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 16:51:33 -07:00
Mark Charlebois
58595e2e78
QuRT: fixed hard coded path in toolchain_hexagon.mk
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 16:21:30 -07:00
Mark Charlebois
a284a7b6d9
POSIX: added separators between commands run from shell
...
Output a separator and the command called to make the ouput easier
to read.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 14:03:23 -07:00
Mark Charlebois
58a33dd26a
Added simulated tone_alarm and enabled led for POSIX
...
Added simulated tone_alarm class and enabled led class for posix build.
The simulator implements the led_init, led_on, led_off, led_toggle calls.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 14:00:06 -07:00
Mark Charlebois
7fa33d0d2b
posix: workqueue uses TICK scaling from px4_defines.h
...
px4_defines.h defines USEC2TICK(x) and TICKS_PER_USEC.
These are now used and allow tick scaling.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 13:48:54 -07:00
Lorenz Meier
3dd45b9d34
Merge branch 'master' into beta
2015-04-27 22:34:08 +02:00
Roman Bapst
bd1c3363df
added new vtol mav types
2015-04-27 22:22:52 +02:00
Roman Bapst
06352bee62
set mav type for firefly6
2015-04-27 22:22:52 +02:00
Mark Charlebois
3c957e57e7
Posix: fixed time scaling for work queues
...
In work queues, delay is in ticks. Needed to check elapsed time
in ticks not in milliseconds.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-27 13:17:28 -07:00