Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Created hwp gripper agent * Updates from comments * Removed unused import * Uncommented input decorators * Protect local src imports when building docs * Fix permissions on Dockerfile * Added and modified files to account for the change in gripper control scheme. Agent interfaces with a beaglebone microcontroller to perform functions. File src/gripper_server.py and files located in the pru/ directory will be moved to the beaglebone home directory. During operation two beaglebone processes will be ongoing. One process in the "src" directory "python3 gripper_server.py" and one process in the "pru" directory "sudo ./run.sh". The "src" process sets up a server to receive control commands from the agent. The "pru" process continually sends the agent encoder and limit switch data packets. The compiled code is included along with the uncompiled C code. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Changes to make the agent work in the SAT1 setup. Still WIP * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added energency shutdown functionality by interfacing with the supervisor agent. Rearranged structure of agent processes to better utilize the OCS framework. Added two files in the pru directory which were accidentally missing. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * removed files unrelated to OCS and moved them into the "simonsobs/sobonelib" repository * Changes for socs update compatibility * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * small change * Remove dockerfile * Removed unused imports and variables * Added hwp_gripper.rst file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * removed more unused imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Moved control commands from agent.py into drivers/gripper_client.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added additional comments to explain the purpose of certain variables * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix syntax error * Fix Gripper docs page builds * Mock supervisor agent imports for docs builds * Add hwp gripper agent to docs index * Changed shutdown procedure to account for changes in supervisor agent * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added additional limit switch functionality and renamed method `grip_mode` to `grip_is_cold` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Simple changes in response to PR * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * minor changes and renames * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Changed communication from UDP to TCP and improved logging messages sent to agent * Combined function of GripperBuilder.py and GripperCollector.py into single file gripper_collector.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * updated hwp_gripper.rst * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Moved pru packet collection out of the gripper agent and added additional functions to query actuator positions and limit states * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * cleanup gripper agent and make compatible with PRU monitor * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Changes to get gripper agent working on sat1 * Changed name of gripper class and fixed typo in supervisor monitor * Modified shutdown procedure and increased command timeout * Added monitoring of the bias power supply iboot bar * Disabled emergency grip procedure. Removed no data shutdown trigger. Added exception handling to state monitor * fixed typo * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * misc gripper agent updates * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added example session data, and fixed spelling mistakes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added session.data description and changed structure of iboot outlet setting * trying to fix unit test * still trying to fix unit test * still trying to fix unit test * still trying to fix unit test * Remove other hwp_supervisor mock * still trying to fix unit test * still trying to fix unit test * still trying to fix unit test * still trying to fix unit test --------- Co-authored-by: Charles Hill <charles.a.hill01@gmail.com> Co-authored-by: Brian Koopman <brian.koopman@yale.edu> Co-authored-by: Bryce Bixler <bbixler@ucsd.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kevin Crowley <ktcrowley@daq-dev.simonsobs.org> Co-authored-by: Kevin Crowley <ktcrowley@daq-satp1.simonsobs.org> Co-authored-by: Bryce Bixler <bbixler@daq-satp1.simonsobs.org>
- Loading branch information