Commit Graph
18 Commits
Author SHA1 Message Date
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