mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-24 15:10:35 +08:00
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
UAVCAN - CAN bus for UAV
|
|
======
|
|
|
|
[](https://scan.coverity.com/projects/1513)
|
|
|
|
Reference implementation of the [UAVCAN protocol stack](http://uavcan.org/).
|
|
|
|
## Documentation
|
|
|
|
* [UAVCAN specification](http://uavcan.org/UAVCAN_specification)
|
|
* [Libuavcan overview](http://uavcan.org/Libuavcan)
|
|
* [List of platforms officially supported by libuavcan](http://uavcan.org/List_of_platforms_officially_supported_by_libuavcan)
|
|
* [Libuavcan tutorials](http://uavcan.org/Libuavcan_tutorials)
|
|
|
|
## Library development
|
|
|
|
Despite the fact that the library itself can be used on virtually any platform that has a standard-compliant C++03 or C++11 compiler, the library development process assumes that the host OS is Linux.
|
|
|
|
Prerequisites:
|
|
|
|
* Google test library for C++ - gtest
|
|
* Static analysis tool for C++ - cppcheck
|
|
* C++03 *and* C++11 capable compiler with GCC-like interface (e.g. GCC, Clang)
|
|
* CMake 2.8+
|
|
|
|
Building the debug version, running the unit tests and the static analyzer:
|
|
```bash
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
|
make # This may take a lot of time to build multiple versions and run all tests
|
|
```
|