#! /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)
Python 启动多个别的Linux应用程序
最新推荐文章于 2023-06-27 09:21:10 发布