Skip to content

Latest commit

 

History

History
 
 

pb_plugins

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Autogenerator for the MAVSDK

Install instructions

pip install -r requirements.txt
pip install -e .

How to use it

export TEMPLATE_PATH="$(pwd)/templates/swift"
protoc --plugin=protoc-gen-custom=$(which protoc-gen-mavsdk) \
        -I../protos \
        --custom_out=. \
        --custom_opt="file_ext=swift,template_path=${TEMPLATE_PATH}" \
        ../protos/action/action.proto