This library allows to serialize MAVLink messages in Python at an approximate speed-up of 15.8, compared to the plain Python code generated by pymavlink. These results have been acquired using an Intel Core i5-2320 CPU.
mkdir new_dir
cd new_dir
git clone https://github.com/mavlink/c_library
git clone https://github.com/PenguPilot/swig-mavlink
cd swig-mavlink
python generate.py
make
cd tests
python test.py
- Python headers
- SWIG
- GCC
- pkg-config