Created
December 3, 2019 17:05
-
-
Save khancyr/6a8a4a50595d4c4d2869b4733c9a7216 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try: | |
| from pymavlink import mavextra | |
| except ImportError: | |
| # get path to pymavlink in module directory | |
| pymavlink_relative_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../modules/mavlink/pymavlink') | |
| sys.path.append(pymavlink_relative_path) | |
| import mavextra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment