How can I have set_shutter enable and disable in two different files #611
Labels
feedback requested
Further information is requested
python sdk
Python SDK
question
A discussion / question. Not sure if bug or enhancement.
When I have the following in one file such as test.py
The gopro functions fine, start shooting and wait for 5 seconds stop shooting.
await gopro.http_command.set_shutter(shutter=Params.Toggle.ENABLE)
await asyncio.sleep(5)
await gopro.http_command.set_shutter(shutter=Params.Toggle.DISABLE)
But here comes the problem, if I put shutter enable in one file and shutter disable in another file, such as start.py and stop.py
so that I can control the shooting period only stops when I call stop.py
start.py works fine makes the gopro start shooting, but when I call stop.py gopro will not stop shooting, lookings the this file is waiting for a task to finish then starts to run.
Can someone help me out and give me a guide, thanks
The text was updated successfully, but these errors were encountered: