mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 22:53:34 +08:00
Added a README explaining what's going on
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
High-level protocol logic
|
||||
=========================
|
||||
|
||||
Classes defined in this directory implement some high-level functions of UAVCAN.
|
||||
|
||||
Since most applications won't use all of them at the same time, their definitions are provided right in the header
|
||||
files rather than in source files, in order to not pollute the build outputs with unused code (which is also a
|
||||
requirement for most safety-critical software).
|
||||
|
||||
However, some of the high-level functions that are either always used by the library itself or those that are extremely
|
||||
likely to be used by the application are defined in .cpp files.
|
||||
|
||||
When adding a new class here, please think twice before putting its definition into a .cpp file.
|
||||
Reference in New Issue
Block a user