Commit Graph
20 Commits
Author SHA1 Message Date
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
Lorenz Meier e07731de7a Move esc_status to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier 4565f57468 Merged release_v1.0.0 into master 2015-05-27 15:28:41 -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
Pavel Kirienko ae0e2d7209 Removing extra UAVCAN perfcounters 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
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
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
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 0d9f6b6e2e UAVCAN: Refactored and generalized sensor bridge support 2014-08-22 01:52:23 +04:00