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
Holger Steinhaus
4d489ef7f4
UAVCAN: improve mag compatibility
2014-11-13 16:17:35 +01:00
Lorenz Meier
d9989962a9
Update motor test tool
2014-11-13 10:31:16 +01:00
Holger Steinhaus
7bc9a62577
code style, warnings
2014-11-12 10:10:37 +01:00
Holger Steinhaus
50b410664f
UAVCAN: set bus number part of device_id to zero
2014-11-11 17:04:28 +01:00
Holger Steinhaus
51ffb887c3
UAVCAN: initialize device id for mag and baro to allow DEVIOCGDEVICEID ioctl to return useful data
2014-11-11 11:29:35 +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
Pavel Kirienko
f9856c6228
ESC status - supporting negative RPM
2014-10-15 13:48:55 +04:00
Pavel Kirienko
ecd144b8b4
Publishing esc_setpoint_raw from the UAVCAN driver
2014-10-13 17:07:14 +04:00
Pavel Kirienko
1bf4270e3e
Update ORB topic 'esc_status'
2014-10-13 17:01:34 +04:00
Pavel Kirienko
e5a77a638a
ESC status feedback
2014-10-12 20:56:45 +04:00
Pavel Kirienko
ced75deebe
ESC scaling fix
2014-10-12 15:34:28 +04:00
Pavel Kirienko
1d038eed04
UAVCAN: GNSS fix message update
2014-09-03 22:44:16 +04:00
Pavel Kirienko
580b726536
UAVCAN: missing declaration warning fix
2014-08-29 14:34:29 +04: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
3866b5a5fe
Resource leak fix
2014-08-24 03:02:52 +04:00
Pavel Kirienko
701bd803ce
UAVCAN status reporting and proper termination
2014-08-24 00:20:57 +04:00