Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gripper agent crashed when actuator controller has modbus error #841

Open
ykyohei opened this issue Mar 11, 2025 · 0 comments
Open

gripper agent crashed when actuator controller has modbus error #841

ykyohei opened this issue Mar 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ykyohei
Copy link
Contributor

ykyohei commented Mar 11, 2025

This happened in satp3 twice so far. monitor_state crashes by following error.
We can resolve controller modbus error by power cycling it. but agent doesn't need to crash.
We should be able to make agent robust against this issue.

2025-03-11T22:37:44+0000 monitor_state:4 Status is now "running".
2025-03-11T22:37:44+0000 monitor_state:4 Status is now "starting".
2025-03-11T22:37:44+0000 start called for monitor_state
2025-03-11T22:31:16+0000 monitor_state:3 Status is now "done".



]
/opt/venv/lib/python3.10/site-packages/socs/agents/hwp_gripper/agent.py:768:monitor_state
/opt/venv/lib/python3.10/site-packages/ocs/ocs_agent.py:984:_running_wrapper
/opt/venv/lib/python3.10/site-packages/twisted/python/context.py:82:callWithContext
/opt/venv/lib/python3.10/site-packages/twisted/python/context.py:117:callWithContext
/opt/venv/lib/python3.10/site-packages/twisted/python/threadpool.py:285:<lambda>
/opt/venv/lib/python3.10/site-packages/twisted/python/threadpool.py:269:inContext
2025-03-11T22:31:16+0000 monitor_state:3 CRASH: [Failure instance: Traceback: <class 'TypeError'>: unhashable type: 'dict'
@BrianJKoopman BrianJKoopman added the bug Something isn't working label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants