File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -5,20 +5,20 @@ git clone https://github.com/rosflight/mavlink.git
55# Put the rosflight.xml file there if not already there
66
77# Create the .c/h files from that directory
8- # If python3 doesn't work install Python2.7 and run with python2.7 instead.
8+ # If python3 doesn't work try installing future (pip install future).
9+ # If that doesn't work install Python2.7 and run with python2.7 instead.
910# in windows:
1011rmdir /s v1.0
11-
1212set PYTHONPATH=%PYTHONPATH%;path\to\mavlink\repo && python3 -m pymavlink.tools.mavgen --lang=C --wire-protocol=1.0 --output=./v1.0 rosflight.xml
13+
1314# e.g.,
1415rmdir /s v1.0
15-
1616set PYTHONPATH=%PYTHONPATH%;C:\Projects\mavlink && python3 -m pymavlink.tools.mavgen --lang=C --wire-protocol=1.0 --output=./v1.0 rosflight.xml
1717
18- # in linux :
18+ # in Linux :
1919sudo rm -r ./v1.0
2020PYTHONPATH=$PYTHONPATH:/path/to/mavlink/repo python3 -m pymavlink.tools.mavgen --lang=C --wire-protocol=1.0 --output=./v1.0 rosflight.xml
2121
2222# If you are in the mavlink repo environment with rosflight.xml in the standard location:
23- python3 -m pymavlink.tools.mavgen --lang=C --wire-protocol=1.0 --output=generated/include/mavlink/v1.0/generated message_definitions/v1.0/rosflight.xml
24- # copy/paste generated into your rosflight_firmware/comms/mavlink folder
23+ python3 -m pymavlink.tools.mavgen --lang=C --wire-protocol=1.0 --output=generated/include/mavlink/v1.0 message_definitions/v1.0/rosflight.xml
24+ # copy/paste the v1.0 directory into your rosflight_firmware/comms/mavlink folder
Original file line number Diff line number Diff line change @@ -7,23 +7,24 @@ git clone https://github.com/rosflight/mavlink.git
77# Put the rosflight .xml file there if not already there
88
99# Create the .c/h files from that directory
10- # If python 3 doesn ' t work install Python2.7 and run with python2.7 instead.
10+ # If python 3 doesn ' t work try installing future (pip install future).
11+ # If that doesn' t work install Python 2.7 and run with python 2.7 instead .
1112# in windows :
1213rmdir /s v 1.0
13-
1414set PYTHONPATH =%PYTHONPATH%;path\to\mavlink\repo && python 3 -m pymavlink .tools.mavgen --lang =C --wire-protocol =1.0 --output =./v1.0 rosflight .xml
15+
1516# e .g.,
1617rmdir /s v 1.0
17-
1818set PYTHONPATH =%PYTHONPATH%;C:\Projects\mavlink && python 3 -m pymavlink .tools.mavgen --lang =C --wire-protocol =1.0 --output =./v1.0 rosflight .xml
1919
20- # in linux :
20+ # in Linux :
2121sudo rm -r ./v1.0
2222PYTHONPATH=$PYTHONPATH:/path/to/mavlink/repo python 3 -m pymavlink .tools.mavgen --lang =C --wire-protocol =1.0 --output =./v1.0 rosflight .xml
2323
2424# If you are in the mavlink repo environment with rosflight .xml in the standard location :
25- python3 -m pymavlink.tools.mavgen --lang=C --wire-protocol=1.0 --output=generated/include/mavlink/v1.0/generated message_definitions/v1.0/rosflight.xml
26- # copy/paste generated into your rosflight_firmware/comms/mavlink folder?>
25+ python3 -m pymavlink .tools.mavgen --lang =C --wire-protocol =1.0 --output =generated/include/mavlink/v1.0 message _definitions/v1.0/rosflight.xml
26+ # copy /paste the v 1.0 directory into your rosflight _firmware/comms/mavlink folder
27+ ?>
2728<mavlink >
2829 <enums >
2930 <!-- ROSflight specific MAV_CMD_* commands -->
You can’t perform that action at this time.
0 commit comments