Skip to content

Commit

Permalink
tools: install dependencies for pymavlink
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Nov 8, 2022
1 parent 4ae5463 commit e95099e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/generate_mavlink_headers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ OUTPUT_PATH="$MAVLINK_HEADERS_PATH/include/mavlink/v2.0/"
mkdir -p "$OUTPUT_PATH"
OUTPUT_PATH=$(realpath $OUTPUT_PATH)

echo "Installing dependencies"
(cd $MAVLINK_PATH && \
python3 \
-m pip install -r pymavlink/requirements.txt)

echo "Generating headers"
(cd $MAVLINK_PATH && \
python3 \
-m pymavlink.tools.mavgen \
Expand Down

0 comments on commit e95099e

Please sign in to comment.