Beat Küng
4bcf2cdb52
uavcan: fix initialization of std::array
...
in C++11, double braces are needed for std::array aggregate initialization,
or assignment with =.
see: http://en.cppreference.com/w/cpp/container/array
2016-11-04 16:41:13 +01:00
Pavel Kirienko
3a332bb11a
Printing all online nodes within UAVCAN status output. This feature increased memory footprint by about 150 bytes.
2016-10-23 15:26:10 +02:00
Pavel Kirienko
2fad9a6397
ESC status: printing temperature in Celsius
2016-08-18 17:14:53 +02:00
Pavel Kirienko
e27d3f4e13
Added new configuration parameter UAVCAN_ESC_IDLT.
...
This parameter, when enabled, enforces that the UAVCAN ESC driver never outputs zero throttle
while the system is armed. This feature is disabled by default, so the change will not break
the experience of current users.
2016-08-18 17:14:53 +02:00
Pavel Kirienko
ef343dc452
STM32 CAN driver moved from .data to heap; partially resolves #4677 ( #4681 )
2016-05-29 13:54:45 +02:00
Lorenz Meier
7398164fcc
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
2016-05-28 14:56:17 +02:00
Pavel Kirienko
a268845f1d
Cleaned up UAVCAN ioctl codes
2016-05-17 08:56:02 +02:00
Holger Steinhaus
59ee9ea1ae
uavcan: add IOCTL interface for queryiung node discovery progress
2016-04-17 16:06:09 +02:00
Holger Steinhaus
0ddf720759
uavcan: fix shadowed variable
2016-04-08 22:36:59 -07: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
5e596df859
fixed mutex in hardpoint_controler_set()
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
9228e420d0
IOCTL for Hardpoint controller and instantiation for UavcanHardpointController as a field of UavcanNode
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
Holger Steinhaus
76da9ab82b
Set default node id to 1, default bitrate to 1M
2016-01-29 09:19:57 +01:00
David Sidrane
32ae638974
Support GPIO_CAN2_RX not defined
2015-11-28 09:13:15 +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
9d86dbb6a1
Fixed memory leaks in the primary UAVCAN thread
2015-10-26 10:19:56 +01:00
Pavel Kirienko
109bee855b
Node on leaked memory in UAVCAN driver
2015-10-26 10:19:56 +01:00
Pavel Kirienko
ca4e55fec3
UAVCAN allocator as a dedicated type; reporting a warning if memory leak is deetcted upon destruction
2015-10-26 10:19:56 +01:00
Pavel Kirienko
a570d1de7d
UAVCAN memory usage status and shrink
2015-10-26 10:19:56 +01:00
Pavel Kirienko
407191d4ab
UAVCAN driver transformed to use global memory pool
2015-10-26 10:19:56 +01:00
Lorenz Meier
e96f4e1944
FMUv1: Fix CAN compilation
2015-10-11 14:06:43 +02:00
Lorenz Meier
0da9b4d715
Merge branch 'master' of github.com:PX4/Firmware into cmake-2
2015-09-23 21:17:15 +02:00
David Sidrane
8eaf213edd
Update uavcan_main.cpp
2015-09-23 05:32:14 -10:00
David Sidrane
2a36067cc7
Added reset to usage
2015-09-23 04:18:40 -10:00
David Sidrane
1996d2b55a
Uavcan parameter and reset command line operations
2015-09-23 04:07:42 -10:00
David Sidrane
d69be4b554
Added UAVCAN Time Synchronization Master capabilities to FMU
2015-09-23 03:53:49 -10:00
Lorenz Meier
f37f8fb977
UAVCAN: Move to semaphore abstraction
2015-09-20 00:30:12 +02:00
Pavel Kirienko
8d67483d18
UAVCAN: using only primary interface for servers
2015-08-23 21:28:47 +03:00
Lorenz Meier
21d1b4ba2e
Merged beta into master
2015-08-22 14:06:01 +02:00
Mark Charlebois
a589d15c52
Refactored debug() and log() in CDev
...
These functions used vprintf which is not available on all platforms.
They also do not enable line and file debug output.
Changed to macros that preserve the output format. Uses new macro that
can be used to implement per object, runtime selectable logging
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-08-11 12:07:06 -07: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
d6c2dd997b
Conditional inclusion of the Node Allocation and FW Server - default is OFF
2015-06-17 06:21:28 -10: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
David Sidrane
2d796f408d
Ran Astyle
2015-06-04 03:27:40 -10:00
David Sidrane
6155a1557f
Changes to build on latest uavcan master with FW upload and Node ID allocation
2015-06-04 02:37:59 -10:00
Lorenz Meier
b980e34c3c
Update uavcan app for generated actuator_outputs topic
2015-05-27 15:21:31 -07:00