#! /usr/bin/python

import os
import thread
import time

def cam():
	os.system("qcamvid -c optic -r vga -t 10")
def sensor():
	os.system("/home/linaro/file/imu/flight_controller/krait/apps/sensor_imu_tester 10")
thread.start_new_thread(cam,())
thread.start_new_thread(sensor,())
time.sleep(10)

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐