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
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
eea3c801f4
UAVCAN perf counters
2015-01-21 14:54:22 +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
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
7bc9a62577
code style, warnings
2014-11-12 10:10:37 +01:00
Holger Steinhaus
0800fa4715
UAVCAN: implemented motor testing
2014-11-03 20:23:22 +01:00
Holger Steinhaus
58f36714f8
UAVCAN: allow to arm single ESCs
2014-11-03 18:51:43 +01:00
Lorenz Meier
62b98cc944
Merge pull request #1329 from hsteinhaus/uavcan_prio
...
uavcan: increased thread prio, reduces roundtrip latency by a factor of ...
2014-08-27 13:40:25 +02:00
Pavel Kirienko
eab701b896
Improved UAVCAN status reporting
2014-08-26 00:52:33 +04:00
Pavel Kirienko
701bd803ce
UAVCAN status reporting and proper termination
2014-08-24 00:20:57 +04:00
Pavel Kirienko
e9da830316
UAVCAN: initializing all bridges by default
2014-08-24 00:06:47 +04:00
Pavel Kirienko
6a8971e28f
New UAVCAN initialization logic
2014-08-23 17:31:46 +04:00
Pavel Kirienko
7132141cc4
UAVCAN: Printing all known sensor bridge names with usage info
2014-08-22 20:33:35 +04:00
Pavel Kirienko
6ebd59c633
UAVCAN: improved sensor bridge factory
2014-08-22 15:52:35 +04:00
Pavel Kirienko
54affaf633
UAVCAN sensor enable command fix
2014-08-22 13:58:05 +04:00
Pavel Kirienko
0d9f6b6e2e
UAVCAN: Refactored and generalized sensor bridge support
2014-08-22 01:52:23 +04:00
Holger Steinhaus
09a9ea87e7
uavcan: increased thread prio, reduces roundtrip latency by a factor of 5..7
2014-08-19 22:48:15 +02:00
Pavel Kirienko
33762ce861
UAVCAN ESC mixer: removed the failsafe placeholder, it's no use here
2014-08-06 12:40:07 +04:00
Anton Babushkin
5824607c76
uavcan: fix actuator groups subcriptions and poll()
2014-08-02 13:01:42 +02:00
Pavel Kirienko
9725a16352
UAVCAN: Fixed short git hash computation
2014-08-02 03:34:57 +04:00
Pavel Kirienko
87273abc9a
UAVCAN node version info
2014-08-01 00:56:44 +04:00
Lorenz Meier
2669f7f3af
Fix mixer limiter to never output min for an input of max + 1 quantum
2014-07-06 15:34:50 +02:00
Andrew Chambers
6c5e3d5341
Address Paval's comments regarding extracting matrix from uavcan msg, position covariance calculation, and _poll_fds_num
2014-07-02 19:06:30 -07:00
Andrew Chambers
29c997f0da
Fixed bug with zero-sized covariance arrays
2014-07-02 11:18:30 -07:00
Andrew Chambers
8acbe6d5b6
Added class to convert gnss message from uavcan to uorb
2014-07-01 14:08:59 -07:00
Pavel Kirienko
4edc432f39
Removed misleading comment
2014-05-09 02:24:46 +04:00
Pavel Kirienko
8501158427
Micro optimization in UAVCAN polling loop
2014-05-09 02:23:52 +04:00
Pavel Kirienko
5a90582567
Catching up with STM32 driver optimizations in libuavcan
2014-05-09 02:18:45 +04:00
Pavel Kirienko
c697aae17a
Proper IO miltiplexing libuavcan + ORB
2014-05-08 23:34:23 +04:00
Pavel Kirienko
4a98dae227
UAVCAN ESC controller - proof of concept state
2014-05-08 19:42:20 +04:00
Pavel Kirienko
f4c28473f9
Warning fixes
2014-05-08 17:12:05 +04:00
Lorenz Meier
f70db56e90
UAVCAN: Fix start / stop commands
2014-05-08 14:14:52 +02:00
Lorenz Meier
185c95fda6
UAVCAN: improve printing, ready for full closed loop test
2014-05-08 13:57:23 +02:00
Lorenz Meier
517f2df0d1
UAVCAN: Fixed all compile errors
2014-05-08 13:31:05 +02:00
Lorenz Meier
d62f3b8aa7
Added mixing code, not complete, not compiliing
2014-05-08 09:14:23 +02:00
Lorenz Meier
ab5e76e3d9
Fixed printing of bit rate
2014-05-07 15:03:08 +02:00
Lorenz Meier
973b193261
Fixed comments and code style of UAVCAN node
2014-05-07 14:29:30 +02:00
Pavel Kirienko
4b11145797
Working UAVCAN node. No application logic is implemented yet; the node just publishes its status once a second (uavcan.protocol.NodeStatus) and responds to basic services (transport stats, node discovery)
2014-05-07 13:42:34 +04:00
Pavel Kirienko
5716dad25d
Added workaround for hardware issue on Pixhawk v1
2014-05-06 20:14:07 +04:00
Pavel Kirienko
7813566e66
Initial UAVCAN integration. The library compiles successfully, CAN driver appears to be working properly. There is one hardcoded path in the module makefile that needs to be fixed; plus the compilation will likely fail unless arch/math.h contains log2l()
2014-05-06 19:30:45 +04:00