simonsobs / socs

Simons Observatory specific OCS agents.
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

New Agent: wiregrid_tiltsensor agent #660

Open d-hoshino2626 opened 2 months ago

d-hoshino2626 commented 2 months ago

Description

This pull request contains agent and several driver codes to handle wiregrid tilt sensors. There are two types of tilt sensors, so two drivers are contained.

New Agent: wiregrid_tiltsensor This agent records the data sent by tilt sensor via a serial-to-ethernet converter. New drivers: dwl.py: The driver to communicate DWL5000XY tilt sensor sherborne.py: The driver to communicate with sherborne tilt sensor

Motivation and Context

Add this agent to the main branch.

How Has This Been Tested?

This agent has been tested in a test bench of wire grid at Kyoto University only with DWL tilt sensor via USB. The test with sherborne tilt sensor has not performed yet. Also, the test with a serial-to-ethernet converter (the same condition as at site) has not performed yet.

Types of changes

Checklist:

d-hoshino2626 commented 1 month ago

Thank you for reviewing, Brian! Your review is very helpful for me. I modified some codes according to your review and I added docs about this agent. If you have any question or request, please let me know freely.