Skip to content
Snippets Groups Projects
Commit bf1e9413 authored by Arnaud Taffanel's avatar Arnaud Taffanel
Browse files

Fixed basiclog example

parent a56b8a03
No related branches found
No related tags found
No related merge requests found
......@@ -30,13 +30,10 @@ Simple example that connects to the first Crazyflie found, logs the Stabilizer
and prints it to the console. After 10s the application disconnects and exits.
"""
import sys
import logging
import time
from threading import Timer
sys.path.append("../src")
sys.path.append("../src/cflib")
import cflib.crtp # noqa
from cflib.crazyflie.log import LogConfig
from cflib.crazyflie import Crazyflie
......
......@@ -9,7 +9,7 @@ try:
script_dir = os.path.dirname(os.path.realpath(__file__))
root = _path.normpath(_path.join(script_dir, '../..'))
subprocess.check_call(['python3', 'setup.py', 'bdist_wheel'], cwd=root)
subprocess.check_call(['python', 'setup.py', 'bdist_wheel'], cwd=root)
print("Wheel built")
except subprocess.CalledProcessError as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment