This file contains 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
import minimalmodbus, serial | |
# Example Usage: | |
# import pydps | |
# dps = pydps.dps_psu('/dev/tty.DPS5005', 1) # port name, slave address | |
# print(dps.getModel()) | |
# print(dps.getVoltage()) | |
class dps_psu(minimalmodbus.Instrument): |
This file contains 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
#!/usr/bin/env python3 | |
import os | |
import configparser | |
from glob import glob | |
import ffmpeg | |
### INSTRUCTIONS | |
# 1. Run using processing.duration=60 and processing.frame_nums=true | |
# Duration should be long enough so that you have a fast movement, |