Commit Graph

48668 Commits

Author SHA1 Message Date
Lorenz Meier a190d01ade Move differential pressure to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier 961b6b7802 Move vision position estimate to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier 01d72adca5 Move debug_key_value to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier 20dff14eae Extend generator templates to allow nested topics 2015-05-27 15:21:31 -07:00
Lorenz Meier c9e8af8e9b Update navigator to reflect topic updates. 2015-05-27 15:21:31 -07:00
Lorenz Meier f5ce8e4826 Update dataman to reflect topic updates 2015-05-27 15:21:31 -07:00
Lorenz Meier 6ce097546c Move fence to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier e07731de7a Move esc_status to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier f7c9e918b1 Update airspeed topic to use message generation 2015-05-27 15:21:31 -07:00
Lorenz Meier f5670c8ad6 Update actuator_direct topic to use message generation 2015-05-27 15:21:31 -07:00
Lorenz Meier b980e34c3c Update uavcan app for generated actuator_outputs topic 2015-05-27 15:21:31 -07:00
Lorenz Meier 465ea8abe3 Move actuator_outputs topic into message generation 2015-05-27 15:21:30 -07:00
Lorenz Meier be3551136a Airspeed sim: Use proper constant names 2015-05-27 21:16:59 +02:00
Lorenz Meier 5fd4056c4a uORB: Fix missing objects_common entries 2015-05-27 21:16:43 +02:00
Lorenz Meier 68d723e26c dataman: add missing include of px4_defines header 2015-05-27 21:10:48 +02:00
Lorenz Meier 1a9d402feb mavlink receiver: fix topic handle initialization of manual control topic 2015-05-27 15:36:05 -07:00
Lorenz Meier 4565f57468 Merged release_v1.0.0 into master 2015-05-27 15:28:41 -07:00
Lorenz Meier a2bb8cd766 PX4FLOW driver: Fix use of topic initialization 2015-05-27 15:15:37 -07:00
Lorenz Meier 4f92afd420 Lidar lite driver: Fix use of topic initialization 2015-05-27 15:15:19 -07:00
Mark Charlebois 31923c3add On more fixup for orb_advert_t changed to void *
Reviewed all changes in pull request and made sure all cpp files
check orb_advert_t types against nullptr and c files check against
NULL.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -07:00
Mark Charlebois a452478ef9 More fixups for orb_advert_t changed to void *
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -07:00
Mark Charlebois bd2b5e4738 Revert change to src/drivers/device/vdev.cpp
This change was not part of the orb_advert_t fix.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -07: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 180c8b0cb0 Missed another < 0 check
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:41:33 -07:00
Mark Charlebois b990d9fa7e Missed a check for < 0
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:41:33 -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 9a67303416 Merge pull request #2231 from jgoppert/lidar_lite_pwm_fix
Lidar lite driver fixes.
2015-05-27 10:54:59 -07:00
Lorenz Meier 92f67a923a Make sure the build directory exists 2015-05-27 19:54:46 +02:00
Lorenz Meier 472ca323a1 Merge pull request #2239 from kd0aij/addRot_v100
add a new rotation to lib/conversion
2015-05-27 10:09:34 -07:00
David Sidrane f2fe415e55 Code consolidation 2015-05-27 06:07:47 -10:00
David Sidrane 436cfcefa9 Use FileCRC typedef 2015-05-27 04:32:50 -10:00
David Sidrane faf13e6942 Merge branch 'dynamic_node_id_raft' of https://github.com/UAVCAN/uavcan into dynamic_node_id_raft 2015-05-27 03:54:32 -10:00
David Sidrane be50b94cba Revert of format changes 2015-05-27 03:53:54 -10:00
Pavel Kirienko 5205d13f37 centralized::Storage fix 2015-05-27 16:28:31 +03:00
Pavel Kirienko 5930bf3ed4 CentralizedServer 2015-05-27 16:12:54 +03:00
Pavel Kirienko bdc0a327b7 centralized::Storage - new test 2015-05-27 16:10:14 +03:00
Pavel Kirienko abe2401e38 Distributed server logging fix 2015-05-27 15:24:55 +03:00
Pavel Kirienko a78c015934 Distributed server tracing fix 2015-05-27 15:16:17 +03:00
Pavel Kirienko 638de08115 CentralizedServer - storage implementation and test 2015-05-27 14:52:41 +03:00
Pavel Kirienko 82c24967e7 Minor fixes in Raft server 2015-05-27 12:55:49 +03:00
Pavel Kirienko 75e2bed3c2 Typo 2015-05-27 11:56:18 +03:00
Pavel Kirienko 74298b1860 spinOnce(), fixes #31 2015-05-27 11:53:12 +03:00
Pavel Kirienko 89c8ed0cf1 Docs for dsdl/uavcan/protocol/dynamic_node_id/server/220.AppendEntries.uavcan 2015-05-27 11:06:23 +03:00
Lorenz Meier fd31354e77 Merge pull request #2211 from kd0aij/fmuv1_inav_q_v100
default to INAV/Q estimator on FMUv1
2015-05-26 23:11:59 -07:00
Ban Siesta 96bfe85ceb fw_att_control: another ugly way to prevent a newline 2015-05-26 23:05:26 -07:00
Ban Siesta d3fe6fd256 fw_att_control: whitespace 2015-05-26 23:05:18 -07:00
Ban Siesta e2277bbe2d fw_att_control: don't brag about being running 2015-05-26 23:05:11 -07:00
Ban Siesta a7902c02a9 position_estimator_inav: be a bit more informative about this ominous offs 2015-05-26 23:05:04 -07:00
Ban Siesta 11f80ceb64 land_detector: get rid of one dot at a time 2015-05-26 23:04:17 -07:00
Ban Siesta 1734b97635 px4flow: tell the user which PX4FLOW couldn't be connected 2015-05-26 23:04:09 -07:00