Beat Küng
43c2970fb9
vehicle_gps_position: add heading field
2018-07-16 12:18:37 +02:00
Daniel Agar
edea4a369e
uavcan start enforcing code style ( #7856 )
2017-08-25 13:07:21 -04:00
Julien Lecoeur
abcb920df4
Fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7.1.0
...
BMP280: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
gnss: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
fmu: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
timer.c: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
px4cannode_led: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
Fix -Werror=implicit-fallthrough on gcc7
2017-07-18 08:24:37 +02:00
Todd Stellanova
fd47e0cbb3
Set system real time clock once from GNSS data.
...
Fixes #7421
Tested with Pixracer and Zubax GNSS2.0
2017-06-16 07:46:39 +05:30
Pavel Kirienko
5788701cc7
Replaced warn() with PX4_WARN()
2017-04-06 12:05:57 +02:00
Pavel Kirienko
02a9ccc4f2
Removed dependency on <algorithm>
2017-04-06 12:05:57 +02:00
Pavel Kirienko
098b57534d
UAVCAN GNSS bridge: proper handling of various time bases
2017-04-06 12:05:57 +02:00
Pavel Kirienko
8e61ed9b77
Republishing GNSS Fix2 if no GNSS publishers are available on the bus
2017-04-06 12:05:57 +02:00
Pavel Kirienko
14249d3318
UAVCAN GNSS bridge status output shows whether support for the old Fix message is active
2017-04-06 12:05:57 +02:00
Pavel Kirienko
75c45b62d7
UAVCAN GNSS Fix2 handling
2017-04-06 12:05:57 +02:00
Lorenz Meier
66b9ee2d24
UAVCAN: Make GPS module use the multi-topic facility so that a normal GPS and an UAVCAN GPS can co-exist and do not write on top of each other.
2016-12-26 12:12:44 +01:00
Beat Küng
e2afb0be6b
px4_log.h: remove hrt_absolute_time() declaration (it does not belong here)
2016-08-24 21:24:35 +02:00
Pavel Kirienko
d12be196a2
Fixed #5153
2016-08-18 17:14:53 +02:00
Beat Küng
cf5d959f1b
gnss.cpp: switch to relative gps timestamp
2016-06-24 00:22:01 +02:00
Beat Küng
e2a7145379
vehicle_gps_position: remove timestamp_variance & timestamp_velocity (they're not used)
2016-06-24 00:22:01 +02:00
Beat Küng
89f5bd27e8
vehicle_gps_position: use timestamp field instead of timestamp_position
...
timestamp was unused. This allows to remove timestamp_position.
2016-06-24 00:22:01 +02:00
Pavel Kirienko
e2b801a323
Fixes 2911
2015-09-27 12:25:15 +02:00
Lorenz Meier
21d1b4ba2e
Merged beta into master
2015-08-22 14:06:01 +02:00
David Sidrane
22d46fa733
Merged master_uavcan_modular src/modules/uavcan/
2015-07-09 11:22:35 -10:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -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
Lorenz Meier
1cc4c808a8
Upgrade UAVCAN to multi pub/sub A API
2015-01-29 16:33:53 +01:00
Ban Siesta
25fc9d791a
renaming of gps time to UTC time
2015-01-04 10:43:28 +00:00
Holger Steinhaus
2ce2d26d52
UAVCAN: preserve original UAVCAN message timestamps
2014-11-18 14:58:04 +01:00
Pavel Kirienko
1d038eed04
UAVCAN: GNSS fix message update
2014-09-03 22:44:16 +04:00
Pavel Kirienko
eab701b896
Improved UAVCAN status reporting
2014-08-26 00:52:33 +04:00
Pavel Kirienko
e9da830316
UAVCAN: initializing all bridges by default
2014-08-24 00:06:47 +04:00
Pavel Kirienko
0f124963d4
UAVCAN: Minor improvement of the GNSS bridge
2014-08-23 23:43:01 +04:00
Pavel Kirienko
4e0d7c6b0e
UAVCAN: redundant sensors support
2014-08-23 23:14:59 +04:00
Pavel Kirienko
6ebd59c633
UAVCAN: improved sensor bridge factory
2014-08-22 15:52:35 +04:00
Pavel Kirienko
f820010a2b
UAVCAN GNSS subscription name fix
2014-08-22 13:24:31 +04:00
Pavel Kirienko
0d9f6b6e2e
UAVCAN: Refactored and generalized sensor bridge support
2014-08-22 01:52:23 +04:00