-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
State-Based Architecture Implementation TODO
Core State Management
- Add state synchronization configuration to
config.yamlwithsync_frequency: 100(Hz) - Add state variables to
OrcaHand.__init__():_motor_state,_joint_state,_state_lock,_state_thread,_state_running
State Synchronization Thread
- Implement
_start_state_sync()and_state_sync_loop()methods to continuously update cached motor and joint states at configurable frequency
Fast State Getters
- Modify
get_motor_pos(),get_motor_current(),get_motor_temp(), andget_joint_pos()to return cached state instead of blocking reads, and addrefresh_motor_state()for force updates
Metadata
Metadata
Assignees
Labels
No labels