Commit Graph

238 Commits

Author SHA1 Message Date
Daniel Agar 26bb2fd22f capitalize param values 2016-03-25 20:38:08 -04:00
Daniel Agar 6888545037 remove @unit enum 2016-03-25 20:33:25 -04:00
Julian Oes c152f88f7f uavcan: fix after calibration refactor 2016-03-24 13:08:30 +01:00
Daniel Agar 8f80b210b6 uavcan param @unit 2016-03-14 09:12:34 +01:00
Pavel Kirienko 11a31d5ecb ESC command transfer priority assigned a high value. This change is not directly related to the current PR, but this change seems minor enough to be pulled in with it. 2016-03-14 09:07:46 +01:00
Pavel Kirienko 1a64b5fa01 Assigned a low transfer priority value for hardpoint commands 2016-03-14 09:07:46 +01:00
Pavel Kirienko 8fd05e81b7 Fixed string literals after autoformatting (astyle is stupid) 2016-03-14 09:07:46 +01:00
Pavel Kirienko 6c3af77937 Fixed hardpoint controller initialization 2016-03-14 09:07:46 +01:00
Pavel Kirienko 1b75da8103 UAVCAN better usage help 2016-03-14 09:07:46 +01:00
Pavel Kirienko 1ac88ec034 Improved hardpoint command handling 2016-03-14 09:07:46 +01:00
Pavel Kirienko 7b83e828b8 UAVCAN hardpoint driver: fixed mutex lock/unlock 2016-03-14 09:07:46 +01:00
blah 6a06c59c09 more cleanup 2016-03-14 09:07:46 +01:00
blah 5e596df859 fixed mutex in hardpoint_controler_set() 2016-03-14 09:07:46 +01:00
blah 39fc9c7761 clean up.... 2016-03-14 09:07:46 +01:00
blah ef7e11e56c more format fixing... 2016-03-14 09:07:46 +01:00
blah 1188aa138c Fixed formating and cleanup 2016-03-14 09:07:46 +01:00
blah 147606a399 moved function defenition 2016-03-14 09:07:46 +01:00
blah 7d079d1dd7 added/fixed more checking on hardpoint set command for CLI 2016-03-14 09:07:46 +01:00
blah c98e236744 fixed CLI hardpoint_controller set 2016-03-14 09:07:46 +01:00
blah 8a1a9b43e0 CLI for hardpoint, set_commmand call not working 2016-03-14 09:07:46 +01:00
blah 26b7fff239 buch of error fixes for the uavcan hardpoint stuff 2016-03-14 09:07:46 +01:00
blah ecf2b56013 fix timer in hardpoint controller 2016-03-14 09:07:46 +01:00
blah 9228e420d0 IOCTL for Hardpoint controller and instantiation for UavcanHardpointController as a field of UavcanNode 2016-03-14 09:07:46 +01:00
blah fb4db49ea0 Added Hardpoint controller to UAVCAN for OpenGrab EPM support
periodic update timer is broken needs fixing
2016-03-14 09:07:46 +01:00
Holger Steinhaus 5acad450f8 uavcan module: extracted public module header for inclusion from other components
The module has some interfaces, that need to be known by external components (e.g. the IOCTL bases and device paths). These were defined in uavcan_main.hpp, which contains to much internal knowledge to be includable from other components.
2016-03-13 17:56:06 +01:00
Pavel Kirienko 1454e2acba Libuavcan update: Reduces STM32 CAN IRQ overhead with new error handling logic 2016-02-01 08:16:11 +01:00
Holger Steinhaus 1245b50ef5 fix typo 2016-01-31 14:53:04 +01:00
Holger Steinhaus 76da9ab82b Set default node id to 1, default bitrate to 1M 2016-01-29 09:19:57 +01:00
Holger Steinhaus 8d66e1c0ef Renamed shadowed variable 2016-01-29 09:06:33 +01:00
David Sidrane 5d422f5c30 Updated comments 2015-12-04 12:25:51 -10:00
David Sidrane bc89f6faef todo:Added todo for using strcat 2015-12-04 12:25:51 -10:00
David Sidrane daccfc6c40 Fixed repeated output 2015-12-04 12:25:51 -10:00
David Sidrane 31241c9b49 Fixed off-by-one errors 2015-12-04 12:25:51 -10:00
David Sidrane 31a773e3ce Use _ prefix o uavcan files in ROMFS , simplify upgrade 2015-12-04 12:25:51 -10:00
Lorenz Meier 80439989a9 UAVCAN: Initialize thread attributes correctly 2015-12-03 14:28:17 +01:00
David Sidrane 3ce6ee57e4 Set nunmber of UAVCAN interfaces on HW from top level cmake file 2015-11-30 15:44:36 -10:00
David Sidrane 32ae638974 Support GPIO_CAN2_RX not defined 2015-11-28 09:13:15 +01:00
Lorenz Meier 9f89426d5e Merge pull request #3227 from thiemar/uavcan_param_save_fix
Don't call param_opcode unless there are dirty nodes [resolves PX4/Firmware#3160]
2015-11-20 22:32:14 +01:00
Ben Dyer 442c0d47ef Fix off-by-one error in parameter count [resolves PX4/Firmware#3162] 2015-11-20 23:32:54 +11:00
Ben Dyer a27a6acb54 Don't call param_opcode unless there are dirty nodes [resolves PX4/Firmware#3160] 2015-11-20 22:29:40 +11:00
Pavel Kirienko 82b3ea2501 Removed an excessive template disambiguator in the virtual CAN driver class (fixes 3190) 2015-11-17 02:00:42 +03:00
Pavel Kirienko b95609834c Merge branch 'master' into uavcan_footprint_reduction 2015-11-12 14:49:02 +03:00
Lorenz Meier 47a20f0dd2 Allow any system to become UAVCAN controlled by setting UAVCAN_ENABLE to 3. 2015-10-28 22:55:37 +01:00
Pavel Kirienko 96a12a6027 UAVCAN extended status reporting 2015-10-26 10:19:56 +01:00
Pavel Kirienko e06c46da03 uavcan status output extended with CAN error reporting 2015-10-26 10:19:56 +01:00
Pavel Kirienko 635bfb6a7b CAN driver RX queue reduced to 21 frames per interface; poll() timeout set to 3 ms 2015-10-26 10:19:56 +01:00
Pavel Kirienko 72e651beda UAVCAN virtual iface: removed a useless class field 2015-10-26 10:19:56 +01:00
Pavel Kirienko 53ed0425da Libuavcan set to master 2015-10-26 10:19:56 +01:00
Pavel Kirienko 5b9fc2d9fa Proper termination of UAVACN server thread 2015-10-26 10:19:56 +01:00
Pavel Kirienko 9d86dbb6a1 Fixed memory leaks in the primary UAVCAN thread 2015-10-26 10:19:56 +01:00