3 echo Removing old library...
11 echo Downloading or updating MAVLink sources...
13 if exist mavlink-src\.git\ (
16 git checkout origin/master
19 git clone https://github.com/mavlink/mavlink.git --recursive mavlink-src
22 set PYTHONPATH=%CD%\mavlink-src
24 echo Running MAVLink generator...
25 python -m pymavlink.tools.mavgen --lang=C --wire-protocol=2.0 --output=. mavlink-src/message_definitions/v1.0/common.xml --no-validate