Pavel Kirienko
3860dbdc8c
UAVCAN Barometer driver fix - reporting temperature in Celsius degrees, not in Kelvin
2015-08-22 13:54:56 +02:00
Pavel Kirienko
473d321af8
UAVCAN Magnetometer driver update - no logical changes
2015-08-22 13:54:56 +02:00
Pavel Kirienko
36f91d30eb
Fixes pure virtual call exception in VirtualCanDriver<>::handleRxFrame()
...
Stack trace:
Thread [1] (Suspended: Breakpoint hit.)
12 __cxa_pure_virtual() libxx_cxapurevirtual.cxx:66 0x0808ca42
11 notifyRxFrameListener() uc_dispatcher.cpp:216 0x080787ce
10 uavcan::Dispatcher::spinOnce() uc_dispatcher.cpp:276 0x080787ce
9 uavcan::Scheduler::spinOnce() uc_scheduler.cpp:196 0x0807b4e0
8 spinOnce() abstract_node.hpp:88 0x080659fc
7 spinOnce() node.hpp:132 0x080659fc
6 UavcanNode::node_spin_once() uavcan_main.cpp:428 0x080659fc
5 UavcanNode::run() uavcan_main.cpp:542 0x08065e74
4 operator() uavcan_main.cpp:343 0x0806626a
3 UavcanNode::__lambda0::_FUN() uavcan_main.cpp:343 0x0806626a
2 task_start() task_start.c:138 0x08087720
1 <symbol is not available> 0x00000000
2015-08-15 09:53:13 +03:00
Pavel Kirienko
aa412aaced
UAVCAN servers: proper handling of startup failure, more verbose error reporting
2015-08-15 09:42:16 +03:00
David Sidrane
22d46fa733
Merged master_uavcan_modular src/modules/uavcan/
2015-07-09 11:22:35 -10:00
David Sidrane
3e64ad10e8
Conditional inclusion of the Node Allocation and FW Server - default is OFF
2015-06-17 19:43:06 +02:00
David Sidrane
68276ff345
Back Port from Master - Changes to build on latest uavcan master with FW upload and Node ID
2015-06-05 06:43:10 -10:00
Lorenz Meier
e07731de7a
Move esc_status to generated topics
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
6d7e063148
Added GIT version which recompiles on each build
2015-05-23 09:59:46 +02:00
Pavel Kirienko
3f961bf3c6
UAVCAN driver silently ignores repeated start commands without error. This allows to avoid error messages when UAVCAN driver is started from extras script before default initialization sequence is executed.
2015-04-23 22:02:34 +03:00
Daniel Agar
207b57869d
only define GIT_VERSION where it's used
...
-when the git revision is passed to every file as a define it causes
unnecessary ccache cache misses
2015-04-18 01:25:54 -04:00
Lorenz Meier
bb9e5d0d4c
Merge pull request #2039 from PX4/fix_uavcan_deps
...
Fixes dependency not being cleaned by keeping the uavcan artifacts in th...
2015-04-16 20:06:53 +02:00
Roman Bapst
555e96a37a
fixed publication of mixer limit flags
2015-04-10 20:26:38 +02:00
Andrew Tridgell
a4bece7595
uavcan-baro: use RingBuffer for read() support
2015-04-04 10:20:51 +02:00
Holger Steinhaus
d06761bba8
uavcan-baro: add read()-style interface to baro device
2015-04-04 10:20:38 +02:00
Daniel Agar
8aae66b893
trivial code style cleanup round 2
2015-03-27 23:38:58 -04:00
David Sidrane
7be4298ba1
Fixes dependency not being cleaned by keeping the uavcan artifacts in the BUILD_DIR
2015-03-25 08:11:32 -10:00
Lorenz Meier
1a91c7da79
UAVCAN: Move to 0-based indices
2015-02-09 22:56:23 +01:00
Thomas Gubler
84ff3c671d
Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
...
Conflicts:
src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
Pavel Kirienko
2f7a9eaf65
Fix for a compilation failure
2015-01-29 16:33:53 +01:00
Lorenz Meier
1cc4c808a8
Upgrade UAVCAN to multi pub/sub A API
2015-01-29 16:33:53 +01:00
Thomas Gubler
66007d56ef
fix uorb constants in uavcan module
2015-01-28 16:32:54 +01:00
Lorenz Meier
7faef870c8
Fix UAVCAN dependency generation issue
2015-01-22 09:24:13 +01:00
Pavel Kirienko
ae0e2d7209
Removing extra UAVCAN perfcounters
2015-01-21 14:54:24 +01:00
Pavel Kirienko
4baf4a032f
Fixed: Passing this->_armed_sub to close, which cannot accept a negative number.
2015-01-21 14:54:24 +01:00
Pavel Kirienko
91362223ea
Fixed uninitialized fields of UavcanNode
2015-01-21 14:54:24 +01:00
Pavel Kirienko
2ebd7099de
Globally configurable stack checks, R10 is always fixed
2015-01-21 14:54:24 +01:00
Pavel Kirienko
1d13edcf92
Stack checks made optional: ENABLE_STACK_CHECKS
2015-01-21 14:54:24 +01:00
Pavel Kirienko
f49f183f74
UAVCAN module: -O3 instead of -Os; fixed instrumentation defines
2015-01-21 14:54:24 +01:00
Pavel Kirienko
c2bc298409
Disable instrumentation for the uavcan module
2015-01-21 14:54:24 +01:00
Pavel Kirienko
d87bb4dfcb
Revert "Intrusive changes made for UAVCAN profiling. Will be reverted in the next commit (this one is needed to keep the changes in history)"
...
This reverts commit 4c301d9dcf180e39186fa6753c7a3d3215b3cfa7.
2015-01-21 14:54:23 +01:00
Pavel Kirienko
6bbacc4271
Intrusive changes made for UAVCAN profiling. Will be reverted in the next commit (this one is needed to keep the changes in history)
2015-01-21 14:54:23 +01:00
Pavel Kirienko
7f0f4b3072
UavcanEscController broadcasting percounter
2015-01-21 14:54:22 +01:00
Pavel Kirienko
eea3c801f4
UAVCAN perf counters
2015-01-21 14:54:22 +01:00
Ban Siesta
25fc9d791a
renaming of gps time to UTC time
2015-01-04 10:43:28 +00:00
Lorenz Meier
84d744707d
UAVCAN: Move into lib directory
2014-12-23 14:34:53 +01:00
Simon Wilks
f3fb32bc47
Unsubscribe from the topic.
2014-12-03 10:43:17 +01:00
Simon Wilks
7a344b9337
Display ESC data in the status output
2014-12-03 10:30:49 +01:00
Andrew Tridgell
7ae4f6d97e
uavcan: added add_poll_fd() helper function
...
this makes the code clearer and avoids repeated code
2014-11-26 08:41:32 +11:00
Andrew Tridgell
a7a68c88a2
uavcan: show ESC output values in uavcan status, and add arm/disarm
...
this makes "uavcan status" show the current output values, which is
useful for debugging. It also adds "uavcan arm" and "uavcan disarm"
commands, which are very useful for re-arming after a motor test.
2014-11-26 08:32:47 +11:00
Andrew Tridgell
724ec0ec8b
uavcan: handle all ESC output in one place
...
moving all the ESC output handling to one place allows the limits on
actuator values to apply to all types of inputs, and will make it
easier to expand "uavcan status" to show actuator values
2014-11-26 08:32:47 +11:00
Andrew Tridgell
8e44ec2e3b
uavcan: prevent crash in ESC driver
...
passing in more than 8 actuators would crash the ESC driver. We need
to check again the array size of the _esc_status.esc, which is
CONNECTED_ESC_MAX
2014-11-26 08:32:47 +11:00
Andrew Tridgell
ead0458e97
uavcan: don't force motors to keep spinning at zero throttle
...
Forcing motors to keep spinning when armed should be a policy decision
up at the vehicle type level, not hard coded down in the ESC
driver. It isn't appropriate for fixed wing or ground vehicles for
example.
We could add an ioctl to enable "spin when armed" if just setting a
small value in the vehicle code is inconvenient
2014-11-26 08:32:47 +11:00
Andrew Tridgell
b830137ec8
uavcan: added support for actuator_direct ORB topic
...
this watches the actuator_direct topic and uses it to allow for direct
output of actuator values, bypassing the mixer
2014-11-26 08:32:46 +11:00
Andrew Tridgell
2dae1bc542
uavcan: break the link between poll fd indexes and controls
...
this linkage was fragile and makes it harder to add new orb
subscriptions to the uavcan code
2014-11-26 08:32:46 +11:00
Holger Steinhaus
2ce2d26d52
UAVCAN: preserve original UAVCAN message timestamps
2014-11-18 14:58:04 +01:00
Holger Steinhaus
e026324784
UAVCAN: fix mag report timestamp
2014-11-13 16:58:41 +01:00
Holger Steinhaus
16d74e3c31
UACVAN: add read()-style interface to mag device
2014-11-13 16:17:35 +01:00
Holger Steinhaus
0fa622f22b
UAVCAN: declare mag external again to allow different rotation than the internal mag
2014-11-13 16:17:35 +01:00